forked from pool/python-blockdiag
Accepting request 654395 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/654395 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-blockdiag?expand=0&rev=4
This commit is contained in:
@@ -1,3 +1,13 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 5 01:58:19 UTC 2018 - Jan Engelhardt <jengelh@inai.de>
|
||||||
|
|
||||||
|
- Use noun phrase in summary.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 4 12:46:14 UTC 2018 - Matej Cepl <mcepl@suse.com>
|
||||||
|
|
||||||
|
- Remove superfluous devel dependency for noarch package
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 6 13:27:49 UTC 2018 - aplanas@suse.com
|
Tue Mar 6 13:27:49 UTC 2018 - aplanas@suse.com
|
||||||
|
|
||||||
|
@@ -12,30 +12,34 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
# tests need network connection
|
# tests need network connection
|
||||||
%bcond_with tests
|
%bcond_with tests
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
|
||||||
Name: python-blockdiag
|
Name: python-blockdiag
|
||||||
Version: 1.5.3
|
Version: 1.5.3
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Generates block-diagram image from text
|
Summary: Program to generate block-diagram images from text
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
Url: http://blockdiag.com/
|
URL: http://blockdiag.com/
|
||||||
Source: https://files.pythonhosted.org/packages/source/b/blockdiag/blockdiag-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/b/blockdiag/blockdiag-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module Pillow >= 2.2.1}
|
BuildRequires: %{python_module Pillow >= 2.2.1}
|
||||||
BuildRequires: %{python_module devel}
|
|
||||||
BuildRequires: %{python_module funcparserlib >= 0.3.6}
|
BuildRequires: %{python_module funcparserlib >= 0.3.6}
|
||||||
BuildRequires: %{python_module reportlab}
|
BuildRequires: %{python_module reportlab}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module webcolors}
|
BuildRequires: %{python_module webcolors}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Pillow >= 2.2.1
|
||||||
|
Requires: python-funcparserlib >= 0.3.6
|
||||||
|
Requires: python-webcolors
|
||||||
|
Requires(post): update-alternatives
|
||||||
|
Requires(preun): update-alternatives
|
||||||
|
BuildArch: noarch
|
||||||
%if %{with tests}
|
%if %{with tests}
|
||||||
BuildRequires: %{python_module docutils}
|
BuildRequires: %{python_module docutils}
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
@@ -43,23 +47,16 @@ BuildRequires: %{python_module nose}
|
|||||||
BuildRequires: %{python_module pep8 >= 1.3}
|
BuildRequires: %{python_module pep8 >= 1.3}
|
||||||
BuildRequires: %{python_module pip >= 1.4.1}
|
BuildRequires: %{python_module pip >= 1.4.1}
|
||||||
%endif
|
%endif
|
||||||
Requires: python-Pillow >= 2.2.1
|
|
||||||
Requires: python-funcparserlib >= 0.3.6
|
|
||||||
Requires: python-webcolors
|
|
||||||
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
%if 0%{?suse_version} >= 1000 || 0%{?fedora_version} >= 24
|
||||||
Recommends: ghostscript
|
Recommends: ghostscript
|
||||||
Recommends: python-Wand
|
Recommends: python-Wand
|
||||||
Recommends: python-reportlab
|
Recommends: python-reportlab
|
||||||
%endif
|
%endif
|
||||||
Requires(post): update-alternatives
|
|
||||||
Requires(preun): update-alternatives
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
||||||
BuildArch: noarch
|
|
||||||
%python_subpackages
|
%python_subpackages
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The blockdiag package generates block-diagram image file
|
The blockdiag package generates block-diagram image files
|
||||||
from a spec-text file.
|
from spec-text files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n blockdiag-%{version}
|
%setup -q -n blockdiag-%{version}
|
||||||
@@ -84,8 +81,8 @@ from a spec-text file.
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%files %{python_files}
|
%files %{python_files}
|
||||||
%defattr(-,root,root,-)
|
%license LICENSE
|
||||||
%doc CHANGES.rst LICENSE README.rst
|
%doc CHANGES.rst README.rst
|
||||||
%python_alternative %{_bindir}/blockdiag
|
%python_alternative %{_bindir}/blockdiag
|
||||||
%{python_sitelib}/*
|
%{python_sitelib}/*
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user