1 |
Summary: GNOME VNC server and client |
2 |
Name: vino |
3 |
Version: 2.32.1 |
4 |
Release: %mkrel 3 |
5 |
Source0: http://ftp.gnome.org/pub/GNOME/sources/vino/%{name}-%{version}.tar.bz2 |
6 |
Patch0: CVE-2011-090x.patch |
7 |
License: GPLv2+ |
8 |
Group: Networking/Remote access |
9 |
Url: http://www.gnome.org |
10 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot |
11 |
BuildRequires: libgnomeui2-devel |
12 |
BuildRequires: libglade2.0-devel |
13 |
BuildRequires: libgnutls-devel |
14 |
BuildRequires: libsoup-devel |
15 |
BuildRequires: libnotify-devel |
16 |
BuildRequires: unique-devel |
17 |
BuildRequires: intltool |
18 |
BuildRequires: libxtst-devel |
19 |
BuildRequires: libxdamage-devel |
20 |
BuildRequires: dbus-glib-devel |
21 |
BuildRequires: desktop-file-utils |
22 |
BuildRequires: libtelepathy-glib-devel |
23 |
BuildRequires: libgnome-keyring-devel |
24 |
|
25 |
%description |
26 |
The package contains an integrated GNOME VNC server. |
27 |
|
28 |
%prep |
29 |
%setup -q |
30 |
%patch0 -p1 -b .CVE-2011-090x |
31 |
|
32 |
%build |
33 |
%configure2_5x \ |
34 |
--enable-avahi \ |
35 |
--enable-telepathy \ |
36 |
--enable-gnome-keyring \ |
37 |
--disable-http-server \ |
38 |
--enable-libnotify \ |
39 |
--disable-network-manager |
40 |
|
41 |
|
42 |
#gw add missing libs, parallel make is broken in 2.27.5 |
43 |
make LIBS="-lSM -ljpeg" |
44 |
|
45 |
%install |
46 |
rm -rf $RPM_BUILD_ROOT |
47 |
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 %makeinstall_std |
48 |
%find_lang %name --with-gnome |
49 |
|
50 |
%clean |
51 |
rm -rf $RPM_BUILD_ROOT |
52 |
|
53 |
%post |
54 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
55 |
gconftool-2 --makefile-install-rule %{_sysconfdir}/gconf/schemas/vino-server.schemas > /dev/null |
56 |
|
57 |
%preun |
58 |
if [ "$1" = "0" ] ; then |
59 |
export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` |
60 |
gconftool-2 --makefile-uninstall-rule %{_sysconfdir}/gconf/schemas/vino-server.schemas > /dev/null |
61 |
fi |
62 |
|
63 |
%files -f %name.lang |
64 |
%defattr(-,root,root) |
65 |
%doc README NEWS AUTHORS ChangeLog docs/remote-desktop.txt docs/TODO |
66 |
%_sysconfdir/gconf/schemas/vino-server.schemas |
67 |
%_sysconfdir/xdg/autostart/vino-server.desktop |
68 |
%_bindir/vino-passwd |
69 |
%_bindir/vino-preferences |
70 |
%_libexecdir/vino-server |
71 |
%_datadir/vino |
72 |
%_datadir/applications/vino-preferences.desktop |
73 |
%_datadir/dbus-1/services/org.freedesktop.Telepathy.Client.Vino.service |
74 |
%_datadir/telepathy/clients/Vino.client |
75 |
|
76 |
|
77 |
|