diff --git a/PasteDeploy-1.5.2.tar.gz b/PasteDeploy-1.5.2.tar.gz new file mode 100644 index 0000000..fd4f9e1 Binary files /dev/null and b/PasteDeploy-1.5.2.tar.gz differ diff --git a/python-paste-deploy.spec b/python-paste-deploy.spec new file mode 100644 index 0000000..75b1446 --- /dev/null +++ b/python-paste-deploy.spec @@ -0,0 +1,65 @@ +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 - 1.5.2-18 +- init package