|
|
9f1e4e6 |
%global srcname blockdiag
|
|
|
9f1e4e6 |
%global srcdesc \
|
|
|
9f1e4e6 |
blockdiag and its family generate diagram images from simply text file.\
|
|
|
9f1e4e6 |
\
|
|
|
9f1e4e6 |
Features:\
|
|
|
9f1e4e6 |
- Generates beautiful diagram images from simple text format (similar to\
|
|
|
9f1e4e6 |
graphviz’s DOT format)\
|
|
|
9f1e4e6 |
- Layouts diagram elements automatically\
|
|
|
9f1e4e6 |
- Embeds to many documentations; Sphinx, Trac, Redmine and some wikis\
|
|
|
9f1e4e6 |
\
|
|
|
9f1e4e6 |
- Supports many types of diagrams\
|
|
|
9f1e4e6 |
- block diagram (with this package)\
|
|
|
9f1e4e6 |
- sequence diagram (with the seqdiag package)\
|
|
|
9f1e4e6 |
- activity diagram (with the actdiag package)\
|
|
|
9f1e4e6 |
- logical network diagram (with the nwdiag package)\
|
|
|
9f1e4e6 |
\
|
|
|
9f1e4e6 |
Enjoy documentation with blockdiag !
|
|
|
f1fba99 |
|
|
|
f1fba99 |
Name: python-%{srcname}
|
|
|
2c1e9b3 |
Version: 3.0.0
|
|
|
2c1e9b3 |
Release: 1%{?dist}
|
|
|
f1fba99 |
Summary: Generate block-diagram images from text
|
|
|
f1fba99 |
|
|
|
f1fba99 |
License: ASL 2.0
|
|
|
94710fe |
URL: https://blockdiag.com/
|
|
|
9f1e4e6 |
Source: %pypi_source
|
|
|
f1fba99 |
|
|
|
f1fba99 |
BuildArch: noarch
|
|
|
f1fba99 |
# upstream uses ipagp.ttf as its default font
|
|
|
f1fba99 |
BuildRequires: ipa-pgothic-fonts
|
|
|
2c1e9b3 |
BuildRequires: pyproject-rpm-macros
|
|
|
9f1e4e6 |
BuildRequires: python3-devel
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist docutils}
|
|
|
2c1e9b3 |
BuildRequires: %{py3_dist flake8}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist funcparserlib}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist mock}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist nose}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist pillow}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist reportlab}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist setuptools}
|
|
|
2c1e9b3 |
BuildRequires: %{py3_dist tox-current-env}
|
|
|
9f1e4e6 |
BuildRequires: %{py3_dist webcolors}
|
|
|
f1fba99 |
|
|
|
042acd1 |
|
|
|
9f1e4e6 |
%description %{srcdesc}
|
|
|
081627c |
|
|
|
081627c |
|
|
|
1ca1f47 |
%package -n %{srcname}
|
|
|
f1fba99 |
Summary: %{summary}
|
|
|
1ca1f47 |
Requires: python3-%{srcname} = %{version}-%{release}
|
|
|
186321f |
|
|
|
1ca1f47 |
|
|
|
1ca1f47 |
%description -n %{srcname} %{srcdesc}
|
|
|
1ca1f47 |
|
|
|
1ca1f47 |
|
|
|
1ca1f47 |
%package -n python3-%{srcname}
|
|
|
1ca1f47 |
Summary: Python 3 module for %{srcname}
|
|
|
f1fba99 |
Requires: ipa-pgothic-fonts
|
|
|
60b9557 |
Provides: python3-%{srcname}-devel = %{version}-%{release}
|
|
|
9f1e4e6 |
%{?python_provide:%python_provide python3-%{srcname}}
|
|
|
f1fba99 |
|
|
|
f1fba99 |
|
|
|
1ca1f47 |
%description -n python3-%{srcname}
|
|
|
1ca1f47 |
%{summary}.
|
|
|
f1fba99 |
|
|
|
f1fba99 |
|
|
|
f1fba99 |
%prep
|
|
|
9f1e4e6 |
%autosetup -n %{srcname}-%{version}
|
|
|
f1fba99 |
|
|
|
f1fba99 |
|
|
|
f1fba99 |
%build
|
|
|
9f1e4e6 |
%py3_build
|
|
|
f1fba99 |
|
|
|
f1fba99 |
|
|
|
f1fba99 |
%install
|
|
|
9f1e4e6 |
%py3_install
|
|
|
f1fba99 |
install -pm 644 -D %{srcname}.1 %{buildroot}%{_mandir}/man1/%{srcname}.1
|
|
|
f1fba99 |
|
|
|
f1fba99 |
|
|
|
f1fba99 |
%check
|
|
|
2c1e9b3 |
# some tests fail for lack of network access
|
|
|
2c1e9b3 |
%tox || :
|
|
|
f1fba99 |
|
|
|
f1fba99 |
|
|
|
1ca1f47 |
%files -n %{srcname}
|
|
|
a1f1a1c |
%license LICENSE
|
|
|
f1fba99 |
%{_bindir}/%{srcname}
|
|
|
f1fba99 |
%{_mandir}/man1/%{srcname}.1*
|
|
|
1ca1f47 |
|
|
|
1ca1f47 |
|
|
|
1ca1f47 |
%files -n python3-%{srcname}
|
|
|
1ca1f47 |
%license LICENSE
|
|
|
f1fba99 |
%{python3_sitelib}/%{srcname}*
|
|
|
9f1e4e6 |
|
|
|
f1fba99 |
|
|
|
f1fba99 |
%changelog
|
|
|
2c1e9b3 |
* Tue Dec 07 2021 Dridi Boukelmoune <dridi@fedoraproject.com> - 3.0.0-1
|
|
|
2c1e9b3 |
- Bump version to 3.0.0
|
|
|
2c1e9b3 |
- Run the test suite with tox
|
|
|
2c1e9b3 |
|
|
|
1fc0b91 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-6
|
|
|
1fc0b91 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
1fc0b91 |
|
|
|
231487c |
* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 2.0.1-5
|
|
|
231487c |
- Rebuilt for Python 3.10
|
|
|
231487c |
|
|
|
085c716 |
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-4
|
|
|
085c716 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
085c716 |
|
|
|
973fb8f |
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.1-3
|
|
|
973fb8f |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
973fb8f |
|
|
|
243c3e0 |
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 2.0.1-2
|
|
|
243c3e0 |
- Rebuilt for Python 3.9
|
|
|
243c3e0 |
|
|
|
60b9557 |
* Mon Feb 10 2020 Dridi Boukelmoune <dridi@fedoraproject.com> - 2.0.1-1
|
|
|
60b9557 |
- Fold the devel subpackage in the python3 subpackage
|
|
|
6e0c8a1 |
- Bump version to 2.0.1
|
|
|
60b9557 |
|
|
|
c67f33c |
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.0-2
|
|
|
c67f33c |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
c67f33c |
|
|
|
94710fe |
* Sun Jan 26 2020 Dridi Boukelmoune <dridi@fedoraproject.com> - 2.0.0-1
|
|
|
94710fe |
- Bump version to 2.0.0
|
|
|
94710fe |
|
|
|
d4c70ee |
* Thu Oct 03 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.4-8
|
|
|
d4c70ee |
- Rebuilt for Python 3.8.0rc1 (#1748018)
|
|
|
d4c70ee |
|
|
|
adc8e6a |
* Mon Aug 19 2019 Miro Hrončok <mhroncok@redhat.com> - 1.5.4-7
|
|
|
adc8e6a |
- Rebuilt for Python 3.8
|
|
|
adc8e6a |
|
|
|
01570d7 |
* Tue Aug 13 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-6
|
|
|
cdcbd72 |
- Drop pep8 dependency
|
|
|
cdcbd72 |
|
|
|
9c51ac1 |
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.4-5
|
|
|
9c51ac1 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
9c51ac1 |
|
|
|
d426eb9 |
* Sat Apr 20 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-4
|
|
|
d426eb9 |
- Fix obsolete/provides for python 2
|
|
|
d426eb9 |
|
|
|
1acafce |
* Sat Apr 20 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-3
|
|
|
1acafce |
- Fix devel requires
|
|
|
1acafce |
|
|
|
1ca1f47 |
* Sat Apr 20 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-2
|
|
|
1ca1f47 |
- Move the blockdiag command to its own package
|
|
|
1ca1f47 |
|
|
|
9f1e4e6 |
* Tue Feb 05 2019 Dridi Boukelmoune <dridi@fedoraproject.org> - 1.5.4-1
|
|
|
9f1e4e6 |
- Bump to 1.5.4
|
|
|
94710fe |
- Drop downstream patches (upstreamed)
|
|
|
9f1e4e6 |
- Catch up with packaging guidelines
|
|
|
9f1e4e6 |
- In general, use recommended RPM macros
|
|
|
9f1e4e6 |
- Drop the Python 2 package
|
|
|
9f1e4e6 |
- Inline package description
|
|
|
9f1e4e6 |
|
|
|
b90c139 |
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-16
|
|
|
b90c139 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
b90c139 |
|
|
|
87b9804 |
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-15
|
|
|
87b9804 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
87b9804 |
|
|
|
9f1e4e6 |
* Sun Jul 08 2018 Dridi Boukelmoune <dridi@fedoraproject.org> 1.5.3-14
|
|
|
46a98cb |
- Amended patch for Python 3.7
|
|
|
46a98cb |
|
|
|
9f1e4e6 |
* Tue Jul 03 2018 Dridi Boukelmoune <dridi@fedoraproject.org> 1.5.3-13
|
|
|
59b3801 |
- Patched for Python 3.7
|
|
|
59b3801 |
|
|
|
7e6949e |
* Tue Jun 19 2018 Miro Hrončok <mhroncok@redhat.com> - 1.5.3-12
|
|
|
7e6949e |
- Rebuilt for Python 3.7
|
|
|
7e6949e |
|
|
|
34669e5 |
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-11
|
|
|
34669e5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
34669e5 |
|
|
|
c7a5c63 |
* Tue Jan 16 2018 Iryna Shcherbina <ishcherb@redhat.com> - 1.5.3-10
|
|
|
c7a5c63 |
- Update Python 2 dependency declarations to new packaging standards
|
|
|
c7a5c63 |
(See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3)
|
|
|
c7a5c63 |
|
|
|
42382a7 |
* Tue Aug 29 2017 Haïkel Guémar <hguemar@fedoraproject.org> - 1.5.3-9
|
|
|
081627c |
- Rename also -devel package
|
|
|
081627c |
|
|
|
042acd1 |
* Sat Aug 19 2017 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.5.3-8
|
|
|
042acd1 |
- Python 2 binary package renamed to python2-blockdiag
|
|
|
042acd1 |
See https://fedoraproject.org/wiki/FinalizingFedoraSwitchtoPython3
|
|
|
042acd1 |
|
|
|
5ede464 |
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-7
|
|
|
5ede464 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
5ede464 |
|
|
|
3ea6a48 |
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-6
|
|
|
3ea6a48 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
3ea6a48 |
|
|
|
dcfeae5 |
* Mon Dec 19 2016 Miro Hrončok <mhroncok@redhat.com> - 1.5.3-5
|
|
|
dcfeae5 |
- Rebuild for Python 3.6
|
|
|
dcfeae5 |
|
|
|
4b6196c |
* Tue Jul 19 2016 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-4
|
|
|
4b6196c |
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
|
|
|
4b6196c |
|
|
|
a3bd3f2 |
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5.3-3
|
|
|
a3bd3f2 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
a3bd3f2 |
|
|
|
428a7cd |
* Tue Nov 10 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.3-2
|
|
|
428a7cd |
- Rebuilt for https://fedoraproject.org/wiki/Changes/python3.5
|
|
|
428a7cd |
|
|
|
a1f1a1c |
* Thu Aug 20 2015 Haïkel Guémar <hguemar@fedoraproject.org> - 1.5.3-1
|
|
|
a1f1a1c |
- Upstream 1.5.3
|
|
|
a1f1a1c |
|
|
|
0b66ece |
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-7
|
|
|
0b66ece |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
0b66ece |
|
|
|
bf9ba40 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.2-6
|
|
|
bf9ba40 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
bf9ba40 |
|
|
|
ca13be4 |
* Mon May 19 2014 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.2-5
|
|
|
ca13be4 |
- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4
|
|
|
ca13be4 |
|
|
|
9f1e4e6 |
* Mon Mar 03 2014 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-4
|
|
|
623e758 |
- Switched to the source tarball from bitbucket
|
|
|
623e758 |
- Added missing dependencies
|
|
|
623e758 |
|
|
|
9f1e4e6 |
* Sun Feb 16 2014 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-3
|
|
|
61ce583 |
- Added devel packages needed by other *diag packages
|
|
|
61ce583 |
|
|
|
9f1e4e6 |
* Tue Dec 31 2013 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-2
|
|
|
f1fba99 |
- Fixed python => python2 where relevant
|
|
|
f1fba99 |
- New slightly different summary
|
|
|
f1fba99 |
|
|
|
9f1e4e6 |
* Sat Dec 28 2013 Dridi Boukelmoune <dridi@fedoraproject.org> 1.3.2-1
|
|
|
f1fba99 |
- Initial spec
|