1 Summary: VNC client for the GNOME desktop
2 Summary(pl.UTF-8): Klient VNC dla środowiska GNOME
7 Group: X11/Applications
8 Source0: http://ftp.gnome.org/pub/GNOME/sources/vinagre/2.23/%{name}-%{version}.tar.bz2
9 # Source0-md5: 963fdc2e939b14eb6c67ec769d425a1e
10 URL: http://www.gnome.org/projects/vinagre/
11 BuildRequires: GConf2-devel >= 2.16.0
12 BuildRequires: autoconf >= 2.59
13 BuildRequires: automake
14 BuildRequires: avahi-devel >= 0.6.18
15 BuildRequires: avahi-glib-devel >= 0.6.18
16 BuildRequires: avahi-ui-devel >= 0.6.18
17 BuildRequires: desktop-file-utils
18 BuildRequires: gettext
19 BuildRequires: gnome-keyring-devel
20 BuildRequires: glib2-devel >= 1:2.16.0
21 BuildRequires: gtk+2-devel >= 2.11.6
22 BuildRequires: gtk-vnc-devel >= 0.3.0
23 BuildRequires: intltool
24 BuildRequires: libglade2-devel >= 2.6.0
25 BuildRequires: perl-XML-Parser
26 BuildRequires: pkgconfig
27 Requires(post,preun): GConf2
28 Requires(post,postun): desktop-file-utils
29 Requires(post,postun): hicolor-icon-theme
30 Requires(post,postun): shared-mime-info
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 Vinagre is a VNC client for the GNOME desktop environment.
37 %description -l pl.UTF-8
38 Vinagre to klient VNC dla środowiska graficznego GNOME.
54 rm -rf $RPM_BUILD_ROOT
57 DESTDIR=$RPM_BUILD_ROOT \
58 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
60 # Remove text files installed by vinagre, we install them in a versioned
61 # directory in the files section
62 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre
64 desktop-file-install \
65 --remove-category=Application \
68 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
69 $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
71 %find_lang vinagre --with-gnome --with-omf
74 rm -rf $RPM_BUILD_ROOT
77 %gconf_schema_install vinagre.schemas
78 %update_desktop_database_post
80 %update_icon_cache hicolor
83 %gconf_schema_uninstall vinagre.schemas
86 %update_desktop_database_postun
88 %update_icon_cache hicolor
90 %files -f vinagre.lang
91 %defattr(644,root,root,755)
92 %doc README NEWS COPYING AUTHORS
93 %attr(755,root,root) %{_bindir}/*
94 %{_iconsdir}/hicolor/*/*/*.png
95 %{_iconsdir}/hicolor/*/*/*.svg
96 %{_desktopdir}/*.desktop
97 %{_datadir}/mime/packages/*.xml
99 %{_sysconfdir}/gconf/schemas/vinagre.schemas
100 %{_libdir}/bonobo/servers/*.server
101 %{_libdir}/vinagre-applet