SPECS: vinagre.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Wed Dec 12 23:32:46 CET 2007


Author: patrys                       Date: Wed Dec 12 22:32:46 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

---- Files affected:
SPECS:
   vinagre.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/vinagre.spec
diff -u /dev/null SPECS/vinagre.spec:1.1
--- /dev/null	Wed Dec 12 23:32:46 2007
+++ SPECS/vinagre.spec	Wed Dec 12 23:32:41 2007
@@ -0,0 +1,97 @@
+# $Revision$, $Date$
+Summary:	VNC client for the GNOME desktop
+Name:		vinagre
+Version:	0.4
+Release:	1
+License:	GPL v2+
+Group:		X11/Applications
+Source0:	http://download.gnome.org/sources/vinagre/0.4/%{name}-%{version}.tar.bz2
+# Source0-md5:	97dee0faa1b78e2497b9d231053b2f6d
+URL:		http://www.gnome.org/projects/vinagre/
+BuildRequires:	GConf2-devel >= 2.16.0
+BuildRequires:	autoconf >= 2.59
+BuildRequires:	automake
+BuildRequires:	avahi-devel >= 0.6.18
+BuildRequires:	avahi-glib-devel >= 0.6.18
+BuildRequires:	avahi-ui-devel >= 0.6.18
+BuildRequires:	desktop-file-utils
+BuildRequires:	gettext
+BuildRequires:	gnome-keyring-devel
+BuildRequires:	gtk+2-devel >= 2.11.6
+BuildRequires:	gtk-vnc-devel >= 0.3.0
+BuildRequires:	intltool
+BuildRequires:	libglade2-devel >= 2.6.0
+BuildRequires:	perl-XML-Parser
+BuildRequires:	pkgconfig
+Requires(post,postun):	desktop-file-utils
+Requires(post,postun):	hicolor-icon-theme
+Requires(post,postun):	shared-mime-info
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Vinagre is a VNC client for the GNOME desktop environment.
+
+%prep
+%setup -q
+
+%build
+%{__intltoolize}
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+%configure \
+	--enable-avahi=yes
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT \
+	GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+
+# 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%{_desktopdir}		\
+        $RPM_BUILD_ROOT%{_desktopdir}/vinagre.desktop
+
+%find_lang vinagre --with-gnome
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_desktop_database_post
+%update_mime_database
+%update_icon_cache hicolor
+
+%postun
+%update_desktop_database_postun
+%update_mime_database
+%update_icon_cache hicolor
+
+%files -f vinagre.lang
+%defattr(644,root,root,755)
+%doc README NEWS COPYING AUTHORS
+%attr(755,root,root) %{_bindir}/*
+%{_iconsdir}/hicolor/*/*/*.png
+%{_iconsdir}/hicolor/*/*/*.svg
+%{_desktopdir}/*.desktop
+%{_datadir}/mime/packages/*.xml
+%{_datadir}/%{name}/
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007-12-12 22:32:41  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list