SPECS: python-gdata.spec (NEW) - initial PLD release

patrys patrys at pld-linux.org
Tue Oct 2 16:19:07 CEST 2007


Author: patrys                       Date: Tue Oct  2 14:19:07 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial PLD release

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

---- Diffs:

================================================================
Index: SPECS/python-gdata.spec
diff -u /dev/null SPECS/python-gdata.spec:1.1
--- /dev/null	Tue Oct  2 16:19:07 2007
+++ SPECS/python-gdata.spec	Tue Oct  2 16:19:02 2007
@@ -0,0 +1,55 @@
+# $Revision$, $Date$
+%define		module	gdata
+#
+Summary:	Google Data API for Python
+Name:		python-%{module}
+Version:	1.0.8
+Release:	1
+License:	Apache Group License v2.0
+Group:		Development/Languages/Python
+Source0:	http://gdata-python-client.googlecode.com/files/%{module}.py-%{version}.tar.gz
+# Source0-md5:	b6f6aa192446047d8045d3c30345f1ef
+URL:		http://code.google.com/p/gdata-python-client/
+BuildRequires:	python >= 2.5
+%pyrequires_eq	python-libs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Google data Python Client Library provides a library and source
+code that make it easy to access data through Google Data APIs.
+
+%prep
+%setup -q -n %{module}.py-%{version}
+
+%build
+python setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+python setup.py install \
+	--root=$RPM_BUILD_ROOT \
+	--optimize=2
+
+find $RPM_BUILD_ROOT%{py_sitescriptdir}/%{module} -name \*.py | xargs rm -f
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.txt RELEASE_NOTES.txt
+%{py_sitescriptdir}/%{module}
+%{py_sitescriptdir}/atom
+
+%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/10/02 14:19:02  patrys
+- initial PLD release
+
================================================================


More information about the pld-cvs-commit mailing list