vino-vl.spec 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. %define gtk2_version 2.16.0
  2. %define gconf2_version 2.24.0
  3. %define libgcrypt_version 1.2.0
  4. %define avahi_version 0.6.17
  5. Summary: A remote desktop system for GNOME
  6. Summary(ja): GNOME 用リモートデスクトップシステム
  7. Name: vino
  8. Version: 2.28.1
  9. Release: 1%{?_dist_release}
  10. URL: http://www.gnome.org
  11. License: GPL
  12. Group: User Interface/Desktops
  13. Source0: %{name}-%{version}.tar.bz2
  14. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  15. Prereq: GConf2 >= %{gconf2_version}
  16. Requires: gtk2 >= %{gtk2_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.7
  22. BuildRequires: gtk2-devel >= %{gtk2_version}
  23. BuildRequires: GConf2-devel >= %{gconf2_version}
  24. BuildRequires: dbus-devel >= 1.2.3
  25. BuildRequires: libsoup-devel >= 2.24.0
  26. BuildRequires: libnotify-devel >= 0.4.4
  27. BuildRequires: libgcrypt-devel >= %{libgcrypt_version}
  28. BuildRequires: avahi-devel >= %{avahi_version}
  29. BuildRequires: avahi-glib-devel >= %{avahi_version}
  30. BuildRequires: gnome-keyring-devel
  31. BuildRequires: NetworkManager-devel >= 0.7
  32. BuildRequires: unique-devel >= 1.0.0
  33. %description
  34. Vino is a VNC server for GNOME. It allows remote users to
  35. connect to a running GNOME session using VNC.
  36. %description -l ja
  37. Vine は GNOME 用の VNC サーバです。Vino によりリモートユーザが
  38. VNC を利用して稼働中のGNOME セッション接続することができるよう
  39. になります。
  40. %prep
  41. %setup -q
  42. %build
  43. %configure \
  44. --disable-schemas-install \
  45. --enable-avahi \
  46. --disable-gnutls \
  47. --disable-session-support \
  48. --disable-telepathy \
  49. --enable-libnotify \
  50. --enable-network-manager \
  51. --enable-gnome-keyring \
  52. --disable-http-server \
  53. --enable-libunique=yes
  54. %__make %{?_smp_mflags}
  55. %install
  56. rm -rf $RPM_BUILD_ROOT
  57. export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
  58. %makeinstall
  59. unset GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
  60. desktop-file-install --vendor gnome --delete-original \
  61. --dir $RPM_BUILD_ROOT%{_datadir}/applications \
  62. --add-only-show-in GNOME \
  63. $RPM_BUILD_ROOT%{_datadir}/applications/vino-preferences.desktop
  64. # stuff we don't want
  65. rm -rf $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/icon-theme.cache
  66. %find_lang %{name}
  67. %clean
  68. rm -rf $RPM_BUILD_ROOT
  69. %post
  70. export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source`
  71. SCHEMAS="vino-server.schemas"
  72. for S in $SCHEMAS; do
  73. gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/$S >& /dev/null ||:
  74. done
  75. touch --no-create %{_datadir}/icons/hicolor
  76. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  77. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  78. fi
  79. %postun
  80. touch --no-create %{_datadir}/icons/hicolor
  81. if [ -x /usr/bin/gtk-update-icon-cache ]; then
  82. /usr/bin/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor ||:
  83. fi
  84. %files -f %{name}.lang
  85. %defattr(-,root,root)
  86. %doc AUTHORS ChangeLog COPYING NEWS README docs/TODO docs/remote-desktop.txt
  87. %{_bindir}/*
  88. %{_libexecdir}/*
  89. %{_datadir}/applications/*.desktop
  90. %{_datadir}/dbus-1/services/*
  91. %{_datadir}/vino
  92. %{_sysconfdir}/gconf/schemas/*.schemas
  93. %{_sysconfdir}/xdg/autostart/vino-server.desktop
  94. %changelog
  95. * Sun Nov 8 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.28.1-1
  96. - new upstream release
  97. * Thu May 28 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.2-1
  98. - new upstream release
  99. * Sat Apr 25 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.1-1
  100. - new upstream release
  101. * Mon Mar 23 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.26.0-1
  102. - new upstream release
  103. * Wed Oct 28 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.1-1
  104. - new upstream release
  105. * Sat Sep 27 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.24.0-1
  106. - new upstream release
  107. * Sun Aug 24 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 2.22.2-1
  108. - new upstream release
  109. * Sat Aug 16 2008 Shu KONNO <owa@bg.wakwak.com> 2.18.1-1vl5
  110. - applied new versioning policy, spec in utf-8
  111. * Sat Apr 28 2007 Daisuke SUZUKI <daisuke@linux.or.jp> 2.18.1-0vl1
  112. - new upstream release
  113. * Sat Apr 01 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl3
  114. - run gtk-update-icon-cache in %%post script.
  115. * Mon Mar 13 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl2
  116. - enable avahi, add BuildRequires: avahi-devel
  117. * Wed Mar 08 2006 Daisuke SUZUKI <daisuke@linux.or.jp> 2.13.5-0vl1
  118. - new upstream release
  119. * Mon Sep 19 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.12.0-0vl1
  120. - new upstream release
  121. * Tue Mar 22 2005 Daisuke SUZUKI <daisuke@linux.or.jp> 2.10.0-0vl1
  122. - new upstream version
  123. * Tue Nov 30 2004 Daisuke SUZUKI <daisuke@linux.or.jp> 2.8.1-0vl1
  124. - initial build for Vine Linux
  125. - add japanese summary and description.
  126. * Tue Oct 12 2004 Mark McLoughlin <markmc@redhat.com> 2.8.1-1
  127. - Update to 2.8.1
  128. - Remove backported fixes
  129. * Thu Oct 7 2004 Mark McLoughlin <markmc@redhat.com> 2.8.0.1-1.1
  130. - Don't hang with metacity's "reduced resources" mode (#134240)
  131. - Improve the key repeat rate situation a good deal (#134451)
  132. * Wed Sep 29 2004 Mark McLoughlin <markmc@redhat.com> 2.8.0.1-1
  133. - Update to 2.8.0.1
  134. * Tue Sep 21 2004 Mark McLoughlin <markmc@redhat.com> 2.8.0-1
  135. - Update to 2.8.0
  136. - Remove upstreamed work-without-gnutls patch
  137. * Tue Sep 7 2004 Matthias Clasen <mclasen@redhat.com> 2.7.92-3
  138. - Disable help button until there is help (#131632)
  139. * Wed Sep 1 2004 Mark McLoughlin <markmc@redhat.com> 2.7.92-2
  140. - Add patch to fix hang without GNU TLS (bug #131354)
  141. * Mon Aug 30 2004 Mark McLoughlin <markmc@redhat.com> 2.7.92-1
  142. - Update to 2.7.92
  143. * Tue Aug 17 2004 Mark McLoughlin <markmc@redhat.com> 2.7.91-1
  144. - Update to 2.7.91
  145. * Mon Aug 16 2004 Mark McLoughlin <markmc@redhat.com> 2.7.90-2
  146. - Define libgcrypt_version
  147. * Thu Aug 12 2004 Mark McLoughlin <markmc@redhat.com> 2.7.90-1
  148. - Update to 2.7.90
  149. * Wed Aug 4 2004 Mark McLoughlin <markmc@redhat.com> 2.7.4-1
  150. - Update to 2.7.4
  151. * Tue Jul 13 2004 Mark McLoughlin <markmc@redhat.com> 2.7.3.1-1
  152. - Initial build.