2024-01-06 10:56:14 +01:00
|
|
|
Name: python-cairocffi
|
2024-01-06 10:56:14 +01:00
|
|
|
Version: 0.9.0
|
2024-01-06 10:56:14 +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>
|
|
|
|
URL: https://pypi.python.org/pypi/cairocffi
|
|
|
|
Source: https://pypi.python.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: libpython-devel
|
2024-01-06 10:56:14 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:56:14 +01:00
|
|
|
Requires: python >= %python_version
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%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
|
|
|
|
|
2024-01-06 10:56:14 +01:00
|
|
|
sed -i "s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:56:14 +01:00
|
|
|
|
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{python_sitearch}/cairocffi/_ffi.py*
|
|
|
|
%{python_sitearch}/cairocffi/_ffi_pixbuf.py*
|
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%{python_sitearch}/cairocffi/__pycache__/_ffi.cpython-*.py*
|
|
|
|
%{python_sitearch}/cairocffi/__pycache__/_ffi_pixbuf.cpython-*.py*
|
|
|
|
%endif
|
|
|
|
%doc LICENSE
|
|
|
|
|
|
|
|
%changelog
|
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
|