%global srcname seqdiag %global srcdesc \ seqdiag and its family generate diagram images from simply text file.\ \ Features:\ - Generates beautiful diagram images from simple text format (similar to\ graphviz’s DOT format)\ - Layouts diagram elements automatically\ - Embeds to many documentations; Sphinx, Trac, Redmine and some wikis\ \ - Supports many types of diagrams\ - sequence diagram (with this package)\ - block diagram (with the blockdiag package)\ - activity diagram (with the actdiag package)\ - logical network diagram (with the nwdiag package)\ \ Enjoy documentation with seqdiag ! Name: python-%{srcname} Version: 3.0.0 Release: 4%{?dist} Summary: Generate sequence-diagram images from text License: ASL 2.0 URL: http://blockdiag.com/ Source: %pypi_source BuildArch: noarch BuildRequires: python3-devel BuildRequires: pyproject-rpm-macros BuildRequires: %{py3_dist blockdiag} BuildRequires: %{py3_dist docutils} BuildRequires: %{py3_dist flake8} BuildRequires: %{py3_dist nose} BuildRequires: %{py3_dist pillow} BuildRequires: %{py3_dist reportlab} BuildRequires: %{py3_dist setuptools} BuildRequires: %{py3_dist tox-current-env} %description %{srcdesc} %package -n %{srcname} Summary: %{summary} Requires: python3-%{srcname} = %{version}-%{release} %description -n %{srcname} %{srcdesc} %package -n python3-%{srcname} Summary: Python 3 module for %{srcname} %{?python_provide:%python_provide python3-%{srcname}} %description -n python3-%{srcname} %{summary}. %prep %autosetup -n %{srcname}-%{version} -p1 %build %py3_build %install %py3_install install -m 0644 -D %{srcname}.1 %{buildroot}%{_mandir}/man1/%{srcname}.1 %check ALL_TESTS=1 %tox %files -n %{srcname} %license LICENSE %doc README.rst %{_bindir}/%{srcname} %{_mandir}/man1/%{srcname}.1* %files -n python3-%{srcname} %license LICENSE %doc PKG-INFO README.rst %{python3_sitelib}/%{srcname}* %exclude %{python3_sitelib}/%{srcname}/tests %changelog * Fri Jul 22 2022 Fedora Release Engineering - 3.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild * Mon Jun 13 2022 Python Maint - 3.0.0-3 - Rebuilt for Python 3.11 * Fri Jan 21 2022 Fedora Release Engineering - 3.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild * Thu Dec 09 2021 Dridi Boukelmoune - 3.0.0-1 - Bump version to 3.0.0 - Match blockdiag's summary - Bring the test suite back - Run the test suite with tox * Fri Jul 23 2021 Fedora Release Engineering - 2.0.0-7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild * Fri Jun 04 2021 Python Maint - 2.0.0-6 - Rebuilt for Python 3.10 * Wed Jan 27 2021 Fedora Release Engineering - 2.0.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild * Wed Jul 29 2020 Fedora Release Engineering - 2.0.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild * Tue May 26 2020 Miro Hrončok - 2.0.0-3 - Rebuilt for Python 3.9 * Thu Jan 30 2020 Fedora Release Engineering - 2.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild * Sun Jan 26 2020 Dridi Boukelmoune - 2.0.0-1 - Bunp version to 2.0 * Thu Oct 03 2019 Miro Hrončok - 0.9.6-6 - Rebuilt for Python 3.8.0rc1 (#1748018) * Mon Aug 19 2019 Miro Hrončok - 0.9.6-5 - Rebuilt for Python 3.8 * Tue Aug 13 2019 Dridi Boukelmoune - 0.9.6-4 - Drop pep8 dependency * Fri Jul 26 2019 Fedora Release Engineering - 0.9.6-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild * Sat Apr 20 2019 Dridi Boukelmoune - 0.9.6-2 - Move the seqdiag command to its own package - Temporarilly disable the test suite * Tue Feb 05 2019 Dridi Boukelmoune - 0.9.6-1 - Bump to 0.9.6 - Drop downstream patches (upstreamed) - Catch up with packaging guidelines - In general, use recommended RPM macros - Drop the Python 2 package - Inline package description * Sat Feb 02 2019 Fedora Release Engineering - 0.9.5-16 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild * Sat Jul 14 2018 Fedora Release Engineering - 0.9.5-15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild * Sat Jun 30 2018 Dridi Boukelmoune - 0.9.5-14 - Python 3.7 compatibility patch * Tue Jun 19 2018 Miro Hrončok - 0.9.5-13 - Rebuilt for Python 3.7 * Fri Feb 09 2018 Iryna Shcherbina - 0.9.5-12 - Update Python 2 dependency declarations to new packaging standards (See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3) * Fri Feb 09 2018 Fedora Release Engineering - 0.9.5-11 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Thu Aug 10 2017 Zbigniew Jędrzejewski-Szmek - 0.9.5-10 - Python 2 binary package renamed to python2-seqdiag See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3 * Thu Jul 27 2017 Fedora Release Engineering - 0.9.5-9 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild * Sat Feb 11 2017 Fedora Release Engineering - 0.9.5-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild * Mon Dec 19 2016 Miro Hrončok - 0.9.5-7 - Rebuild for Python 3.6 * Tue Jul 19 2016 Fedora Release Engineering - 0.9.5-6 - https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages * Mon Feb 22 2016 Dridi Boukelmoune - 0.9.5-5 - Drop pep8 test retired upstream * Thu Feb 04 2016 Fedora Release Engineering - 0.9.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild * Tue Nov 10 2015 Fedora Release Engineering - 0.9.5-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5 * Sat Sep 5 2015 Haïkel Guémar - 0.9.5-2 - Enable python3 subpackage * Wed Aug 26 2015 Haïkel Guémar - 0.9.5-1 - Upstream 0.9.5 * Thu Jun 18 2015 Fedora Release Engineering - 0.9.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild * Sat Jun 07 2014 Fedora Release Engineering - 0.9.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild * Mon May 19 2014 Bohuslav Kabrda - 0.9.0-3 - Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 * Tue Mar 04 2014 Dridi Boukelmoune - 0.9.0-2 - Fixed changelog format. - Fixed man page permissions. * Sun Mar 02 2014 Dridi Boukelmoune - 0.9.0-1 - Initial version.