|
rdobuilder |
6509a9 |
%global srcname blockdiag
|
|
rdobuilder |
6509a9 |
%global srcdesc \
|
|
rdobuilder |
6509a9 |
blockdiag and its family generate diagram images from simply text file.\
|
|
rdobuilder |
6509a9 |
\
|
|
rdobuilder |
6509a9 |
Features:\
|
|
rdobuilder |
6509a9 |
- Generates beautiful diagram images from simple text format (similar to\
|
|
rdobuilder |
6509a9 |
graphviz’s DOT format)\
|
|
rdobuilder |
6509a9 |
- Layouts diagram elements automatically\
|
|
rdobuilder |
6509a9 |
- Embeds to many documentations; Sphinx, Trac, Redmine and some wikis\
|
|
rdobuilder |
6509a9 |
\
|
|
rdobuilder |
6509a9 |
- Supports many types of diagrams\
|
|
rdobuilder |
6509a9 |
- block diagram (with this package)\
|
|
rdobuilder |
6509a9 |
- sequence diagram (with the seqdiag package)\
|
|
rdobuilder |
6509a9 |
- activity diagram (with the actdiag package)\
|
|
rdobuilder |
6509a9 |
- logical network diagram (with the nwdiag package)\
|
|
rdobuilder |
6509a9 |
\
|
|
rdobuilder |
6509a9 |
Enjoy documentation with blockdiag !
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
Name: python-%{srcname}
|
|
rdobuilder |
6509a9 |
Version: 3.0.0
|
|
rdobuilder |
6509a9 |
Release: 5%{?dist}
|
|
rdobuilder |
6509a9 |
Summary: Generate block-diagram images from text
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
License: ASL 2.0
|
|
rdobuilder |
6509a9 |
URL: https://blockdiag.com/
|
|
rdobuilder |
6509a9 |
Source: %pypi_source
|
|
rdobuilder |
6509a9 |
Patch0: https://patch-diff.githubusercontent.com/raw/blockdiag/blockdiag/pull/159.patch
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
BuildArch: noarch
|
|
rdobuilder |
6509a9 |
# upstream uses ipagp.ttf as its default font
|
|
rdobuilder |
6509a9 |
BuildRequires: ipa-pgothic-fonts
|
|
rdobuilder |
6509a9 |
BuildRequires: pyproject-rpm-macros
|
|
rdobuilder |
6509a9 |
BuildRequires: python3-devel
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist docutils}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist flake8}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist funcparserlib}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist mock}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist nose}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist pillow}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist reportlab}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist setuptools}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist tox-current-env}
|
|
rdobuilder |
6509a9 |
BuildRequires: %{py3_dist webcolors}
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%description %{srcdesc}
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%package -n %{srcname}
|
|
rdobuilder |
6509a9 |
Summary: %{summary}
|
|
rdobuilder |
6509a9 |
Requires: python3-%{srcname} = %{version}-%{release}
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%description -n %{srcname} %{srcdesc}
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%package -n python3-%{srcname}
|
|
rdobuilder |
6509a9 |
Summary: Python 3 module for %{srcname}
|
|
rdobuilder |
6509a9 |
Requires: ipa-pgothic-fonts
|
|
rdobuilder |
6509a9 |
Provides: python3-%{srcname}-devel = %{version}-%{release}
|
|
rdobuilder |
6509a9 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%description -n python3-%{srcname}
|
|
rdobuilder |
6509a9 |
%{summary}.
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%prep
|
|
rdobuilder |
6509a9 |
%autosetup -p1 -n %{srcname}-%{version}
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
# collateral from patch0:
|
|
rdobuilder |
6509a9 |
touch src/blockdiag/tests/diagrams/invalid.txt
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%build
|
|
rdobuilder |
6509a9 |
%py3_build
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%install
|
|
rdobuilder |
6509a9 |
%py3_install
|
|
rdobuilder |
6509a9 |
install -pm 644 -D %{srcname}.1 %{buildroot}%{_mandir}/man1/%{srcname}.1
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%check
|
|
rdobuilder |
6509a9 |
ALL_TESTS=1 %tox
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%files -n %{srcname}
|
|
rdobuilder |
6509a9 |
%license LICENSE
|
|
rdobuilder |
6509a9 |
%{_bindir}/%{srcname}
|
|
rdobuilder |
6509a9 |
%{_mandir}/man1/%{srcname}.1*
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%files -n python3-%{srcname}
|
|
rdobuilder |
6509a9 |
%license LICENSE
|
|
rdobuilder |
6509a9 |
%{python3_sitelib}/%{srcname}*
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
%changelog
|
|
rdobuilder |
6509a9 |
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-5
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Mon Jun 13 2022 Python Maint <python-maint@redhat.com> - 3.0.0-4
|
|
rdobuilder |
6509a9 |
- Rebuilt for Python 3.11
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 3.0.0-3
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Dec 10 2021 Dridi Boukelmoune <dridi@fedoraproject.com> - 3.0.0-2
|
|
rdobuilder |
6509a9 |
- Patch the test suite to skip networked tests
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Dec 07 2021 Dridi Boukelmoune <dridi@fedoraproject.com> - 3.0.0-1
|
|
rdobuilder |
6509a9 |
- Bump version to 3.0.0
|
|
rdobuilder |
6509a9 |
- Run the test suite with tox
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.1-5
|
|
rdobuilder |
6509a9 |
- Rebuilt for Python 3.10
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
|
|
rdobuilder |
6509a9 |
- Rebuilt for Python 3.9
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Mon Feb 10 2020 Dridi Boukelmoune <dridi@fedoraproject.com> - 2.0.1-1
|
|
rdobuilder |
6509a9 |
- Fold the devel subpackage in the python3 subpackage
|
|
rdobuilder |
6509a9 |
- Bump version to 2.0.1
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sun Jan 26 2020 Dridi Boukelmoune <dridi@fedoraproject.com> - 2.0.0-1
|
|
rdobuilder |
6509a9 |
- Bump version to 2.0.0
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.4-8
|
|
rdobuilder |
6509a9 |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.4-7
|
|
rdobuilder |
6509a9 |
- Rebuilt for Python 3.8
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Aug 13 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-6
|
|
rdobuilder |
6509a9 |
- Drop pep8 dependency
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-5
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Apr 20 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-4
|
|
rdobuilder |
6509a9 |
- Fix obsolete/provides for python 2
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Apr 20 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-3
|
|
rdobuilder |
6509a9 |
- Fix devel requires
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Apr 20 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-2
|
|
rdobuilder |
6509a9 |
- Move the blockdiag command to its own package
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Feb 05 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-1
|
|
rdobuilder |
6509a9 |
- Bump to 1.5.4
|
|
rdobuilder |
6509a9 |
- Drop downstream patches (upstreamed)
|
|
rdobuilder |
6509a9 |
- Catch up with packaging guidelines
|
|
rdobuilder |
6509a9 |
- In general, use recommended RPM macros
|
|
rdobuilder |
6509a9 |
- Drop the Python 2 package
|
|
rdobuilder |
6509a9 |
- Inline package description
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-16
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-15
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sun Jul 08 2018 Dridi Boukelmoune <dridi@fedoraproject.org> 1.5.3-14
|
|
rdobuilder |
6509a9 |
- Amended patch for Python 3.7
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Jul 03 2018 Dridi Boukelmoune <dridi@fedoraproject.org> 1.5.3-13
|
|
rdobuilder |
6509a9 |
- Patched for Python 3.7
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.3-12
|
|
rdobuilder |
6509a9 |
- Rebuilt for Python 3.7
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-11
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.3-10
|
|
rdobuilder |
6509a9 |
- Update Python 2 dependency declarations to new packaging standards
|
|
rdobuilder |
6509a9 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Aug 29 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1.5.3-9
|
|
rdobuilder |
6509a9 |
- Rename also -devel package
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.3-8
|
|
rdobuilder |
6509a9 |
- Python 2 binary package renamed to python2-blockdiag
|
|
rdobuilder |
6509a9 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-7
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-6
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.3-5
|
|
rdobuilder |
6509a9 |
- Rebuild for Python 3.6
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-4
|
|
rdobuilder |
6509a9 |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Thu Aug 20 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 1.5.3-1
|
|
rdobuilder |
6509a9 |
- Upstream 1.5.3
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-7
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-6
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Mon May 19 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.2-5
|
|
rdobuilder |
6509a9 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Mon Mar 03 2014 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-4
|
|
rdobuilder |
6509a9 |
- Switched to the source tarball from bitbucket
|
|
rdobuilder |
6509a9 |
- Added missing dependencies
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sun Feb 16 2014 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-3
|
|
rdobuilder |
6509a9 |
- Added devel packages needed by other *diag packages
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Tue Dec 31 2013 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-2
|
|
rdobuilder |
6509a9 |
- Fixed python => python2 where relevant
|
|
rdobuilder |
6509a9 |
- New slightly different summary
|
|
rdobuilder |
6509a9 |
|
|
rdobuilder |
6509a9 |
* Sat Dec 28 2013 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-1
|
|
rdobuilder |
6509a9 |
- Initial spec
|