]> git.pld-linux.org Git - packages/vino.git/blob - vino.spec
- make it build with --as-needed
[packages/vino.git] / vino.spec
1 Summary:        A remote desktop system for GNOME
2 Summary(pl):    System zdalnego pulpitu dla GNOME
3 Name:           vino
4 Version:        2.13.5
5 Release:        4
6 License:        GPL v2+
7 Group:          Applications/Networking
8 Source0:        http://ftp.gnome.org/pub/gnome/sources/vino/2.13/%{name}-%{version}.tar.bz2
9 # Source0-md5:  9bc8c3f0e639fdc7b9ed023501308359
10 Patch0:         %{name}-desktop.patch
11 URL:            http://www.gnome.org/
12 BuildRequires:  GConf2-devel >= 2.14.0
13 BuildRequires:  ORBit2-devel
14 BuildRequires:  gettext-devel
15 BuildRequires:  gnome-common >= 2.12.0
16 BuildRequires:  gnutls-devel >= 1.0.0
17 BuildRequires:  gtk+2-devel >= 2:2.8.0
18 BuildRequires:  intltool
19 BuildRequires:  libgcrypt-devel >= 1.2.0
20 BuildRequires:  libglade2-devel >= 1:2.5.1
21 BuildRequires:  libgnomeui-devel >= 2.14.0
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libtool
24 BuildRequires:  perl-base
25 BuildRequires:  pkgconfig
26 BuildRequires:  rpmbuild(macros) >= 1.197
27 BuildRequires:  zlib-devel
28 Requires(post,preun):   GConf2 >= 2.14.0
29 Requires:       libgnomeui >= 2.14.0
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %define         _libexecdir     %{_libdir}/%{name}
33
34 %description
35 Vino is a VNC server for GNOME. It allows remote users to connect to a
36 running GNOME session using VNC.
37
38 %description -l pl
39 Vino to serwer VNC dla GNOME. Pozwala zdalnym u¿ytkownikom na ³±czenie
40 siê z dzia³aj±c± sesj± GNOME przy u¿yciu VNC.
41
42 %prep
43 %setup -q
44 %patch0 -p1
45
46 %build
47 %{__libtoolize}
48 %{__aclocal}
49 %{__autoconf}
50 %{__automake}
51 %configure \
52         --disable-schemas-install \
53         LIBS="-lgnutls"
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58
59 %{__make} install \
60         DESTDIR=$RPM_BUILD_ROOT
61
62 # stuff we don't want
63 rm -rf $RPM_BUILD_ROOT%{_datadir}/gnome/vino/vino-client.*
64
65 rm -r $RPM_BUILD_ROOT%{_datadir}/locale/no
66
67 %find_lang %{name}
68
69 %clean
70 rm -rf $RPM_BUILD_ROOT
71
72 %post
73 %gconf_schema_install vino-server.schemas
74
75 %preun
76 %gconf_schema_install vino-server.schemas
77
78 %files -f %{name}.lang
79 %defattr(644,root,root,755)
80 %doc AUTHORS ChangeLog NEWS README docs/TODO docs/remote-desktop.txt
81 %attr(755,root,root) %{_bindir}/*
82 %dir %{_libexecdir}
83 %attr(755,root,root) %{_libexecdir}/vino-server
84 %dir %{_datadir}/gnome/vino
85 %{_datadir}/gnome/vino/*.glade
86 %{_desktopdir}/*.desktop
87 %{_iconsdir}/*/*/apps/*.png
88 %{_libdir}/bonobo/servers/*.server
89 %{_sysconfdir}/gconf/schemas/vino-server.schemas
This page took 0.030762 seconds and 3 git commands to generate.