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