vino-vl.spec 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. %define gtk3_version 3.4.1
  2. %define gconf2_version 2.32.0
  3. %define libgcrypt_version 1.4.6
  4. %define avahi_version 0.6.31
  5. Summary: A remote desktop system for GNOME
  6. Summary(ja): GNOME 用リモートデスクトップシステム
  7. Name: vino
  8. Version: 3.4.2
  9. Release: 1%{?_dist_release}
  10. URL: http://www.gnome.org
  11. License: GPL
  12. Group: User Interface/Desktops
  13. Source0: http://ftp.gnome.org/pub/GNOME/sources/%{name}/3.4/%{name}-%{version}.tar.xz
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Requires: GConf2 >= %{gconf2_version}
  16. Requires: gtk3 >= %{gtk3_version}
  17. Requires: GConf2 >= %{gconf2_version}
  18. Requires: libgcrypt >= %{libgcrypt_version}
  19. Requires: avahi >= %{avahi_version}
  20. Requires: avahi-glib >= %{avahi_version}
  21. Requires: NetworkManager >= 0.8
  22. BuildRequires: gtk3-devel >= %{gtk3_version}
  23. BuildRequires: GConf2-devel >= %{gconf2_version}
  24. BuildRequires: dbus-devel >= 1.4.0
  25. BuildRequires: libsoup-devel >= 2.32.0
  26. BuildRequires: libnotify-devel >= 0.4.5
  27. BuildRequires: libgcrypt-devel >= %{libgcrypt_version}
  28. BuildRequires: avahi-devel >= %{avahi_version}
  29. BuildRequires: avahi-glib-devel >= %{avahi_version}
  30. BuildRequires: libgnome-keyring-devel >= 2.32
  31. BuildRequires: NetworkManager-glib-devel >= 0.8
  32. BuildRequires: unique3-devel >= 3.0.0
  33. BuildRequires: libSM-devel
  34. BuildRequires: libXtst-devel
  35. BuildRequires: desktop-file-utils
  36. Vendor: Project Vine
  37. Distribution: Vine Linux
  38. %description
  39. Vino is a VNC server for GNOME. It allows remote users to
  40. connect to a running GNOME session using VNC.
  41. %description -l ja
  42. Vine は GNOME 用の VNC サーバです。Vino によりリモートユーザが
  43. VNC を利用して稼働中のGNOME セッション接続することができるよう
  44. になります。
  45. %prep
  46. %setup -q
  47. %build
  48. %configure \
  49. --disable-schemas-install \
  50. --enable-avahi \
  51. --disable-gnutls \
  52. --disable-session-support \
  53. --disable-telepathy \
  54. --enable-libnotify \
  55. --enable-network-manager \
  56. --enable-gnome-keyring \
  57. --disable-http-server \
  58. --enable-libunique=yes
  59. %__make %{?_smp_mflags}
  60. %install
  61. rm -rf $RPM_BUILD_ROOT
  62. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  63. make install DESTDIR=$RPM_BUILD_ROOT
  64. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  65. #desktop-file-install --vendor gnome --delete-original \
  66. # --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  67. # --add-only-show-in GNOME \
  68. # $RPM_BUILD_ROOT%{_datadir}/applications/vino-preferences.desktop
  69. # stuff we don't want
  70. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  71. %find_lang %{name}
  72. %clean
  73. rm -rf $RPM_BUILD_ROOT
  74. %post
  75. touch --no-create %{_datadir}/icons/hicolor
  76. %postun
  77. touch --no-create %{_datadir}/icons/hicolor
  78. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  79. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  80. fi
  81. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  82. %posttrans
  83. gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
  84. glib-compile-schemas %{_datadir}/glib-2.0/schemas ||:
  85. %files -f %{name}.lang
  86. %defattr(-,root,root)
  87. %doc AUTHORS ChangeLog COPYING NEWS README docs/TODO docs/remote-desktop.txt
  88. %{_sysconfdir}/xdg/autostart/vino-server.desktop
  89. %{_bindir}/*
  90. %{_libexecdir}/*
  91. %{_datadir}/GConf/gsettings/org.gnome.Vino.convert
  92. %{_datadir}/applications/*.desktop
  93. %{_datadir}/dbus-1/services/*
  94. %{_datadir}/glib-2.0/schemas/*.xml
  95. %{_datadir}/vino
  96. %changelog
  97. * Sun May 20 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.2-1
  98. - new upstream release
  99. * Sun Apr 22 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.4.1-1
  100. - new upstream release
  101. * Sun Nov 20 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.2-1
  102. - new upstream release
  103. * Fri Oct 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.1-1
  104. - new upstream release
  105. * Thu Sep 29 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.2.0-1
  106. - new upstream release
  107. * Fri Sep 23 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.92-1
  108. - new upstream release
  109. * Sat Sep 03 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.90-1
  110. - new upstream release
  111. - add BuildRequires: libXtst-devel
  112. * Sun Aug 21 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.5-1
  113. - new upstream release
  114. * Mon Aug 15 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 3.1.4-1
  115. - new upstream release
  116. - change BuildRequires: unique3-devel instead of unique-devel
  117. * Thu May 05 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.2-1
  118. - new upstream release
  119. - change BuildRequires: NetworkManager-glib-devel instead of NetworkManager-devel
  120. * Sun Dec 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.1-1
  121. - new upstream release
  122. * Sun Oct 03 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.32.0-1
  123. - new upstream release
  124. * Sun Apr 11 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.28.2-1
  125. - new upstream release
  126. - add BuildRequires: libSM-devel, desktop-file-utils
  127. - change BuildRequires: gnome-keyring-devel -> libgnome-keyring-devel
  128. * Sun Nov 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  129. - new upstream release
  130. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  131. - new upstream release
  132. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  133. - new upstream release
  134. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  135. - new upstream release
  136. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  137. - new upstream release
  138. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  139. - new upstream release
  140. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2-1
  141. - new upstream release
  142. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.18.1-1vl5
  143. - applied new versioning policy, spec in utf-8
  144. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  145. - new upstream release
  146. * Sat Apr 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl3
  147. - run gtk-update-icon-cache in %%post script.
  148. * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2
  149. - enable avahi, add BuildRequires: avahi-devel
  150. * Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1
  151. - new upstream release
  152. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  153. - new upstream release
  154. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  155. - new upstream version
  156. * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  157. - initial build for Vine Linux
  158. - add japanese summary and description.
  159. * Tue Oct 12 2004 Mark McLoughlin <markmc@redhat.com> 2.8.1-1
  160. - Update to 2.8.1
  161. - Remove backported fixes
  162. * Thu Oct 7 2004 Mark McLoughlin <markmc@redhat.com> 2.8.0.1-1.1
  163. - Don't hang with metacity's "reduced resources" mode (#134240)
  164. - Improve the key repeat rate situation a good deal (#134451)
  165. * Wed Sep 29 2004 Mark McLoughlin <markmc@redhat.com> 2.8.0.1-1
  166. - Update to 2.8.0.1
  167. * Tue Sep 21 2004 Mark McLoughlin <markmc@redhat.com> 2.8.0-1
  168. - Update to 2.8.0
  169. - Remove upstreamed work-without-gnutls patch
  170. * Tue Sep 7 2004 Matthias Clasen <mclasen@redhat.com> 2.7.92-3
  171. - Disable help button until there is help (#131632)
  172. * Wed Sep 1 2004 Mark McLoughlin <markmc@redhat.com> 2.7.92-2
  173. - Add patch to fix hang without GNU TLS (bug #131354)
  174. * Mon Aug 30 2004 Mark McLoughlin <markmc@redhat.com> 2.7.92-1
  175. - Update to 2.7.92
  176. * Tue Aug 17 2004 Mark McLoughlin <markmc@redhat.com> 2.7.91-1
  177. - Update to 2.7.91
  178. * Mon Aug 16 2004 Mark McLoughlin <markmc@redhat.com> 2.7.90-2
  179. - Define libgcrypt_version
  180. * Thu Aug 12 2004 Mark McLoughlin <markmc@redhat.com> 2.7.90-1
  181. - Update to 2.7.90
  182. * Wed Aug 4 2004 Mark McLoughlin <markmc@redhat.com> 2.7.4-1
  183. - Update to 2.7.4
  184. * Tue Jul 13 2004 Mark McLoughlin <markmc@redhat.com> 2.7.3.1-1
  185. - Initial build.