Group :: Development/Other
RPM: libtweeny
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Name: libtweeny
Version: 3.1.1
Release: alt1.1
Summary: An inbetweening library for complex animations (C++)
Group: Development/Other
License: MIT
Url: https://github.com/mobius3/tweeny/tree/2/cmake
Source: %name-%version.tar
Patch: %name-%version-alt.patch
BuildRequires: cmake gcc-c++ doxygen
%description
Tweeny is an inbetweening library designed for the creation of complex animations for games and other beautiful interactive software. It leverages features of modern C++ to empower developers with an intuitive API for declaring tweenings of any type of value, as long as they support arithmetic operations.
The goal of Tweeny is to provide means to create fluid interpolations when animating position, scale, rotation, frames or other values of screen objects, by setting their values as the tween starting point and then, after each tween step, plugging back the result.
%package devel
Summary: Development files for %name
Group: Development/Other
%description devel
The %name-devel package contains C++ header files for developing
applications that use %name.
%prep
%setup
%patch -p1
%build
%cmake -DTWEENY_BUILD_DOCUMENTATION=1 \
-DDOC_INSTALL_DIR:PATH=%_datadir/doc/%name-devel-%version
%cmake_build
%install
%cmake_install
cd %_cmake__builddir
rm -fv doc/man/man3/_usr_src_RPM_BUILD*
mv doc/man/man3/tweeny_tween_\ T\ _.3 \
doc/man/man3/tweeny_tween_T_.3
for f in doc/man/man3/*.3; do \
install -D -m0644 $f %buildroot%_man3dir/${f##*/}; \
done
cd -
install -D -m0644 README.md %buildroot%_datadir/doc/%name-devel-%version/README.md
install -D -m0644 LICENSE %buildroot%_datadir/doc/%name-devel-%version/LICENSE
%files devel
%_includedir/tweeny
%_libdir/cmake/Tweeny
%_man3dir/*.3.*
%_datadir/doc/%name-devel-%version
%changelog
…
Full changelog you can see here
Version: 3.1.1
Release: alt1.1
Summary: An inbetweening library for complex animations (C++)
Group: Development/Other
License: MIT
Url: https://github.com/mobius3/tweeny/tree/2/cmake
Source: %name-%version.tar
Patch: %name-%version-alt.patch
BuildRequires: cmake gcc-c++ doxygen
%description
Tweeny is an inbetweening library designed for the creation of complex animations for games and other beautiful interactive software. It leverages features of modern C++ to empower developers with an intuitive API for declaring tweenings of any type of value, as long as they support arithmetic operations.
The goal of Tweeny is to provide means to create fluid interpolations when animating position, scale, rotation, frames or other values of screen objects, by setting their values as the tween starting point and then, after each tween step, plugging back the result.
%package devel
Summary: Development files for %name
Group: Development/Other
%description devel
The %name-devel package contains C++ header files for developing
applications that use %name.
%prep
%setup
%patch -p1
%build
%cmake -DTWEENY_BUILD_DOCUMENTATION=1 \
-DDOC_INSTALL_DIR:PATH=%_datadir/doc/%name-devel-%version
%cmake_build
%install
%cmake_install
cd %_cmake__builddir
rm -fv doc/man/man3/_usr_src_RPM_BUILD*
mv doc/man/man3/tweeny_tween_\ T\ _.3 \
doc/man/man3/tweeny_tween_T_.3
for f in doc/man/man3/*.3; do \
install -D -m0644 $f %buildroot%_man3dir/${f##*/}; \
done
cd -
install -D -m0644 README.md %buildroot%_datadir/doc/%name-devel-%version/README.md
install -D -m0644 LICENSE %buildroot%_datadir/doc/%name-devel-%version/LICENSE
%files devel
%_includedir/tweeny
%_libdir/cmake/Tweeny
%_man3dir/*.3.*
%_datadir/doc/%name-devel-%version
%changelog
…
Full changelog you can see here