remmina-vl.spec 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. Summary: Remote Desktop Connection utility for GNOME
  2. Summary(ja): GNOME 用リモートデスクトップ接続ユーティリティ
  3. Name: remmina
  4. Version: 0.7.4
  5. Release: 1%{?_dist_release}
  6. Source0: %{name}-%{version}.tar.gz
  7. Source10: remmina-0.7.4-ja.po
  8. Patch10: remmina-0.7.4-ja.patch
  9. License: GPLv2+
  10. Group: Applications/Internet
  11. URL: http://sourceforge.net/projects/grdc/
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
  13. BuildRequires: glib-devel
  14. BuildRequires: intltool
  15. BuildRequires: gtk2-devel
  16. BuildRequires: libgcrypt-devel
  17. BuildRequires: libssh-devel
  18. Obsoletes: grdc < 0.7.0
  19. Provides: grdc = %{version}
  20. %description
  21. Grdc is a remote desktop connection client that can view and control a
  22. desktop session running on another system. It can connect to a VNC platform
  23. (using libvncserver0) as well windows terminal servers (with rdesktop).
  24. %prep
  25. %setup -q
  26. %patch10 -p1
  27. cp -f %{SOURCE10} po/ja.po
  28. %build
  29. autoreconf -f -i
  30. %configure
  31. %__make %{?_smp_mflags}
  32. %install
  33. rm -rf $RPM_BUILD_ROOT
  34. %__make DESTDIR=$RPM_BUILD_ROOT install
  35. desktop-file-install --vendor="" \
  36. --add-category="RemoteAccess" \
  37. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  38. $RPM_BUILD_ROOT%{_datadir}/applications/*
  39. %find_lang %name
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %post
  43. update-desktop-database -q
  44. touch --no-create %{_datadir}/icons/hicolor
  45. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  46. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  47. fi
  48. %postun
  49. update-desktop-database -q
  50. touch --no-create %{_datadir}/icons/hicolor
  51. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  52. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  53. fi
  54. %files -f %name.lang
  55. %defattr(-,root,root)
  56. %doc ChangeLog NEWS README AUTHORS COPYING
  57. %{_bindir}/%{name}
  58. %dir %{_datadir}/%{name}
  59. %{_datadir}/%{name}/icons/hicolor
  60. %{_datadir}/icons/hicolor/*/apps/*
  61. %{_datadir}/applications/*.desktop
  62. %changelog
  63. * Wed Mar 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  64. - new upstream release with new name 'remmina'
  65. - add Obsoletes/Provides: grdc
  66. * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.0-1
  67. - initial build for Vine Linux
  68. * Tue Jul 07 2009 slick50 <lxgator@gmail.com> 0.6.0-1pclos2009
  69. - new version 0.6.0
  70. * Sun May 17 2009 don_crissti <don_crissti@gmx.com> 0.5.1-1pclos2009
  71. - build for PCLOS