51 lines
1.4 KiB
RPMSpec
51 lines
1.4 KiB
RPMSpec
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 <stefano.cotta@openmamba.org>
|
|
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 <silvan.calarco@mambasoft.it> 2.0.10-2mamba
|
|
- python 2.7 mass rebuild
|
|
|
|
* Mon Jun 21 2010 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.0.10-1mamba
|
|
- package created by autospec
|