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

patrys patrys at pld-linux.org
Tue Aug 21 13:39:18 CEST 2007


Author: patrys                       Date: Tue Aug 21 11:39:18 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/postr.spec
diff -u /dev/null SPECS/postr.spec:1.1
--- /dev/null	Tue Aug 21 13:39:18 2007
+++ SPECS/postr.spec	Tue Aug 21 13:39:13 2007
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+Summary:	A Flickr photo uploader
+Name:		postr
+Version:	0.8
+Release:	1
+License:	GPL v2
+Group:		Applications
+Source0:	http://burtonini.com/computing/%{name}-%{version}.tar.gz
+# Source0-md5:	131f746d00dad31c2634ab14184dc4fb
+URL:		http://burtonini.com/blog/computers/postr
+%pyrequires_eq	python-libs
+Requires:	python-gnome-extras-egg
+Requires:	python-pygtk-gtk
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+postr is a Flickr uploader.
+
+%package -n nautilus-extension-postr
+Summary:	Postr extension for Nautilus
+Group:		X11/Applications
+Requires:	%{name} = %{version}-%{release}
+Requires:	nautilus >= 2.16.1
+Requires:	nautilus-python
+
+%description -n nautilus-extension-postr
+Allows to send files from Nautilus.
+
+%prep
+%setup -q
+
+%install
+rm -rf $RPM_BUILD_ROOT
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%update_icon_cache hicolor
+
+%update_desktop_database_post
+
+%postun
+%update_icon_cache hicolor
+
+%update_desktop_database_postun
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS README TODO
+%attr(755,root,root) %{_bindir}/postr
+%{py_sitescriptdir}/postr
+%{_desktopdir}/postr.desktop
+%{_iconsdir}/hicolor/*/apps/*
+
+%files -n nautilus-extension-postr
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/nautilus/extensions-1.0/python/*
+
+%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/08/21 11:39:13  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list