vinagre-vl.spec 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. Summary: VNC client for the GNOME desktop
  2. Summary(ja): GNOME デスクトップ用 VNC クライアント
  3. Name: vinagre
  4. Version: 2.30.3
  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.32/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk-vnc-devel >= 0.3.10
  12. BuildRequires: glib2-devel >= 2.26.0
  13. BuildRequires: gtk2-devel >= 2.22.0
  14. BuildRequires: GConf2-devel >= 2.32.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.32.0
  21. BuildRequires: gnome-panel-devel
  22. BuildRequires: libxml2-devel >= 2.6.31
  23. BuildRequires: vte-devel >= 0.26
  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. * Tue Oct 05 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.3-1
  95. - new upstream release
  96. - change BuildRequires: gnome-panel-devel instead of gnome-panel
  97. * Tue Sep 28 2010 Shu KONNO <owa@bg.wakwak.com> 2.30.2-2
  98. - rebuilt with rpm-4.8.1 for pkg-config
  99. * Tue Jun 29 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.2-1
  100. - new upstream release
  101. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.30.0-1
  102. - new upstream release
  103. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  104. * Sun Nov 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  105. - new upstream release
  106. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  107. - new upstream release
  108. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  109. - new upstream release
  110. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  111. - new upstream release
  112. * Mon Jan 19 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.2-1
  113. - new upstream release
  114. - build with gnutls-2.6.3
  115. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  116. - new upstream release
  117. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  118. - new upstream release
  119. * Sat Sep 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.23.92-1
  120. - initial build for Vine Linux
  121. * Mon Sep 8 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.92-1
  122. - Update to 2.23.92
  123. * Tue Sep 2 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.91-1
  124. - Update to 2.23.91
  125. * Fri Aug 22 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.90-1
  126. - Update to 2.23.90
  127. * Wed Jun 25 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-2
  128. - Rebuild
  129. * Tue Jun 17 2008 - Bastien Nocera <bnocera@redhat.com> - 2.23.4-1
  130. - Update to 2.23.4
  131. - Fix URL (#451746)
  132. * Wed Jun 4 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.3.1-1
  133. - Update to 2.23.3.1
  134. * Fri Apr 25 2008 Matthias Clasen <mclasen@redhat.com> - 2.23.1-1
  135. - Update to 2.23.1
  136. * Mon Apr 7 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.1-1
  137. - Update to 0.5.1
  138. * Mon Mar 10 2008 Matthias Clasen <mclasen@redhat.com> - 0.5.0-1
  139. - Update to 0.5.0
  140. * Mon Feb 25 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.92-1
  141. - Update to 0.4.92
  142. * Mon Feb 18 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-2
  143. - Spec file fixes
  144. * Tue Feb 12 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.91-1
  145. - Update to 0.4.91
  146. * Tue Jan 29 2008 Matthias Clasen <mclasen@redhat.com> - 0.4.90-1
  147. - Update to 0.4.90
  148. * Thu Dec 13 2007 - Bastien Nocera <bnocera@redhat.com> - 0.4-1
  149. - Update to 0.4 and drop obsolete patches
  150. * Fri Nov 23 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-3
  151. - Fix crasher when passing broken options on the command-line (#394671)
  152. * Thu Oct 25 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-2
  153. - Fix crasher when setting a favourite with no password (#352371)
  154. * Mon Sep 24 2007 - Bastien Nocera <bnocera@redhat.com> - 0.3-1
  155. - Update to 0.3
  156. * Wed Aug 22 2007 - Bastien Nocera <bnocera@redhat.com> - 0.2-1
  157. - First version
  158. - Fix plenty of comments from Ray Strode as per review
  159. - Have work-around for BZ #253734