!2 Update package blockdiag of version 3.0.0

From: @huangtianhua 
Reviewed-by: @myeuler 
Signed-off-by: @myeuler
This commit is contained in:
openeuler-ci-bot 2022-07-05 06:46:34 +00:00 committed by Gitee
commit 5efe7177ea
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 42 additions and 41 deletions

Binary file not shown.

BIN
blockdiag-3.0.0.tar.gz Normal file

Binary file not shown.

View File

@ -1,61 +1,58 @@
%global _empty_manifest_terminate_build 0 %global _empty_manifest_terminate_build 0
Name: python-blockdiag Name: python-blockdiag
Version: 2.0.1 Version: 3.0.0
Release: 1 Release: 1
Summary: blockdiag generates block-diagram image from text Summary: blockdiag generates block-diagram image from text
License: Apache License 2.0 License: Apache-2.0
URL: http://blockdiag.com/ URL: http://blockdiag.com/
Source0: https://files.pythonhosted.org/packages/b6/1b/eab880ae3e6c7e24ae5adecc40ee7dd05c9ebb0dff6c39b52472844ce9b7/blockdiag-2.0.1.tar.gz Source0: https://files.pythonhosted.org/packages/b4/eb/e2a4b6d5bf7f7121104ac7a1fc80b5dfa86ba286adbd1f25bf32a090a5eb/blockdiag-3.0.0.tar.gz
BuildArch: noarch BuildArch: noarch
Requires: python3-setuptools
Requires: python3-funcparserlib
Requires: python3-Pillow
Requires: python3-webcolors
Requires: python3-reportlab
Requires: python3-docutils
Requires: python3-nose
Requires: python3-flake8
Requires: python3-flake8-coding
Requires: python3-flake8-copyright
Requires: python3-flake8-isort
Requires: python3-reportlab
Requires: python3-docutils
%description %description
* Generate block-diagram from dot like text (basic feature). * Generate block-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only). * Multilingualization for node-label (utf-8 only).
You can get some examples and generated images on
`blockdiag.com <http://blockdiag.com/en/blockdiag/examples.html>`_ .
%package -n python3-blockdiag %package -n python3-blockdiag
Summary: blockdiag generates block-diagram image from text Summary: blockdiag generates block-diagram image from text
Provides: python-blockdiag Provides: python-blockdiag
BuildRequires: python3-devel # Base build requires
BuildRequires: python3-setuptools BuildRequires: python3-devel
BuildRequires: python3-setuptools
BuildRequires: python3-pbr
BuildRequires: python3-pip
BuildRequires: python3-wheel
# General requires
BuildRequires: python3-funcparserlib
BuildRequires: python3-pillow
BuildRequires: python3-webcolors
BuildRequires: python3-reportlab
BuildRequires: python3-docutils
# General requires
Requires: python3-setuptools
Requires: python3-funcparserlib
Requires: python3-pillow
Requires: python3-webcolors
Requires: python3-reportlab
Requires: python3-docutils
%description -n python3-blockdiag %description -n python3-blockdiag
* Generate block-diagram from dot like text (basic feature). * Generate block-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only). * Multilingualization for node-label (utf-8 only).
You can get some examples and generated images on
`blockdiag.com <http://blockdiag.com/en/blockdiag/examples.html>`_ .
%package help %package help
Summary: Development documents and examples for blockdiag Summary: blockdiag generates block-diagram image from text
Provides: python3-blockdiag-doc Provides: python3-blockdiag-doc
%description help %description help
* Generate block-diagram from dot like text (basic feature). * Generate block-diagram from dot like text (basic feature).
* Multilingualization for node-label (utf-8 only). * Multilingualization for node-label (utf-8 only).
You can get some examples and generated images on
`blockdiag.com <http://blockdiag.com/en/blockdiag/examples.html>`_ .
%prep %prep
%autosetup -n blockdiag-2.0.1 %autosetup -n blockdiag-%{version}
%build %build
%py3_build %py3_build
%install %install
%py3_install %py3_install
install -d -m755 %{buildroot}/%{_pkgdocdir} install -d -m755 %{buildroot}/%{_pkgdocdir}
if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi
if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi
@ -63,25 +60,26 @@ if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi
if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi
pushd %{buildroot} pushd %{buildroot}
if [ -d usr/lib ]; then if [ -d usr/lib ]; then
find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/lib64 ]; then if [ -d usr/lib64 ]; then
find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/bin ]; then if [ -d usr/bin ]; then
find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
if [ -d usr/sbin ]; then if [ -d usr/sbin ]; then
find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst
fi fi
touch doclist.lst touch doclist.lst
if [ -d usr/share/man ]; then if [ -d usr/share/man ]; then
find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst
fi fi
popd popd
mv %{buildroot}/filelist.lst . mv %{buildroot}/filelist.lst .
mv %{buildroot}/doclist.lst . mv %{buildroot}/doclist.lst .
%files -n python3-blockdiag -f filelist.lst %files -n python3-blockdiag -f filelist.lst
%dir %{python3_sitelib}/* %dir %{python3_sitelib}/*
@ -89,5 +87,8 @@ mv %{buildroot}/doclist.lst .
%{_docdir}/* %{_docdir}/*
%changelog %changelog
* Mon Jul 04 2022 OpenStack_SIG <openstack@openeuler.org> - 3.0.0-1
- Upgrade package python3-blockdiag to version 3.0.0
* Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org> * Mon Nov 23 2020 Python_Bot <Python_Bot@openeuler.org>
- Package Spec generated - Package Spec generated