python-paste-deploy/python-paste-deploy.spec

66 lines
2.0 KiB
RPMSpec
Raw Normal View History

2020-02-17 16:56:11 +08:00
Name: python-paste-deploy
Version: 1.5.2
Release: 18
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
* Fri Feb 14 2020 Ruijun Ge <geruijun@huawei.com> - 1.5.2-18
- init package