Blame SPECS/python-seqdiag.spec

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