]> git.pld-linux.org Git - packages/vinagre.git/blob - vinagre.spec
- merged from DEVEL
[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:        2.24.0
5 Release:        1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/vinagre/2.24/%{name}-%{version}.tar.bz2
9 # Source0-md5:  db396e9f4e008771468c34824196c8fc
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.22
15 BuildRequires:  avahi-glib-devel >= 0.6.22
16 BuildRequires:  avahi-ui-devel >= 0.6.22
17 BuildRequires:  avahi-gobject-devel >= 0.6.22
18 BuildRequires:  desktop-file-utils
19 BuildRequires:  gettext
20 BuildRequires:  gnome-keyring-devel
21 BuildRequires:  glib2-devel >= 1:2.16.0
22 BuildRequires:  gtk+2-devel >= 2.11.6
23 BuildRequires:  gtk-vnc-devel >= 0.3.7
24 BuildRequires:  intltool
25 BuildRequires:  libglade2-devel >= 2.6.0
26 BuildRequires:  libtool
27 BuildRequires:  perl-XML-Parser
28 BuildRequires:  pkgconfig
29 Requires(post,preun):   GConf2
30 Requires(post,postun):  desktop-file-utils
31 Requires(post,postun):  hicolor-icon-theme
32 Requires(post,postun):  shared-mime-info
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %description
36 Vinagre is a VNC client for the GNOME desktop environment.
37
38 %description -l pl.UTF-8
39 Vinagre to klient VNC dla środowiska graficznego GNOME.
40
41 %prep
42 %setup -q
43
44 %build
45 %{__intltoolize}
46 %{__libtoolize}
47 %{__aclocal}
48 %{__autoconf}
49 %{__automake}
50 %configure \
51         --enable-avahi=yes
52 %{__make}
53
54 %install
55 rm -rf $RPM_BUILD_ROOT
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT \
59         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
60
61 # Remove text files installed by vinagre, we install them in a versioned
62 # directory in the files section
63 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre
64
65 desktop-file-install                                    \
66         --remove-category=Application                   \
67         --add-category=GTK                              \
68         --delete-original                               \
69         --dir=$RPM_BUILD_ROOT%{_desktopdir}             \
70         $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
71
72 %find_lang vinagre --with-gnome --with-omf
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post
78 %gconf_schema_install vinagre.schemas
79 %update_desktop_database_post
80 %update_mime_database
81 %update_icon_cache hicolor
82
83 %preun
84 %gconf_schema_uninstall vinagre.schemas
85
86 %postun
87 %update_desktop_database_postun
88 %update_mime_database
89 %update_icon_cache hicolor
90
91 %files -f vinagre.lang
92 %defattr(644,root,root,755)
93 %doc README NEWS COPYING AUTHORS
94 %attr(755,root,root) %{_bindir}/*
95 %{_iconsdir}/hicolor/*/*/*.png
96 %{_iconsdir}/hicolor/*/*/*.svg
97 %{_desktopdir}/*.desktop
98 %{_datadir}/mime/packages/*.xml
99 %{_datadir}/%{name}
100 %{_sysconfdir}/gconf/schemas/vinagre.schemas
101 %{_mandir}/man1/*.1*
102 %{_libdir}/bonobo/servers/GNOME_VinagreApplet.server
103 %attr(755,root,root) %{_libexecdir}/vinagre-applet
This page took 0.076975 seconds and 3 git commands to generate.