]> git.pld-linux.org Git - packages/vinagre.git/blob - vinagre.spec
- 2.23.4 - some linking problems
[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.23.4
5 Release:        0.1
6 License:        GPL v2+
7 Group:          X11/Applications
8 Source0:        http://ftp.gnome.org/pub/GNOME/sources/vinagre/2.23/%{name}-%{version}.tar.bz2
9 # Source0-md5:  963fdc2e939b14eb6c67ec769d425a1e
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 Suggests:       avahi
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %description
35 Vinagre is a VNC client for the GNOME desktop environment.
36
37 %description -l pl.UTF-8
38 Vinagre to klient VNC dla środowiska graficznego GNOME.
39
40 %prep
41 %setup -q
42
43 %build
44 %{__libtoolize}
45 %{__intltoolize}
46 %{__aclocal}
47 %{__autoconf}
48 %{__automake}
49 %configure \
50         --enable-avahi=yes
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55
56 %{__make} install \
57         DESTDIR=$RPM_BUILD_ROOT \
58         GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
59
60 # Remove text files installed by vinagre, we install them in a versioned
61 # directory in the files section
62 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre
63
64 desktop-file-install                                    \
65         --remove-category=Application                   \
66         --add-category=GTK                              \
67         --delete-original                               \
68         --dir=$RPM_BUILD_ROOT%{_desktopdir}             \
69         $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
70
71 %find_lang vinagre --with-gnome --with-omf
72
73 %clean
74 rm -rf $RPM_BUILD_ROOT
75
76 %post
77 %gconf_schema_install vinagre.schemas
78 %update_desktop_database_post
79 %update_mime_database
80 %update_icon_cache hicolor
81
82 %preun
83 %gconf_schema_uninstall vinagre.schemas
84
85 %postun
86 %update_desktop_database_postun
87 %update_mime_database
88 %update_icon_cache hicolor
89
90 %files -f vinagre.lang
91 %defattr(644,root,root,755)
92 %doc README NEWS COPYING AUTHORS
93 %attr(755,root,root) %{_bindir}/*
94 %{_iconsdir}/hicolor/*/*/*.png
95 %{_iconsdir}/hicolor/*/*/*.svg
96 %{_desktopdir}/*.desktop
97 %{_datadir}/mime/packages/*.xml
98 %{_datadir}/%{name}
99 %{_sysconfdir}/gconf/schemas/vinagre.schemas
100 %{_libdir}/bonobo/servers/*.server
101 %{_libdir}/vinagre-applet
102 %{_mandir}/man1/*.1*
This page took 0.165786 seconds and 3 git commands to generate.