vinagre-vl.spec 6.6 KB

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