[7801] | 1 | Name: amor |
---|
| 2 | Summary: Desktop mascot for KDE |
---|
[8056] | 3 | Version: 4.11.4 |
---|
[7801] | 4 | Release: 1%{?_dist_release} |
---|
| 5 | |
---|
| 6 | Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz |
---|
| 7 | |
---|
| 8 | License: GPLv2 |
---|
| 9 | Group: Applications/Accessories |
---|
| 10 | URL: http://www.kde.org/ |
---|
| 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | |
---|
| 14 | BuildRequires: desktop-file-utils |
---|
| 15 | BuildRequires: kdelibs-devel >= %{version} |
---|
| 16 | |
---|
| 17 | Requires(posttrans,postun): desktop-file-utils |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: Takemikaduchi |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | Amor is an acronym which stands for Amusing Misuse of Resources. |
---|
| 26 | It is actually an animation which sits on top of your active window. |
---|
| 27 | In its default configuration, amor takes the form of a yellow spot |
---|
| 28 | which performs many tricks. Amor also has many different themes |
---|
| 29 | which change the appearance and behavior of the animation. |
---|
| 30 | |
---|
| 31 | %prep |
---|
| 32 | %setup -q |
---|
| 33 | |
---|
| 34 | %build |
---|
| 35 | mkdir -p %{_target_platform} |
---|
| 36 | pushd %{_target_platform} |
---|
| 37 | %cmake \ |
---|
| 38 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 39 | -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \ |
---|
| 40 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 41 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 42 | -DLIB_INSTALL_DIR:PATH=%{_libdir} \ |
---|
| 43 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 44 | -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \ |
---|
| 45 | .. |
---|
| 46 | popd |
---|
| 47 | |
---|
| 48 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 49 | |
---|
| 50 | %install |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform} |
---|
| 53 | |
---|
| 54 | %clean |
---|
| 55 | rm -rf $RPM_BUILD_ROOT |
---|
| 56 | |
---|
| 57 | %post |
---|
| 58 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 59 | |
---|
| 60 | %posttrans |
---|
| 61 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 62 | update-desktop-database -q &> /dev/null ||: |
---|
| 63 | |
---|
| 64 | %postun |
---|
| 65 | if [ $1 -eq 0 ] ; then |
---|
| 66 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 67 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||: |
---|
| 68 | update-desktop-database -q &> /dev/null ||: |
---|
| 69 | fi |
---|
| 70 | |
---|
| 71 | |
---|
| 72 | %files |
---|
| 73 | %defattr(-,root,root,-) |
---|
| 74 | %doc COPYING COPYING.DOC |
---|
| 75 | %{_bindir}/%{name} |
---|
| 76 | %{_datadir}/applications/kde4/%{name}.desktop |
---|
| 77 | %{_datadir}/dbus-1/interfaces/org.kde.%{name}.xml |
---|
| 78 | %{_datadir}/icons/hicolor/*/*/* |
---|
| 79 | %{_datadir}/kde4/apps/%{name} |
---|
| 80 | %{_docdir}/HTML/*/*/ |
---|
| 81 | %{_mandir}/man6/%{name}.6* |
---|
| 82 | |
---|
| 83 | %changelog |
---|
[8056] | 84 | * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1 |
---|
| 85 | - new upstream release |
---|
| 86 | |
---|
[7801] | 87 | * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1 |
---|
| 88 | - initial build |
---|
| 89 | |
---|