]> git.pld-linux.org Git - packages/vinagre.git/blob - vinagre.spec
- initial PLD release
[packages/vinagre.git] / vinagre.spec
1 Summary:        VNC client for the GNOME desktop
2 Name:           vinagre
3 Version:        0.4
4 Release:        1
5 License:        GPL v2+
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)
29
30 %description
31 Vinagre is a VNC client for the GNOME desktop environment.
32
33 %prep
34 %setup -q
35
36 %build
37 %{__intltoolize}
38 %{__aclocal}
39 %{__autoconf}
40 %{__automake}
41 %configure \
42         --enable-avahi=yes
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT \
50         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
51
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/
55
56 desktop-file-install                                            \
57         --remove-category=Application                           \
58         --add-category=GTK                                      \
59         --delete-original                                       \
60         --dir=$RPM_BUILD_ROOT%{_desktopdir}             \
61         $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
62
63 %find_lang vinagre --with-gnome
64
65 %clean
66 rm -rf $RPM_BUILD_ROOT
67
68 %post
69 %update_desktop_database_post
70 %update_mime_database
71 %update_icon_cache hicolor
72
73 %postun
74 %update_desktop_database_postun
75 %update_mime_database
76 %update_icon_cache hicolor
77
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
86 %{_datadir}/%{name}/
This page took 0.038056 seconds and 4 git commands to generate.