]> git.pld-linux.org Git - packages/vinagre.git/blob - vinagre.spec
- require stable GConf2
[packages/vinagre.git] / vinagre.spec
1 Summary:        VNC client for the GNOME desktop
2 Summary(pl.UTF-8):      Klient VNC dla środowiska GNOME
3 Name:           vinagre
4 Version:        0.5.0
5 Release:        1
6 License:        GPL v2+
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)
32
33 %description
34 Vinagre is a VNC client for the GNOME desktop environment.
35
36 %description -l pl.UTF-8
37 Vinagre to klient VNC dla środowiska graficznego GNOME.
38
39 %prep
40 %setup -q
41
42 %build
43 %{__intltoolize}
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake}
47 %configure \
48         --enable-avahi=yes
49 %{__make}
50
51 %install
52 rm -rf $RPM_BUILD_ROOT
53
54 %{__make} install \
55         DESTDIR=$RPM_BUILD_ROOT \
56         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
57
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
61
62 desktop-file-install                                    \
63         --remove-category=Application                   \
64         --add-category=GTK                              \
65         --delete-original                               \
66         --dir=$RPM_BUILD_ROOT%{_desktopdir}             \
67         $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
68
69 %find_lang vinagre --with-gnome --with-omf
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post
75 %gconf_schema_install vinagre.schemas
76 %update_desktop_database_post
77 %update_mime_database
78 %update_icon_cache hicolor
79
80 %preun
81 %gconf_schema_uninstall vinagre.schemas
82
83 %postun
84 %update_desktop_database_postun
85 %update_mime_database
86 %update_icon_cache hicolor
87
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
96 %{_datadir}/%{name}
97 %{_sysconfdir}/gconf/schemas/vinagre.schemas
98 %{_mandir}/man1/*.1*
This page took 0.276469 seconds and 3 git commands to generate.