python-paste-deploy/python-paste-deploy.spec
2020-07-16 10:16:45 +08:00

69 lines
2.1 KiB
RPMSpec

Name: python-paste-deploy
Version: 2.1.0
Release: 1
Summary: Load, configure, and compose WSGI applications and servers
License: MIT
URL: http://pythonpaste.org/deploy
Source0: http://cheeseshop.python.org/packages/source/P/PasteDeploy/PasteDeploy-%{version}.tar.gz
BuildArch: noarch
BuildRequires: python2-devel > 2.4, python2-setuptools, python3-devel, python3-setuptools
%description
This tool provides code to load WSGI applications and servers
from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve
applications based on this configuration file.
%package -n python2-paste-deploy
%{?python_provide:%python_provide python2-paste-deploy}
Summary: Load, configure, and compose WSGI applications and servers
Requires: python2-paste, python2-setuptools
%description -n python2-paste-deploy
This tool provides code to load WSGI applications and servers
from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve
applications based on this configuration file.
%package -n python3-paste-deploy
%{?python_provide:%python_provide python3-paste-deploy}
Summary: Load, configure, and compose WSGI applications and servers
Requires: python3-paste, python3-setuptools
%description -n python3-paste-deploy
This tool provides code to load WSGI applications and servers
from URIs; these URIs can refer to Python Eggs for INI-style
configuration files. PasteScript provides commands to serve
applications based on this configuration file.
%prep
%autosetup -n PasteDeploy-%{version} -p1
rm -rf *.egg-info
mv docs/license.txt license.txt
%build
%py2_build
%py3_build
%install
%py2_install
%py3_install
%files -n python2-paste-deploy
%license license.txt
%doc docs/*
%{python2_sitelib}/*
%files -n python3-paste-deploy
%license license.txt
%doc docs/*
%{python3_sitelib}/*
%changelog
* Jul Thu 16 2020 yanglongkang <yanglongkang@huawei.com> - 2.1.0-1
- update package to 2.1.0
* Fri Feb 14 2020 Ruijun Ge <geruijun@huawei.com> - 1.5.2-18
- init package