krdc-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. Name: krdc
  2. Summary: VNC client for KDE
  3. Summary(ja): KDE 用 VNC クライアント
  4. Version: 4.12.5
  5. Release: 1%{?_dist_release}
  6. License: GPLv2, LGPLv2
  7. Group: Applications/Internet
  8. URL: http://www.kde.org/
  9. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  10. Source1: krdc-icons.tar.bz2
  11. Patch0: krdc-4.11.1-kdrc-icon.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: desktop-file-utils
  14. BuildRequires: kdelibs-devel >= %{version}
  15. Requires(posttrans,postun): desktop-file-utils
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. krdc is a client application that allows you to view or even control
  21. the desktop session on another machine that is running a compatible
  22. servers.
  23. %package devel
  24. Summary: Development files for %{name}
  25. Group: Development/Libraries
  26. Requires: %{name} = %{version}-%{release}
  27. Requires: kdelibs-devel
  28. %description devel
  29. Development files for %{name}.
  30. %prep
  31. %setup -q -a 1
  32. %patch0 -p1 -b .icon
  33. %build
  34. mkdir -p %{_target_platform}
  35. pushd %{_target_platform}
  36. %cmake \
  37. -DCMAKE_BUILD_TYPE=release \
  38. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  39. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  40. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  41. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  42. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  43. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  44. ..
  45. popd
  46. make %{?_smp_mflags} -C %{_target_platform}
  47. %install
  48. rm -rf $RPM_BUILD_ROOT
  49. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %post
  53. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  54. %posttrans
  55. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  56. update-desktop-database -q &> /dev/null ||:
  57. %postun
  58. if [ $1 -eq 0 ] ; then
  59. touch --no-create %{_datadir}/icons/hicolor &> /dev/null ||:
  60. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null ||:
  61. update-desktop-database -q &> /dev/null ||:
  62. fi
  63. %files
  64. %defattr(-,root,root,-)
  65. %doc COPYING COPYING.DOC COPYING.LIB
  66. %{_bindir}/%{name}
  67. %{_libdir}/libkrdccore.so.*
  68. %{_libdir}/kde4/*.so
  69. %{_datadir}/applications/kde4/%{name}.desktop
  70. %{_datadir}/config.kcfg/%{name}.kcfg
  71. %{_datadir}/icons/hicolor/*/*/*
  72. %{_datadir}/kde4/apps/%{name}
  73. %{_datadir}/kde4/services/ServiceMenus/smb2rdc.desktop
  74. %{_datadir}/kde4/services/*.desktop
  75. %{_datadir}/kde4/services/*.protocol
  76. %{_datadir}/kde4/servicetypes/krdc_plugin.desktop
  77. %{_docdir}/HTML/en/%{name}
  78. %files devel
  79. %defattr(-,root,root,-)
  80. %{_includedir}/kde4/%{name}
  81. %{_libdir}/libkrdccore.so
  82. %changelog
  83. * Tue May 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.5-1
  84. - new upstream release
  85. * Sun Feb 09 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.12.2-1
  86. - new upstream release
  87. * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  88. - new upstream release
  89. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  90. - initial build