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/0.5/%{name}-%{version}.tar.bz2
9 # Source0-md5: 3d5febbf26565e2095355848064a796a
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
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 Vinagre is a VNC client for the GNOME desktop environment.
36 %description -l pl.UTF-8
37 Vinagre to klient VNC dla środowiska graficznego GNOME.
52 rm -rf $RPM_BUILD_ROOT
55 DESTDIR=$RPM_BUILD_ROOT \
56 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
58 # Remove text files installed by vinagre, we install them in a versioned
59 # directory in the files section
60 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre
62 desktop-file-install \
63 --remove-category=Application \
66 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
67 $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
69 %find_lang vinagre --with-gnome --with-omf
72 rm -rf $RPM_BUILD_ROOT
75 %gconf_schema_install vinagre.schemas
76 %update_desktop_database_post
78 %update_icon_cache hicolor
81 %gconf_schema_uninstall vinagre.schemas
84 %update_desktop_database_postun
86 %update_icon_cache hicolor
88 %files -f vinagre.lang
89 %defattr(644,root,root,755)
90 %doc README NEWS COPYING AUTHORS
91 %attr(755,root,root) %{_bindir}/*
92 %{_iconsdir}/hicolor/*/*/*.png
93 %{_iconsdir}/hicolor/*/*/*.svg
94 %{_desktopdir}/*.desktop
95 %{_datadir}/mime/packages/*.xml
97 %{_sysconfdir}/gconf/schemas/vinagre.schemas