1 Summary: VNC client for the GNOME desktop
6 Group: X11/Applications
7 Source0: http://download.gnome.org/sources/vinagre/0.4/%{name}-%{version}.tar.bz2
8 # Source0-md5: 97dee0faa1b78e2497b9d231053b2f6d
9 URL: http://www.gnome.org/projects/vinagre/
10 BuildRequires: GConf2-devel >= 2.16.0
11 BuildRequires: autoconf >= 2.59
12 BuildRequires: automake
13 BuildRequires: avahi-devel >= 0.6.18
14 BuildRequires: avahi-glib-devel >= 0.6.18
15 BuildRequires: avahi-ui-devel >= 0.6.18
16 BuildRequires: desktop-file-utils
17 BuildRequires: gettext
18 BuildRequires: gnome-keyring-devel
19 BuildRequires: gtk+2-devel >= 2.11.6
20 BuildRequires: gtk-vnc-devel >= 0.3.0
21 BuildRequires: intltool
22 BuildRequires: libglade2-devel >= 2.6.0
23 BuildRequires: perl-XML-Parser
24 BuildRequires: pkgconfig
25 Requires(post,postun): desktop-file-utils
26 Requires(post,postun): hicolor-icon-theme
27 Requires(post,postun): shared-mime-info
28 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31 Vinagre is a VNC client for the GNOME desktop environment.
46 rm -rf $RPM_BUILD_ROOT
49 DESTDIR=$RPM_BUILD_ROOT \
50 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
52 # Remove text files installed by vinagre, we install them in a versioned
53 # directory in the files section
54 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre/
56 desktop-file-install \
57 --remove-category=Application \
60 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
61 $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
63 %find_lang vinagre --with-gnome
66 rm -rf $RPM_BUILD_ROOT
69 %update_desktop_database_post
71 %update_icon_cache hicolor
74 %update_desktop_database_postun
76 %update_icon_cache hicolor
78 %files -f vinagre.lang
79 %defattr(644,root,root,755)
80 %doc README NEWS COPYING AUTHORS
81 %attr(755,root,root) %{_bindir}/*
82 %{_iconsdir}/hicolor/*/*/*.png
83 %{_iconsdir}/hicolor/*/*/*.svg
84 %{_desktopdir}/*.desktop
85 %{_datadir}/mime/packages/*.xml