File python-PasteScript.spec of Package python-PasteScript

%define real_name PasteScript
Name:           python-%{real_name}
Group:          Development/Libraries/Python
Version:        1.7.3
Release:        0
License:        MIT
Summary:        A pluggable command-line frontend, including commands to setup package file layouts
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
BuildRequires:  python-PasteDeploy
Requires:       python-PasteDeploy
Requires:       python-flup
Requires:       python-Cheetah
Requires:       python-PasteDeploy
Requires:       python-WSGIUtils
%define py_vers %(%{__python} -c 'import sys; print int(10*float(sys.version[:3]))')
%if %{?suse_version: %{suse_version} > 1110} %{!?suse_version:1}
BuildArch: noarch
%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%{!?python_sitearch: %global python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(True)")}

This is a pluggable command-line tool.

It includes some built-in features;

    * Create file layouts for packages. For instance, paste create --template=basic_package MyPackage will create a setuptools-ready file layout.
    * Serving up web applications, with configuration based on paste.deploy.

%setup -n %{real_name}-%{version}

python build

python install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES


%doc docs


* Sun Nov 22 2009 - Ciaran Farrell <> - 1.7.3
- Initial build for tg21