forked from pool/python-seqdiag
Accepting request 532594 from home:apersaud:branches:devel:languages:python
update to latest version OBS-URL: https://build.opensuse.org/request/show/532594 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-seqdiag?expand=0&rev=2
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-seqdiag
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -16,6 +16,7 @@
|
||||
#
|
||||
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-seqdiag
|
||||
Version: 0.9.5
|
||||
Release: 0
|
||||
@@ -24,9 +25,10 @@ License: Apache-2.0
|
||||
Group: Development/Languages/Python
|
||||
Url: http://blockdiag.com/
|
||||
Source: https://pypi.python.org/packages/source/s/seqdiag/seqdiag-%{version}.tar.gz
|
||||
BuildRequires: python-blockdiag >= 1.5.0
|
||||
BuildRequires: python-devel
|
||||
BuildRequires: python-setuptools
|
||||
BuildRequires: %{python_module blockdiag >= 1.5.0}
|
||||
BuildRequires: %{python_module devel}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-blockdiag >= 1.5.0
|
||||
Requires: python-setuptools
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@@ -35,6 +37,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%else
|
||||
BuildArch: noarch
|
||||
%endif
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
`seqdiag` generate sequence-diagram image file from spec-text file.
|
||||
@@ -46,15 +49,15 @@ BuildArch: noarch
|
||||
%setup -q -n seqdiag-%{version}
|
||||
|
||||
%build
|
||||
python setup.py build
|
||||
%python_build
|
||||
|
||||
%install
|
||||
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
|
||||
%python_install
|
||||
|
||||
%files
|
||||
%files %{python_files}
|
||||
%defattr(-,root,root,-)
|
||||
%doc CHANGES.rst LICENSE README.rst
|
||||
%{_bindir}/seqdiag
|
||||
%python3_only %{_bindir}/seqdiag
|
||||
%{python_sitelib}/*
|
||||
|
||||
%changelog
|
||||
|
Reference in New Issue
Block a user