python-gdata/python-gdata.spec

66 lines
1.8 KiB
RPMSpec

Name: python-gdata
Version: 2.0.18
Release: 2mamba
Summary: Python client library for Google data APIs
Group: System/Libraries/Python
Vendor: openmamba
Distribution: openmamba
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
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
BuildArch: noarch
%description
Python client library for Google data APIs.
%if "%{?with_pyver}"
%pyver_package
%endif
%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 %{?pyappend}
#-f %{name}.filelist
%defattr(-,root,root)
%{python_sitearch}/gdata-%{version}-py*.egg-info
%dir %{python_sitearch}/atom
%{python_sitearch}/atom/*
%dir %{python_sitearch}/gdata
%{python_sitearch}/gdata/*
%changelog
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 2.0.18-2mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Sat Jul 17 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.18-1mamba
- update to 2.0.18
* 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