]> git.pld-linux.org Git - packages/vinagre.git/blame - vinagre.spec
- 2.23.4 - some linking problems
[packages/vinagre.git] / vinagre.spec
CommitLineData
bd292ddf 1Summary: VNC client for the GNOME desktop
095b36c7 2Summary(pl.UTF-8): Klient VNC dla środowiska GNOME
bd292ddf 3Name: vinagre
8b4103c5
PG
4Version: 2.23.4
5Release: 0.1
bd292ddf
PZ
6License: GPL v2+
7Group: X11/Applications
8b4103c5
PG
8Source0: http://ftp.gnome.org/pub/GNOME/sources/vinagre/2.23/%{name}-%{version}.tar.bz2
9# Source0-md5: 963fdc2e939b14eb6c67ec769d425a1e
bd292ddf
PZ
10URL: http://www.gnome.org/projects/vinagre/
11BuildRequires: GConf2-devel >= 2.16.0
12BuildRequires: autoconf >= 2.59
13BuildRequires: automake
14BuildRequires: avahi-devel >= 0.6.18
15BuildRequires: avahi-glib-devel >= 0.6.18
16BuildRequires: avahi-ui-devel >= 0.6.18
17BuildRequires: desktop-file-utils
18BuildRequires: gettext
19BuildRequires: gnome-keyring-devel
004067dd 20BuildRequires: glib2-devel >= 1:2.16.0
bd292ddf
PZ
21BuildRequires: gtk+2-devel >= 2.11.6
22BuildRequires: gtk-vnc-devel >= 0.3.0
23BuildRequires: intltool
24BuildRequires: libglade2-devel >= 2.6.0
25BuildRequires: perl-XML-Parser
26BuildRequires: pkgconfig
180bd456 27Requires(post,preun): GConf2
bd292ddf
PZ
28Requires(post,postun): desktop-file-utils
29Requires(post,postun): hicolor-icon-theme
30Requires(post,postun): shared-mime-info
8b4103c5 31Suggests: avahi
bd292ddf
PZ
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35Vinagre is a VNC client for the GNOME desktop environment.
36
095b36c7
JB
37%description -l pl.UTF-8
38Vinagre to klient VNC dla środowiska graficznego GNOME.
39
bd292ddf
PZ
40%prep
41%setup -q
42
43%build
8b4103c5 44%{__libtoolize}
bd292ddf
PZ
45%{__intltoolize}
46%{__aclocal}
47%{__autoconf}
48%{__automake}
49%configure \
50 --enable-avahi=yes
51%{__make}
52
53%install
54rm -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
095b36c7 62rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre
bd292ddf 63
095b36c7
JB
64desktop-file-install \
65 --remove-category=Application \
66 --add-category=GTK \
67 --delete-original \
bd292ddf
PZ
68 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
69 $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
70
180bd456 71%find_lang vinagre --with-gnome --with-omf
bd292ddf
PZ
72
73%clean
74rm -rf $RPM_BUILD_ROOT
75
76%post
180bd456 77%gconf_schema_install vinagre.schemas
bd292ddf
PZ
78%update_desktop_database_post
79%update_mime_database
80%update_icon_cache hicolor
81
180bd456
PZ
82%preun
83%gconf_schema_uninstall vinagre.schemas
84
bd292ddf
PZ
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
095b36c7 98%{_datadir}/%{name}
180bd456 99%{_sysconfdir}/gconf/schemas/vinagre.schemas
8b4103c5
PG
100%{_libdir}/bonobo/servers/*.server
101%{_libdir}/vinagre-applet
180bd456 102%{_mandir}/man1/*.1*
This page took 0.091185 seconds and 4 git commands to generate.