ktimer-vl.spec 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. Name: ktimer
  2. Summary: The timer application for KDE
  3. Summary(ja): KDE用時刻アプリケーション
  4. Version: 4.14.3
  5. Release: 2%{?_dist_release}
  6. License: GPLv2
  7. Group: Applications/Accessories
  8. URL: https://www.kde.org/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs-devel >= %{version}
  12. BuildRequires: soprano-devel
  13. # when split occurred
  14. Conflicts: kdeutils < 4.8.0
  15. Vendor: Project Vine
  16. Distribution: Vine Linux
  17. %description
  18. KTimer allows you to enter several tasks and to set a timer for each
  19. of them. When the timer reaches zero, the task is executed. The timers
  20. for each task can be started, stopped, changed, or looped.
  21. %prep
  22. %setup -q
  23. %build
  24. mkdir -p %{_target_platform}
  25. pushd %{_target_platform}
  26. %cmake \
  27. -DCMAKE_BUILD_TYPE=release \
  28. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  29. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  30. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  31. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  32. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  33. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  34. ..
  35. popd
  36. make %{?_smp_mflags} -C %{_target_platform}
  37. %install
  38. rm -rf %{buildroot}
  39. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  40. %post
  41. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  42. %posttrans
  43. update-desktop-database -q &> /dev/null ||:
  44. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  45. %postun
  46. if [ $1 -eq 0 ] ; then
  47. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  48. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  49. update-desktop-database -q &> /dev/null ||:
  50. fi
  51. %files
  52. %doc COPYING
  53. %{_bindir}/%{name}
  54. %{_datadir}/applications/kde4/%{name}.desktop
  55. %{_datadir}/icons/hicolor/*/*/*
  56. %{_docdir}/HTML/en/%{name}
  57. %changelog
  58. * Fri Jul 08 2016 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-2
  59. - rebuild with gcc-5.4.0
  60. * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  61. - initila build