remmina-vl.spec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Summary: Remote Desktop Connection utility for GNOME
  2. Summary(ja): GNOME 用リモートデスクトップ接続ユーティリティ
  3. Name: remmina
  4. Version: 0.9.3
  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: glib2-devel
  14. BuildRequires: intltool
  15. BuildRequires: gtk2-devel
  16. BuildRequires: libgcrypt-devel
  17. BuildRequires: libssh-devel
  18. BuildRequires: avahi-ui-devel
  19. BuildRequires: vte-devel
  20. BuildRequires: unique-devel
  21. BuildRequires: desktop-file-utils
  22. Obsoletes: grdc < 0.7.0
  23. Provides: grdc = %{version}
  24. %description
  25. Grdc is a remote desktop connection client that can view and control a
  26. desktop session running on another system. It can connect to a VNC platform
  27. (using libvncserver0) as well windows terminal servers (with rdesktop).
  28. %package devel
  29. Summary: Development tools for remmina
  30. Summary(ja): remmina の開発環境
  31. Group: Development/Libraries
  32. Requires: %{name} = %{version}-%{release}
  33. Requires: pkgconfig
  34. %description devel
  35. Header files and libraries for building a extension library for the
  36. remmina.
  37. %prep
  38. %setup -q
  39. #%patch10 -p1
  40. #cp -f %{SOURCE10} po/ja.po
  41. %build
  42. autoreconf -f -i
  43. %configure
  44. %__make %{?_smp_mflags}
  45. %install
  46. rm -rf $RPM_BUILD_ROOT
  47. %__make DESTDIR=$RPM_BUILD_ROOT install
  48. desktop-file-install --vendor="" \
  49. --add-category="RemoteAccess" \
  50. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  51. $RPM_BUILD_ROOT%{_datadir}/applications/*
  52. %find_lang %name
  53. %clean
  54. rm -rf $RPM_BUILD_ROOT
  55. %post
  56. update-desktop-database -q
  57. touch --no-create %{_datadir}/icons/hicolor
  58. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  59. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  60. fi
  61. %postun
  62. update-desktop-database -q
  63. touch --no-create %{_datadir}/icons/hicolor
  64. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  65. gtk-update-icon-cache -q %{_datadir}/icons/hicolor
  66. fi
  67. %files -f %name.lang
  68. %defattr(-,root,root)
  69. %doc ChangeLog NEWS README AUTHORS COPYING
  70. %{_bindir}/%{name}
  71. %dir %{_datadir}/%{name}
  72. %{_datadir}/%{name}/icons/hicolor
  73. %{_datadir}/icons/hicolor/*/apps/*
  74. %{_datadir}/applications/*.desktop
  75. %files devel
  76. %defattr(-,root,root)
  77. %{_includedir}/%{name}/*.h
  78. %changelog
  79. * Thu Aug 18 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.9.3-1
  80. - new upstream release
  81. - add BuildRequires: avahi-ui-devel, vte-devel, unique-devel, desktop-file-utils
  82. - create devel sub package
  83. * Wed Mar 17 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 0.7.4-1
  84. - new upstream release with new name 'remmina'
  85. - add Obsoletes/Provides: grdc
  86. * Tue Sep 15 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 0.6.0-1
  87. - initial build for Vine Linux
  88. * Tue Jul 07 2009 slick50 <lxgator@gmail.com> 0.6.0-1pclos2009
  89. - new version 0.6.0
  90. * Sun May 17 2009 don_crissti <don_crissti@gmx.com> 0.5.1-1pclos2009
  91. - build for PCLOS