package created using the webbuild interface [release 0.7-1mamba;Mon Jun 22 2015]

This commit is contained in:
Silvan Calarco 2024-01-06 10:56:14 +01:00
parent 84a47c4221
commit fca0bc10c3
2 changed files with 57 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# python-cairocffi # python-cairocffi
A `CFFI`_-based drop-in replacement for Pycairo_.

55
python-cairocffi.spec Normal file
View File

@ -0,0 +1,55 @@
Name: python-cairocffi
Version: 0.7
Release: 1mamba
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.python.org/pypi/cairocffi
Source: https://pypi.python.org/packages/source/c/cairocffi/cairocffi-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
## note: run 'autospec -u -a6 python-cairocffi' to get the list of build requirements.
## AUTOBUILDREQ-END
BuildRequires: libpython-devel
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
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
%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
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7-1mamba
- package created using the webbuild interface