]>
Commit | Line | Data |
---|---|---|
1 | # | |
2 | # TODO: | |
3 | # - devel subpackage | |
4 | # | |
5 | Summary: VNC client for the GNOME desktop | |
6 | Summary(pl.UTF-8): Klient VNC dla środowiska GNOME | |
7 | Name: vinagre | |
8 | Version: 2.28.0.1 | |
9 | Release: 1 | |
10 | License: GPL v2+ | |
11 | Group: X11/Applications | |
12 | Source0: http://ftp.gnome.org/pub/GNOME/sources/vinagre/2.28/%{name}-%{version}.tar.bz2 | |
13 | # Source0-md5: 3413726184c4c2ab0e20319777c87e7c | |
14 | URL: http://www.gnome.org/projects/vinagre/ | |
15 | BuildRequires: GConf2-devel >= 2.24.0 | |
16 | BuildRequires: autoconf >= 2.59 | |
17 | BuildRequires: automake | |
18 | BuildRequires: avahi-devel >= 0.6.22 | |
19 | BuildRequires: avahi-glib-devel >= 0.6.22 | |
20 | BuildRequires: avahi-gobject-devel >= 0.6.22 | |
21 | BuildRequires: avahi-ui-devel >= 0.6.22 | |
22 | BuildRequires: gettext-devel | |
23 | BuildRequires: glib2-devel >= 1:2.18.0 | |
24 | BuildRequires: gnome-common >= 2.24.0 | |
25 | BuildRequires: gnome-doc-utils >= 0.14.0 | |
26 | BuildRequires: gnome-keyring-devel >= 2.24.0 | |
27 | BuildRequires: gnome-panel-devel >= 2.24.0 | |
28 | BuildRequires: gtk+2-devel >= 2:2.18.0 | |
29 | BuildRequires: gtk-vnc-devel >= 0.3.9 | |
30 | BuildRequires: intltool >= 0.40.0 | |
31 | BuildRequires: libglade2-devel >= 1:2.6.2 | |
32 | BuildRequires: libtool | |
33 | BuildRequires: perl-XML-Parser | |
34 | BuildRequires: pkgconfig | |
35 | BuildRequires: rpmbuild(find_lang) >= 1.23 | |
36 | BuildRequires: rpmbuild(macros) >= 1.311 | |
37 | Requires(post,postun): desktop-file-utils | |
38 | Requires(post,postun): gtk+2 | |
39 | Requires(post,postun): hicolor-icon-theme | |
40 | Requires(post,postun): shared-mime-info | |
41 | Requires(post,preun): GConf2 | |
42 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
43 | ||
44 | %description | |
45 | Vinagre is a VNC client for the GNOME desktop environment. | |
46 | ||
47 | %description -l pl.UTF-8 | |
48 | Vinagre to klient VNC dla środowiska graficznego GNOME. | |
49 | ||
50 | %prep | |
51 | %setup -q | |
52 | ||
53 | %build | |
54 | %{__intltoolize} | |
55 | %{__libtoolize} | |
56 | %{__aclocal} | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure \ | |
61 | --enable-avahi=yes | |
62 | %{__make} | |
63 | ||
64 | %install | |
65 | rm -rf $RPM_BUILD_ROOT | |
66 | ||
67 | %{__make} install \ | |
68 | DESTDIR=$RPM_BUILD_ROOT \ | |
69 | GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 | |
70 | ||
71 | # Remove text files installed by vinagre, we install them in a versioned | |
72 | # directory in the files section | |
73 | rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre | |
74 | ||
75 | %find_lang vinagre --with-gnome --with-omf | |
76 | ||
77 | %clean | |
78 | rm -rf $RPM_BUILD_ROOT | |
79 | ||
80 | %post | |
81 | %gconf_schema_install vinagre.schemas | |
82 | %update_desktop_database_post | |
83 | %update_mime_database | |
84 | %update_icon_cache hicolor | |
85 | ||
86 | %preun | |
87 | %gconf_schema_uninstall vinagre.schemas | |
88 | ||
89 | %postun | |
90 | %update_desktop_database_postun | |
91 | %update_mime_database | |
92 | %update_icon_cache hicolor | |
93 | ||
94 | %files -f vinagre.lang | |
95 | %defattr(644,root,root,755) | |
96 | %doc README NEWS COPYING AUTHORS | |
97 | %attr(755,root,root) %{_bindir}/* | |
98 | %{_iconsdir}/hicolor/*/*/*.png | |
99 | %{_iconsdir}/hicolor/*/*/*.svg | |
100 | %{_desktopdir}/*.desktop | |
101 | %{_datadir}/mime/packages/*.xml | |
102 | %{_datadir}/%{name} | |
103 | %{_sysconfdir}/gconf/schemas/vinagre.schemas | |
104 | %{_mandir}/man1/*.1* | |
105 | %{_libdir}/bonobo/servers/GNOME_VinagreApplet.server | |
106 | %attr(755,root,root) %{_libexecdir}/vinagre-applet |