kremotecontrol-vl.spec 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. Name: kremotecontrol
  2. Summary: Remote control utility for KDE
  3. Summary(ja): KDE用リモート・コントロールユーティリティー
  4. Version: 4.14.3
  5. Release: 1%{?_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. This module allows you to configure your remote controls.
  19. You can assign actions that are executed on button presses.
  20. Actions can start applications, control them or execute
  21. system commands, such as powering off your computer.
  22. %prep
  23. %setup -q
  24. %build
  25. mkdir -p %{_target_platform}
  26. pushd %{_target_platform}
  27. %cmake \
  28. -DCMAKE_BUILD_TYPE=release \
  29. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  30. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  31. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  32. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  33. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  34. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  35. ..
  36. popd
  37. make %{?_smp_mflags} -C %{_target_platform}
  38. %install
  39. rm -rf %{buildroot}
  40. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  41. %post
  42. /sbin/ldconfig
  43. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  44. %posttrans
  45. update-desktop-database -q &> /dev/null ||:
  46. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  47. %postun
  48. if [ $1 -eq 0 ] ; then
  49. /sbin/ldconfig
  50. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  51. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  52. update-desktop-database -q &> /dev/null ||:
  53. fi
  54. %files
  55. %doc COPYING COPYING.LIB README
  56. %{_bindir}/krcdnotifieritem
  57. %{_libdir}/liblibkremotecontrol.so.*
  58. %{_libdir}/kde4/*.so
  59. %{_datadir}/applications/kde4/krcdnotifieritem.desktop
  60. %{_datadir}/icons/hicolor/*/*/*
  61. %{_datadir}/kde4/apps/%{name}
  62. %{_datadir}/kde4/apps/%{name}daemon/
  63. %{_datadir}/kde4/services/*.desktop
  64. %{_datadir}/kde4/services/kded/kremotecontroldaemon.desktop
  65. %{_datadir}/kde4/services/kremotecontrolbackends/kremotecontrol_lirc.desktop
  66. %{_datadir}/kde4/servicetypes/*.desktop
  67. %{_docdir}/HTML/en/kcontrol
  68. %exclude %{_libdir}/liblibkremotecontrol.so
  69. %changelog
  70. * Fri Jan 02 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.14.3-1
  71. - initila build