Blame SPECS/python-sphinxcontrib-svg2pdfconverter.spec

475bf1
%global srcname sphinxcontrib-svg2pdfconverter
475bf1
475bf1
Name:           python-%{srcname}
475bf1
Version:        1.2.0
475bf1
Release:        13%{?dist}
475bf1
Summary:        Sphinx SVG to PDF Converter Extension
475bf1
475bf1
# Automatically converted from old format: BSD - review is highly recommended.
475bf1
License:        LicenseRef-Callaway-BSD
475bf1
URL:            https://pypi.org/project/sphinxcontrib-svg2pdfconverter/
475bf1
Source0:        https://files.pythonhosted.org/packages/source/s/%{srcname}/%{srcname}-%{version}.tar.gz
475bf1
475bf1
BuildRequires:  python3-devel
475bf1
BuildRequires:  python3dist(setuptools)
475bf1
BuildRequires:  python3dist(sphinx)
475bf1
BuildArch:      noarch
475bf1
475bf1
%description
475bf1
Converts SVG images to PDF in case the builder does not support SVG images
475bf1
natively (e.g. LaTeX).
475bf1
475bf1
475bf1
%package -n python3-%{srcname}-common
475bf1
Summary:        Sphinx SVG to PDF Converter Extension - common files
475bf1
475bf1
%description -n python3-%{srcname}-common
475bf1
Converts SVG images to PDF in case the builder does not support SVG images
475bf1
natively (e.g. LaTeX).
475bf1
This package contains common files.
475bf1
475bf1
475bf1
%package -n python3-sphinxcontrib-inkscapeconverter
475bf1
Summary:        Sphinx SVG to PDF Converter Extension - Inkscape converter
475bf1
475bf1
Requires:       /usr/bin/inkscape
475bf1
Requires:       python3-%{srcname}-common = %{version}-%{release}
475bf1
475bf1
%if 0%{?fedora} == 32
475bf1
%py_provides python3-sphinxcontrib-inkscapeconverter
475bf1
%endif
475bf1
475bf1
%description -n python3-sphinxcontrib-inkscapeconverter
475bf1
Converts SVG images to PDF in case the builder does not support SVG images
475bf1
natively (e.g. LaTeX).
475bf1
This package contains converter using Inkscape.
475bf1
475bf1
475bf1
%package -n python3-sphinxcontrib-rsvgconverter
475bf1
Summary:        Sphinx SVG to PDF Converter Extension - libRSVG converter
475bf1
475bf1
Requires:       /usr/bin/rsvg-convert
475bf1
Requires:       python3-%{srcname}-common = %{version}-%{release}
475bf1
475bf1
%if 0%{?fedora} == 32
475bf1
%py_provides python3-sphinxcontrib-rsvgconverter
475bf1
%endif
475bf1
475bf1
%description -n python3-sphinxcontrib-rsvgconverter
475bf1
Converts SVG images to PDF in case the builder does not support SVG images
475bf1
natively (e.g. LaTeX).
475bf1
This package contains converter using libRSVG.
475bf1
475bf1
475bf1
%package -n python3-sphinxcontrib-cairosvgconverter
475bf1
Summary:        Sphinx SVG to PDF Converter Extension - CairoSVG converter
475bf1
475bf1
Requires:       %{py3_dist CairoSVG}
475bf1
Requires:       python3-%{srcname}-common = %{version}-%{release}
475bf1
475bf1
%if 0%{?fedora} == 32
475bf1
%py_provides python3-sphinxcontrib-cairosvgconverter
475bf1
%endif
475bf1
475bf1
%description -n python3-sphinxcontrib-cairosvgconverter
475bf1
Converts SVG images to PDF in case the builder does not support SVG images
475bf1
natively (e.g. LaTeX).
475bf1
This package contains converter using CairoSVG.
475bf1
475bf1
475bf1
%prep
475bf1
%autosetup -n %{srcname}-%{version}
475bf1
475bf1
475bf1
%build
475bf1
%py3_build
475bf1
475bf1
475bf1
%install
475bf1
%py3_install
475bf1
475bf1
475bf1
#check
475bf1
#{__python3} setup.py test
475bf1
475bf1
475bf1
# Note that there is no %%files section for the unversioned python module
475bf1
%files -n python3-%{srcname}-common
475bf1
%license LICENSE.txt
475bf1
%doc README.rst
475bf1
%{python3_sitelib}/sphinxcontrib_svg2pdfconverter*nspkg.pth
475bf1
%{python3_sitelib}/sphinxcontrib_svg2pdfconverter-*.egg-info
475bf1
475bf1
475bf1
%files -n python3-sphinxcontrib-inkscapeconverter
475bf1
%{python3_sitelib}/sphinxcontrib/__pycache__/inkscapeconverter.*.pyc
475bf1
%{python3_sitelib}/sphinxcontrib/inkscapeconverter.py
475bf1
475bf1
475bf1
%files -n python3-sphinxcontrib-rsvgconverter
475bf1
%{python3_sitelib}/sphinxcontrib/__pycache__/rsvgconverter.*.pyc
475bf1
%{python3_sitelib}/sphinxcontrib/rsvgconverter.py
475bf1
475bf1
475bf1
%files -n python3-sphinxcontrib-cairosvgconverter
475bf1
%{python3_sitelib}/sphinxcontrib/__pycache__/cairosvgconverter.*.pyc
475bf1
%{python3_sitelib}/sphinxcontrib/cairosvgconverter.py
475bf1
475bf1
475bf1
%changelog
475bf1
* Sat Jan 18 2025 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-13
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
475bf1
475bf1
* Wed Sep 04 2024 Miroslav Suchý <msuchy@redhat.com> - 1.2.0-12
475bf1
- convert license to SPDX
475bf1
475bf1
* Fri Jul 19 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-11
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
475bf1
475bf1
* Fri Jun 07 2024 Python Maint <python-maint@redhat.com> - 1.2.0-10
475bf1
- Rebuilt for Python 3.13
475bf1
475bf1
* Fri Jan 26 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-9
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
475bf1
475bf1
* Mon Jan 22 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-8
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
475bf1
475bf1
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-7
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
475bf1
475bf1
* Wed Jun 14 2023 Python Maint <python-maint@redhat.com> - 1.2.0-6
475bf1
- Rebuilt for Python 3.12
475bf1
475bf1
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-5
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
475bf1
475bf1
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-4
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
475bf1
475bf1
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 1.2.0-3
475bf1
- Rebuilt for Python 3.11
475bf1
475bf1
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.0-2
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
475bf1
475bf1
* Mon Nov 08 2021 Julian Sikorski <belegdol@fedoraproject.org> - 1.2.0-1
475bf1
- Update to 1.2.0
475bf1
475bf1
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-5
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
475bf1
475bf1
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.1.1-4
475bf1
- Rebuilt for Python 3.10
475bf1
475bf1
* Fri Mar 05 2021 Julian.Sikorski <belegdol@fedoraproject.org> - 1.1.1-3
475bf1
- Modernise the .spec file
475bf1
475bf1
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-2
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
475bf1
475bf1
* Fri Jan  8 20:59:59 CET 2021 Julian Sikorski <belegdol@fedoraproject.org> - 1.1.1-1
475bf1
- Update to 1.1.1
475bf1
475bf1
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
475bf1
475bf1
* Wed Jun 24 2020 Julian Sikorski <belegdol@fedoraproject.org> - 1.1.0-1
475bf1
- Update to 1.1.0
475bf1
- Add -cairosvgconverter subpackage
475bf1
- Move BuildRequires to main package section
475bf1
- Add python3-setuptools to BuildRequires
475bf1
475bf1
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 1.0.1-3
475bf1
- Rebuilt for Python 3.9
475bf1
475bf1
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.1-2
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
475bf1
475bf1
* Sun Sep 15 2019 Julian Sikorski <belegdol@fedoraproject.org> - 1.0.1-1
475bf1
- Update to 1.0.1
475bf1
475bf1
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 0.1.0-4
475bf1
- Rebuilt for Python 3.8
475bf1
475bf1
* Sun Aug 04 2019 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.0-3
475bf1
- Correct the dependencies between subpackages
475bf1
475bf1
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.1.0-2
475bf1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
475bf1
475bf1
* Wed Feb 27 2019 Julian Sikorski <belegdol@fedoraproject.org> - 0.1.0-1
475bf1
- Initial RPM release