From 16e7659280fa5cb181e79876d2cdef87070d081f Mon Sep 17 00:00:00 2001 From: Alfredo Moralejo Date: Sep 11 2021 11:30:46 +0000 Subject: Import python-sphinxcontrib-svg2pdfconverter-1.1.1-3.el9 in CloudSIG xena --- diff --git a/.python-sphinxcontrib-svg2pdfconverter.metadata b/.python-sphinxcontrib-svg2pdfconverter.metadata new file mode 100644 index 0000000..9ed0aac --- /dev/null +++ b/.python-sphinxcontrib-svg2pdfconverter.metadata @@ -0,0 +1 @@ +f093708f28e82cb050193947a55675b3ed950609 SOURCES/sphinxcontrib-svg2pdfconverter-1.1.1.tar.gz diff --git a/SOURCES/README.md b/SOURCES/README.md new file mode 100644 index 0000000..1d47896 --- /dev/null +++ b/SOURCES/README.md @@ -0,0 +1,3 @@ +# python-sphinxcontrib-svg2pdfconverter + +The python-sphinxcontrib-svg2pdfconverter package \ No newline at end of file diff --git a/SPECS/python-sphinxcontrib-svg2pdfconverter.spec b/SPECS/python-sphinxcontrib-svg2pdfconverter.spec new file mode 100644 index 0000000..d6f693f --- /dev/null +++ b/SPECS/python-sphinxcontrib-svg2pdfconverter.spec @@ -0,0 +1,156 @@ +%global srcname sphinxcontrib-svg2pdfconverter + +Name: python-%{srcname} +Version: 1.1.1 +Release: 3%{?dist} +Summary: Sphinx SVG to PDF Converter Extension + +License: BSD +URL: https://pypi.org/project/sphinxcontrib-svg2pdfconverter/ +Source0: https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz + +BuildRequires: python3-devel +BuildRequires: python3dist(setuptools) +BuildRequires: python3dist(sphinx) +BuildArch: noarch + +%description +Converts SVG images to PDF in case the builder does not support SVG images +natively (e.g. LaTeX). + + +%package -n python3-%{srcname}-common +Summary: Sphinx SVG to PDF Converter Extension - common files + +%description -n python3-%{srcname}-common +Converts SVG images to PDF in case the builder does not support SVG images +natively (e.g. LaTeX). +This package contains common files. + + +%package -n python3-sphinxcontrib-inkscapeconverter +Summary: Sphinx SVG to PDF Converter Extension - Inkscape converter + +Requires: /usr/bin/inkscape +Requires: python3-%{srcname}-common = %{version}-%{release} + +%if 0%{?fedora} == 32 +%py_provides python3-sphinxcontrib-inkscapeconverter +%endif + +%description -n python3-sphinxcontrib-inkscapeconverter +Converts SVG images to PDF in case the builder does not support SVG images +natively (e.g. LaTeX). +This package contains converter using Inkscape. + + +%package -n python3-sphinxcontrib-rsvgconverter +Summary: Sphinx SVG to PDF Converter Extension - libRSVG converter + +Requires: /usr/bin/rsvg-convert +Requires: python3-%{srcname}-common = %{version}-%{release} + +%if 0%{?fedora} == 32 +%py_provides python3-sphinxcontrib-rsvgconverter +%endif + +%description -n python3-sphinxcontrib-rsvgconverter +Converts SVG images to PDF in case the builder does not support SVG images +natively (e.g. LaTeX). +This package contains converter using libRSVG. + + +%package -n python3-sphinxcontrib-cairosvgconverter +Summary: Sphinx SVG to PDF Converter Extension - CairoSVG converter + +Requires: %{py3_dist CairoSVG} +Requires: python3-%{srcname}-common = %{version}-%{release} + +%if 0%{?fedora} == 32 +%py_provides python3-sphinxcontrib-cairosvgconverter +%endif + +%description -n python3-sphinxcontrib-cairosvgconverter +Converts SVG images to PDF in case the builder does not support SVG images +natively (e.g. LaTeX). +This package contains converter using CairoSVG. + + +%prep +%autosetup -n %{srcname}-%{version} + + +%build +%py3_build + + +%install +%py3_install + + +#check +#{__python3} setup.py test + + +# Note that there is no %%files section for the unversioned python module +%files -n python3-%{srcname}-common +%license LICENSE.txt +%doc README.rst +%{python3_sitelib}/sphinxcontrib_svg2pdfconverter*nspkg.pth +%{python3_sitelib}/sphinxcontrib_svg2pdfconverter-*.egg-info + + +%files -n python3-sphinxcontrib-inkscapeconverter +%{python3_sitelib}/sphinxcontrib/__pycache__/inkscapeconverter.*.pyc +%{python3_sitelib}/sphinxcontrib/inkscapeconverter.py + + +%files -n python3-sphinxcontrib-rsvgconverter +%{python3_sitelib}/sphinxcontrib/__pycache__/rsvgconverter.*.pyc +%{python3_sitelib}/sphinxcontrib/rsvgconverter.py + + +%files -n python3-sphinxcontrib-cairosvgconverter +%{python3_sitelib}/sphinxcontrib/__pycache__/cairosvgconverter.*.pyc +%{python3_sitelib}/sphinxcontrib/cairosvgconverter.py + + +%changelog +* Fri Mar 05 2021 Julian.Sikorski - 1.1.1-3 +- Modernise the .spec file + +* Wed Jan 27 2021 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Fri Jan 8 20:59:59 CET 2021 Julian Sikorski - 1.1.1-1 +- Update to 1.1.1 + +* Wed Jul 29 2020 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Wed Jun 24 2020 Julian Sikorski - 1.1.0-1 +- Update to 1.1.0 +- Add -cairosvgconverter subpackage +- Move BuildRequires to main package section +- Add python3-setuptools to BuildRequires + +* Tue May 26 2020 Miro Hrončok - 1.0.1-3 +- Rebuilt for Python 3.9 + +* Thu Jan 30 2020 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sun Sep 15 2019 Julian Sikorski - 1.0.1-1 +- Update to 1.0.1 + +* Mon Aug 19 2019 Miro Hrončok - 0.1.0-4 +- Rebuilt for Python 3.8 + +* Sun Aug 04 2019 Julian Sikorski - 0.1.0-3 +- Correct the dependencies between subpackages + +* Fri Jul 26 2019 Fedora Release Engineering - 0.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Wed Feb 27 2019 Julian Sikorski - 0.1.0-1 +- Initial RPM release