Name: amor Summary: Amusing misuse of resources Version: 4.11.0 Release: 1%{?dist} License: GPLv2+ and GFDL URL: https://projects.kde.org/projects/kde/kdetoys/amor %global revision %(echo %{version} | cut -d. -f3) %if %{revision} >= 50 %global stable unstable %else %global stable stable %endif Source0: http://download.kde.org/%{stable}/%{version}/src/%{name}-%{version}.tar.xz Requires: kde-runtime%{?_kde4_version: >= %{_kde4_version}} Conflicts: kdetoys < 7:4.10.80 Obsoletes: kdetoys < 7:4.10.80 %description Amusing Misuse of Resources animation that sits on top of the curent window. %prep %setup -q -n %{name}-%{version} %build mkdir -p %{_target_platform} pushd %{_target_platform} %{cmake_kde4} .. popd make %{?_smp_mflags} -C %{_target_platform} %install make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --all-name --with-kde --without-mo %post touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: %posttrans gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: %postun if [ $1 -eq 0 ] ; then touch --no-create %{_kde4_iconsdir}/hicolor &> /dev/null ||: gtk-update-icon-cache %{_kde4_iconsdir}/hicolor &> /dev/null ||: fi %files -f %{name}.lang %doc COPYING COPYING.DOC %{_kde4_bindir}/amor %{_kde4_appsdir}/amor/ %{_kde4_datadir}/applications/kde4/amor.desktop %{_datadir}/dbus-1/interfaces/org.kde.amor.xml %{_kde4_iconsdir}/hicolor/*/*/amor.png %{_mandir}/man6/amor.6* %changelog * Tue Aug 27 2013 Martin Briza - 4.11.0-1 - Split off from kdetoys package