From 131d7b48dc25a688dda845b5b4eeed108867a0c1 Mon Sep 17 00:00:00 2001 From: Martin Briza Date: Aug 27 2013 15:30:42 +0000 Subject: Initial push --- diff --git a/.gitignore b/.gitignore index e69de29..a4b583c 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/amor-4.11.0.tar.xz diff --git a/amor.spec b/amor.spec new file mode 100644 index 0000000..c37a190 --- /dev/null +++ b/amor.spec @@ -0,0 +1,70 @@ +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 + +%check +desktop-file-validate %{buildroot}/%{_kde4_datadir}/applications/kde4/%{name}.desktop + +%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 diff --git a/sources b/sources index e69de29..40eca08 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +a24ae5cbb4c40257489509c2b1c40ba8 amor-4.11.0.tar.xz