vinagre-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. Summary: VNC client for the GNOME desktop
  2. Summary(ja): GNOME デスクトップ用 VNC クライアント
  3. Name: vinagre
  4. Version: 2.30.0
  5. Release: 1%{?_dist_release}
  6. Group: Applications/System
  7. License: GPLv2+
  8. URL: http://www.gnome.org/projects/vinagre/
  9. Source0: http://download.gnome.org/sources/%{name}/2.28/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk-vnc-devel >= 0.3.10
  12. BuildRequires: glib2-devel >= 2.24.0
  13. BuildRequires: gtk2-devel >= 2.20.0
  14. BuildRequires: GConf2-devel >= 2.28.0
  15. BuildRequires: avahi-ui-devel >= 0.6.22
  16. BuildRequires: avahi-gobject-devel >= 0.6.22
  17. BuildRequires: perl(XML::Parser) gettext intltool
  18. BuildRequires: desktop-file-utils
  19. BuildRequires: gnome-doc-utils
  20. BuildRequires: libgnome-keyring-devel >= 2.30.0
  21. BuildRequires: gnome-panel
  22. BuildRequires: libxml2-devel >= 2.6.31
  23. BuildRequires: vte-devel >= 0.20
  24. %description
  25. Vinagre is a VNC client for the GNOME desktop environment.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure \
  30. --disable-scrollkeeper \
  31. --disable-schemas-install \
  32. --disable-telepathy \
  33. --enable-avahi
  34. make %{?_smp_mflags}
  35. %install
  36. rm -rf $RPM_BUILD_ROOT
  37. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  38. make install DESTDIR=$RPM_BUILD_ROOT
  39. # Remove text files installed by vinagre, we install them in a versioned
  40. # directory in the files section
  41. rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre/
  42. desktop-file-install \
  43. --remove-category=Application \
  44. --add-category=GTK \
  45. --delete-original \
  46. --dir=$RPM_BUILD_ROOT%{_datadir}/applications \
  47. $RPM_BUILD_ROOT%{_datadir}/applications/vinagre.desktop
  48. %find_lang vinagre --with-gnome
  49. %clean
  50. rm -rf $RPM_BUILD_ROOT
  51. %post
  52. update-desktop-database -q
  53. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  54. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
  55. touch %{_datadir}/icons/hicolor
  56. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  57. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  58. fi
  59. %pre
  60. if [ "$1" -gt 1 -a -f %{_sysconfdir}/gconf/schemas/vinagre.schemas ]; then
  61. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  62. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
  63. fi
  64. %preun
  65. if [ "$1" -eq 0 ]; then
  66. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  67. gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vinagre.schemas > /dev/null || :
  68. fi
  69. %postun
  70. update-desktop-database -q
  71. update-mime-database %{_datadir}/mime >/dev/null
  72. touch %{_datadir}/icons/hicolor
  73. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  74. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  75. fi
  76. %files -f vinagre.lang
  77. %defattr(-,root,root,-)
  78. %{_sysconfdir}/gconf/schemas/vinagre.schemas
  79. %{_bindir}/*
  80. %{_libdir}/bonobo/servers/GNOME_VinagreApplet.server
  81. %{_libdir}/vinagre-1
  82. %{_libexecdir}/vinagre-applet
  83. %{_datadir}/applications/*.desktop
  84. %{_datadir}/icons/hicolor/*/*/*
  85. %{_datadir}/mime/packages/vinagre-mime.xml
  86. %{_datadir}/%{name}/
  87. %{_datadir}/%{name}-1/
  88. ## for development
  89. %{_includedir}/%{name}-1.0/
  90. %{_libdir}/pkgconfig/%{name}-1.0.pc
  91. %doc %{_mandir}/man1/vinagre.1.gz
  92. %doc README NEWS COPYING AUTHORS
  93. %changelog
  94. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  95. - new upstream release
  96. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  97. * Sun Nov 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  98. - new upstream release
  99. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  100. - new upstream release
  101. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  102. - new upstream release
  103. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  104. - new upstream release
  105. * Mon Jan 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.2-1
  106. - new upstream release
  107. - build with gnutls-2.6.3
  108. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  109. - new upstream release
  110. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  111. - new upstream release
  112. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.23.92-1
  113. - initial build for Vine Linux
  114. * Mon Sep 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
  115. - Update to 2.23.92
  116. * Tue Sep 2 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
  117. - Update to 2.23.91
  118. * Fri Aug 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.90-1
  119. - Update to 2.23.90
  120. * Wed Jun 25 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-2
  121. - Rebuild
  122. * Tue Jun 17 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-1
  123. - Update to 2.23.4
  124. - Fix URL (#451746)
  125. * Wed Jun 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3.1-1
  126. - Update to 2.23.3.1
  127. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1
  128. - Update to 2.23.1
  129. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
  130. - Update to 0.5.1
  131. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.0-1
  132. - Update to 0.5.0
  133. * Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.92-1
  134. - Update to 0.4.92
  135. * Mon Feb 18 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-2
  136. - Spec file fixes
  137. * Tue Feb 12 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-1
  138. - Update to 0.4.91
  139. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.90-1
  140. - Update to 0.4.90
  141. * Thu Dec 13 2007 - Bastien Nocera <bnocera@redhat.com> - 0.4-1
  142. - Update to 0.4 and drop obsolete patches
  143. * Fri Nov 23 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-3
  144. - Fix crasher when passing broken options on the command-line (#394671)
  145. * Thu Oct 25 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-2
  146. - Fix crasher when setting a favourite with no password (#352371)
  147. * Mon Sep 24 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-1
  148. - Update to 0.3
  149. * Wed Aug 22 2007 - Bastien Nocera <bnocera@redhat.com> - 0.2-1
  150. - First version
  151. - Fix plenty of comments from Ray Strode as per review
  152. - Have work-around for BZ #253734