From 6f9151b9910cd927781fbc2b797f35aa49580b64 Mon Sep 17 00:00:00 2001 From: Bastien Nocera Date: Aug 22 2007 13:37:13 +0000 Subject: Import vinagre, a VNC client for the GNOME desktop --- diff --git a/.cvsignore b/.cvsignore index e69de29..343e57d 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +vinagre-0.2.tar.gz diff --git a/sources b/sources index e69de29..d24bf78 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b1a25422b0f5a7a7a325cf05d008dc6c vinagre-0.2.tar.gz diff --git a/vinagre.spec b/vinagre.spec new file mode 100644 index 0000000..51b91c8 --- /dev/null +++ b/vinagre.spec @@ -0,0 +1,68 @@ +Name: vinagre +Version: 0.2 +Release: 1%{?dist} +Summary: VNC client for the GNOME desktop + +Group: Applications/System +License: GPLv2+ +URL: http://www.gnome.org/~jwendell/vinagre/ +Source0: http://www.gnome.org/~jwendell/vinagre/downloads/%{name}-%{version}.tar.gz + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gtk-vnc-devel +BuildRequires: gtk2-devel >= 2.11.6 +BuildRequires: GConf2-devel >= 2.16.0 +BuildRequires: avahi-ui-devel >= 0.6.18 +# Missing package dependency, see: +# https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=253734 +BuildRequires: avahi-glib-devel >= 0.6.18 +BuildRequires: libglade2-devel >= 2.6.0 +BuildRequires: perl(XML::Parser) gettext intltool +BuildRequires: desktop-file-utils + +%description +Vinagre is a VNC client for the GNOME desktop environment. + +%prep +%setup -q + +%build +%configure --enable-avahi=yes +make %{?_smp_mflags} + + +%install +rm -rf $RPM_BUILD_ROOT +export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 +make install DESTDIR=$RPM_BUILD_ROOT + +# Remove text files installed by vinagre, we install them in a versioned +# directory in the files section +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/vinagre/ + +desktop-file-install \ + --remove-category=Application \ + --add-category=GTK \ + --delete-original \ + --dir=$RPM_BUILD_ROOT%{_datadir}/applications \ + $RPM_BUILD_ROOT%{_datadir}/applications/vinagre.desktop + +%find_lang vinagre + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f vinagre.lang +%defattr(-,root,root,-) +%{_bindir}/* +%{_datadir}/applications/*.desktop +%{_datadir}/%{name}/ +%doc README NEWS COPYING AUTHORS + +%changelog +* Wed Aug 22 2007 - Bastien Nocera - 0.2-1 +- First version +- Fix plenty of comments from Ray Strode as per review +- Have work-around for BZ #253734 +