From 3e1d13fc951f8da25892cb1b7553f08dc2123c69 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 11:11:16 +0100 Subject: [PATCH] python 2.7 mass rebuild [release 2.0.10-2mamba;Fri May 17 2013] --- README.md | 2 ++ python-gdata.spec | 50 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 python-gdata.spec diff --git a/README.md b/README.md index 4a48632..fccea25 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # python-gdata +Python client library for Google data APIs. + diff --git a/python-gdata.spec b/python-gdata.spec new file mode 100644 index 0000000..6ab5a7f --- /dev/null +++ b/python-gdata.spec @@ -0,0 +1,50 @@ +Name: python-gdata +Version: 2.0.10 +Release: 2mamba +Summary: Python client library for Google data APIs +Group: System/Libraries/Python +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://code.google.com/p/gdata-python-client/ +Source: http://gdata-python-client.googlecode.com/files/gdata-%{version}.tar.gz +License: Apache 2.0 +## AUTOBUILDREQ-BEGIN +BuildRequires: libpython-devel +## AUTOBUILDREQ-END +Requires: python >= %python_version +BuildArch: noarch +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Python client library for Google data APIs. + +%prep +%setup -q -n gdata-%{version} + +%build +CFLAGS="%{optflags}" %{__python} setup.py build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%{__python} setup.py install \ + -O1 --skip-build \ + --root="%{buildroot}" \ + --install-headers=%{_includedir}/python \ + --install-lib=%{python_sitearch} \ + --record=%{name}.filelist + +sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.filelist +%defattr(-,root,root) + +%changelog +* Fri May 17 2013 Silvan Calarco 2.0.10-2mamba +- python 2.7 mass rebuild + +* Mon Jun 21 2010 Stefano Cotta Ramusino 2.0.10-1mamba +- package created by autospec