2024-01-06 11:11:16 +01:00
|
|
|
Name: python-gdata
|
2024-01-06 11:11:17 +01:00
|
|
|
Version: 2.0.18
|
|
|
|
Release: 1mamba
|
2024-01-06 11:11:16 +01:00
|
|
|
Summary: Python client library for Google data APIs
|
|
|
|
Group: System/Libraries/Python
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 11:11:17 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: https://github.com/google/gdata-python-client
|
|
|
|
Source: https://pypi.debian.net/gdata/gdata-%{version}.zip
|
|
|
|
License: Apache License 2.0
|
2024-01-06 11:11:16 +01:00
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 11:11:17 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 11:11:16 +01:00
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
%description
|
|
|
|
Python client library for Google data APIs.
|
|
|
|
|
2024-01-06 11:11:17 +01:00
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 11:11:16 +01:00
|
|
|
%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}"
|
|
|
|
|
2024-01-06 11:11:17 +01:00
|
|
|
%files %{?pyappend}
|
|
|
|
#-f %{name}.filelist
|
2024-01-06 11:11:16 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 11:11:17 +01:00
|
|
|
%{python_sitearch}/gdata-%{version}-py*.egg-info
|
|
|
|
%dir %{python_sitearch}/atom
|
|
|
|
%{python_sitearch}/atom/*
|
|
|
|
%dir %{python_sitearch}/gdata
|
|
|
|
%{python_sitearch}/gdata/*
|
2024-01-06 11:11:16 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 11:11:17 +01:00
|
|
|
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.18-1mamba
|
|
|
|
- update to 2.0.18
|
|
|
|
|
2024-01-06 11:11:16 +01:00
|
|
|
* 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
|