File python-TurboGears.spec of Package python-TurboGears
#
# spec file for package python-TurboGears
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: python-TurboGears
Version: 1.5.1
Release: 0
Url: http://www.turbogears.org/
Summary: Front-to-back, open-source, rapid web development framework
License: MIT
Group: Development/Languages/Python
Source: http://pypi.python.org/packages/source/T/TurboGears/TurboGears-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-CherryPy
BuildRequires: python-PEAK-Rules
BuildRequires: python-configobj
BuildRequires: python-devel
BuildRequires: python-nose
BuildRequires: python-setuptools
Requires: python-CherryPy
Requires: python-PEAK-Rules
Requires: python-configobj
Requires: python-Genshi
Requires: python-PasteScript
Requires: python-SQLAlchemy
Requires: python-TurboCheetah
Requires: python-decoratortools
Requires: python-formencode
Requires: python-kid
Requires: python-myghty
Requires: python-protocols
Requires: python-ruledispatch
Requires: python-simplejson
Requires: python-sqlobject
Requires: python-tgmochikit
Requires: python-turbojson
Requires: python-turbokid
Provides: python-turbogears = %{version}
Obsoletes: python-turbogears < %{version}
%if 0%{?suse_version} && 0%{?suse_version} <= 1110
%{!?python_sitelib: %global python_sitelib %(python -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
%else
BuildArch: noarch
%endif
%description
TurboGears brings together four major pieces to create an easy to
install, easy to use web mega-framework. It covers everything from
front end (MochiKit JavaScript for the browser, Genshi / Kid / Mako /
Cheetah for templates in Python) to the controllers (CherryPy) to the
back end (SQLAlchemy or SQLObject).
The TurboGears project is focused on providing documentation and
integration with these tools without losing touch with the communities
that already exist around those tools.
TurboGears is easy to use for a wide range of web applications.
%prep
%setup -q -n TurboGears-%{version}
%build
python setup.py build
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}
#%%check
#nosetests
%files
%defattr(-,root,root,-)
%doc CHANGELOG.txt CONTRIBUTORS.txt LICENSE.txt README.txt
%{_bindir}/tg-admin
%{python_sitelib}/*
%changelog