File python-repoze-what-quickstart.spec of Package python-repoze-what-quickstart

%define real_name repoze.what-quickstart
%define mod_name repoze-what-quickstart
Name:           python-%{mod_name}
Group:          Development/Libraries/Python
Version:        1.0.3_r6729
Release:        0
License:        BSD-derived (
Summary:        The repoze.what Quickstart plugin
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
Requires:       python-repoze-what >= 1.0.3
Requires:       python-repoze-who
Requires:       python-repoze-who-plugins-sa >= 1.0rc1
Requires:       python-repoze-what-plugins-sql >= 1.0rc2
Requires:       python-repoze-who-friendlyform
%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 an extras plugin for repoze.what.

This plugin allows you to take advantage of a rather simple, and usual, authentication and authorization setup, in which the users' data, the groups and the permissions used in the application are all stored in a SQLAlchemy or Elixir-managed database.
Put simply, it configures repoze.who and repoze.what in one go so that you can have an authentication and authorization system working quickly -- hence the name.

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

python build

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


%doc docs PKG-INFO README.txt VERSION.txt


* Sun Nov 23 2009 - Ciaran Farrell <> - 1.0.3-r6729
- Initial build for tg21