2024-01-06 10:56:15 +01:00
|
|
|
%define pkgname %(echo %name | cut -d- -f2- | tr - _)
|
2024-01-06 10:56:14 +01:00
|
|
|
Name: python-cairocffi
|
2024-06-19 11:49:40 +02:00
|
|
|
Version: 1.7.1
|
2024-01-06 10:56:15 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 10:56:14 +01:00
|
|
|
Summary: A CFFI_-based drop-in replacement for Pycairo_
|
2024-01-06 10:56:14 +01:00
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:56:14 +01:00
|
|
|
URL: https://pypi.org/project/cairocffi/
|
2024-01-06 10:56:14 +01:00
|
|
|
Source: https://pypi.debian.net/cairocffi/cairocffi-%{version}.tar.gz
|
2024-01-06 10:56:14 +01:00
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:56:15 +01:00
|
|
|
BuildRequires: libpython311-devel
|
|
|
|
BuildRequires: python3.11dist(cffi)
|
2024-01-06 10:56:14 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:56:15 +01:00
|
|
|
BuildRequires: python3-devel >= 3.11.5-3mamba
|
2024-01-06 10:56:14 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q -n cairocffi-%{version}
|
|
|
|
|
|
|
|
%build
|
2024-01-06 10:56:15 +01:00
|
|
|
CFLAGS="%{optflags}" %{__python} -m build --no-isolation --wheel
|
2024-01-06 10:56:14 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 10:56:15 +01:00
|
|
|
%{__python} -m installer --destdir=%{buildroot} dist/*.whl
|
2024-01-06 10:56:14 +01:00
|
|
|
|
2024-01-06 10:56:15 +01:00
|
|
|
#%if "%{?with_pyver}" != "3"
|
|
|
|
## Rename any conflicting file outside of python site packages tree
|
|
|
|
#for f in %{_bindir}/pdm; do
|
|
|
|
# mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
#done
|
|
|
|
#%endif
|
2024-01-06 10:56:14 +01:00
|
|
|
|
2024-01-06 10:56:15 +01:00
|
|
|
%files %{?pyappend}
|
2024-01-06 10:56:14 +01:00
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:56:15 +01:00
|
|
|
%dir %{python_sitelib}/%{pkgname}-%{version}.dist-info
|
|
|
|
%{python_sitelib}/%{pkgname}-%{version}.dist-info/*
|
|
|
|
%dir %{python_sitelib}/%{pkgname}
|
|
|
|
%{python_sitelib}/%{pkgname}/*
|
2024-01-06 10:56:14 +01:00
|
|
|
#%doc LICENSE
|
2024-01-06 10:56:14 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-06-19 11:49:40 +02:00
|
|
|
* Tue Jun 18 2024 Automatic Build System <autodist@openmamba.org> 1.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-04-28 14:29:44 +02:00
|
|
|
* Sat Apr 27 2024 Automatic Build System <autodist@openmamba.org> 1.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:56:15 +01:00
|
|
|
* Fri Dec 01 2023 Automatic Build System <autodist@mambasoft.it> 1.6.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:56:15 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 10:56:15 +01:00
|
|
|
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 1.4.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Thu Sep 29 2022 Automatic Build System <autodist@mambasoft.it> 1.4.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Tue Oct 05 2021 Automatic Build System <autodist@mambasoft.it> 1.3.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Sat Oct 31 2020 Automatic Build System <autodist@mambasoft.it> 1.2.0-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Sun Sep 15 2019 Automatic Build System <autodist@mambasoft.it> 1.1.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.2-1mamba
|
|
|
|
- update to 1.0.2
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Sat Aug 18 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-1mamba
|
|
|
|
- update to 0.9.0
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* 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
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba
|
|
|
|
- package created using the webbuild interface
|