ktux-vl.spec 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. Name: ktux
  2. Summary: Tux-in-a-Spaceship screen save
  3. Version: 4.14.3
  4. Release: 1%{?_dist_release}
  5. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. URL: http://www.kde.org/
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs-devel >= %{version}
  11. BuildRequires: kdebase-workspace-devel >= 4.11.6
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. %{summary}
  17. %prep
  18. %setup -q
  19. %build
  20. mkdir -p %{_target_platform}
  21. pushd %{_target_platform}
  22. %cmake \
  23. -DCMAKE_BUILD_TYPE=release \
  24. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  25. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  26. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  27. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  28. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  29. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  30. ..
  31. popd
  32. make %{?_smp_mflags} -C %{_target_platform}
  33. %install
  34. rm -rf $RPM_BUILD_ROOT
  35. make install/fast DESTDIR=$RPM_BUILD_ROOT -C %{_target_platform}
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %post
  39. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  40. %posttrans
  41. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  42. %postun
  43. if [ $1 -eq 0 ] ; then
  44. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  45. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  46. fi
  47. %files
  48. %defattr(-,root,root,-)
  49. %doc AUTHORS COPYING
  50. %{_bindir}/%{name}
  51. %{_datadir}/icons/hicolor/*/*/*
  52. %{_datadir}/kde4/apps/%{name}
  53. %{_datadir}/kde4/services/ScreenSavers/%{name}.desktop
  54. %changelog
  55. * Thu Jan 01 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  56. - new upstream release
  57. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  58. - new upstream release
  59. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  60. - new upstream release
  61. * Sun Dec 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  62. - new upstream release
  63. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  64. - initial build