2024-01-06 10:39:44 +01:00
|
|
|
Name: python-CairoSVG
|
2024-01-06 10:39:46 +01:00
|
|
|
Version: 2.7.1
|
|
|
|
Release: 1mamba
|
2024-01-06 10:39:44 +01:00
|
|
|
Summary: A Simple SVG Converter for Cairo
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 10:39:44 +01:00
|
|
|
URL: https://pypi.org/project/CairoSVG/
|
2024-01-06 10:39:44 +01:00
|
|
|
Source: https://pypi.debian.net/CairoSVG/CairoSVG-%{version}.tar.gz
|
2024-01-06 10:39:44 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
2024-01-06 10:39:44 +01:00
|
|
|
BuildRequires: libpython3-devel
|
|
|
|
BuildRequires: python3.7dist(cairocffi)
|
|
|
|
BuildRequires: python3.7dist(cssselect2)
|
|
|
|
BuildRequires: python3.7dist(defusedxml)
|
|
|
|
BuildRequires: python3.7dist(pillow)
|
|
|
|
BuildRequires: python3.7dist(setuptools)
|
|
|
|
BuildRequires: python3.7dist(tinycss2)
|
2024-01-06 10:39:44 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-01-06 10:39:44 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
%{summary}.
|
|
|
|
|
|
|
|
%if "%{?with_pyver}"
|
|
|
|
%pyver_package
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n CairoSVG-%{version}
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
%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:39:44 +01:00
|
|
|
sed -i "\,\.egg-info/,d;s,.*/man/.*,&.gz," %{name}.filelist
|
2024-01-06 10:39:44 +01:00
|
|
|
|
2024-01-06 10:39:46 +01:00
|
|
|
%if "%{?with_pyver}" != "3"
|
|
|
|
# Rename any conflicting file outside of python site packages tree
|
|
|
|
for f in %{_bindir}/cairosvg; do
|
|
|
|
mv %{buildroot}${f}{,-%{?pyappend}}
|
|
|
|
sed -i "s|${f}|${f}-%{?pyappend}|" %{name}.filelist
|
|
|
|
done
|
|
|
|
%endif
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
%files %{?pyappend} -f %{name}.filelist
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 10:39:44 +01:00
|
|
|
%dir %{python_sitearch}/CairoSVG-%{version}-py*.egg-info
|
|
|
|
%{python_sitearch}/CairoSVG-%{version}-py*.egg-info/*
|
2024-01-06 10:39:44 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-01-06 10:39:46 +01:00
|
|
|
* Sun Aug 06 2023 Automatic Build System <autodist@mambasoft.it> 2.7.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:39:46 +01:00
|
|
|
* Wed Mar 22 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 2.7.0-2mamba
|
|
|
|
- rebuilt with python 3.10
|
|
|
|
|
2024-01-06 10:39:45 +01:00
|
|
|
* Tue Mar 21 2023 Automatic Build System <autodist@mambasoft.it> 2.7.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:39:45 +01:00
|
|
|
* Fri Jan 13 2023 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
* Sat Nov 12 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 2.5.2-2mamba
|
|
|
|
- rebuilt with distdeps
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
* Sat Mar 20 2021 Automatic Build System <autodist@mambasoft.it> 2.5.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
* Wed Sep 09 2020 Automatic Build System <autodist@mambasoft.it> 2.4.2-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
* Thu Aug 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.0-1mamba
|
|
|
|
- update to 2.4.0
|
|
|
|
|
2024-01-06 10:39:44 +01:00
|
|
|
* Mon Jun 22 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1mamba
|
|
|
|
- package created using the webbuild interface
|