python-cairocffi/python-cairocffi.spec

83 lines
2.5 KiB
RPMSpec
Raw Normal View History

Name: python-cairocffi
Version: 1.4.0
Release: 3mamba
Summary: A CFFI_-based drop-in replacement for Pycairo_
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://pypi.org/project/cairocffi/
Source: https://pypi.debian.net/cairocffi/cairocffi-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: libpython311-devel
BuildRequires: python3.11dist(cffi)
## AUTOBUILDREQ-END
BuildRequires: python3-devel >= 3.11.5-3mamba
%description
%{summary}.
%if "%{?with_pyver}"
%pyver_package
%endif
%prep
%setup -q -n cairocffi-%{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
%files %{?pyappend} -f %{name}.filelist
%defattr(-,root,root)
%dir %{python_sitearch}/cairocffi-*-py*.egg-info
%{python_sitearch}/cairocffi-*-py*.egg-info/*
%dir %{python_sitearch}/cairocffi/_generated/
%{python_sitearch}/cairocffi/_generated/*
#%doc LICENSE
%changelog
* Tue Sep 26 2023 Automatic Build System <autodist@mambasoft.it> 1.4.0-3mamba
- rebuilt by autoport with build requirements: python3-devel>=3.11.5-3mamba
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
- rebuilt with python 3.10
* Thu Sep 29 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
- automatic version update by autodist
* Tue Oct 05 2021 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
- automatic version update by autodist
* Sat Oct 31 2020 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
- automatic update by autodist
* Sun Sep 15 2019 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
- automatic version update by autodist
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
- update to 1.0.2
* Sat Aug 18 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
- update to 0.9.0
* Fri Aug 07 2015 Automatic Build System <autodist@mambasoft.it> 0.7.2-1mamba
- automatic version update by autodist
* Thu Aug 06 2015 Automatic Build System <autodist@mambasoft.it> 0.7.1-1mamba
- automatic version update by autodist
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba
- package created using the webbuild interface