File python-TurboGears2.spec of Package python-TurboGears2

#norootforbuild
#
%define real_name TurboGears2
#
#
Name:           python-%{real_name}
Group:          Development/Libraries/Python
Version:        2.1b1
Release:        0
License:        MIT
Summary:        The rapid web development megaframework for Python
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
Requires:       python-Pylons
Requires:       python-Genshi >= 0.5.1
Requires:       python-WebFlash >= 0.1
Requires:       python-ToscaWidgets >= 0.9.9
Requires:       python-WebError >= 0.10.1
Requires:       python-repoze-what-pylons >= 1.0
Requires:       python-repoze-tm2 >= 1.0
Requires:       python-zope-sqlalchemy
Url:            http://www.turbogears.org
%{py_requires}
%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
%else
%{!?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)")}
%endif

%description
Create a database-driven, ready-to-extend application in minutes. All with designer friendly templates, easy AJAX on the browser side and on the server side, with an incredibly powerful and flexible Object Relational Mapper (ORM), and with code that is as natural as writing a function.
TurboGears 2 is the built on top of the experience of several next generation web frameworks including TurboGears 1 (of course), Django, and Rails. All of these frameworks had limitations which were frustrating in various ways, and TG2 is an answer to that frustration. We wanted something that had:

    * Real multi-database support
    * Horizontal data partitioning (sharding)
    * Support for a variety of JavaScript toolkits, and new widget system to make building ajax heavy apps easier
    * Support for multiple data-exchange formats.
    * Built in extensibility via standard WSGI components

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

%build
python setup.py build

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

%clean
rm -rf $RPM_BUILD_ROOT

%files -f INSTALLED_FILES
%defattr(-,root,root)
%doc PKG-INFO README.txt

%changelog
* Tue Jan 26 2010 - Ciaran Farrell <cfarrell1980@gmail.com> - 2.1b1
- Update to 2.1b1
    * Deprecated default in favor of _default
    * Fixed handling of Unicode parameters
    * Added disable_request_extensions flag to configuration to allow users to ignore the request extension dispatch bits of object dispatch.
    * Increased length of Permission.permission_name to 63 chars.
    * Fixed GET requests on nested RestControllers?.
    * Fixed case-sensitive incorrectness in quickstart when using mako template option.
    * Fixed numerous URL routing bugs, consilidating the RC and TGC controller base.
    * Fixed eroneous tg.url call inside the quickstart template.
    * Added use_dotted_templatenames support for Genshi.
    * Added ignore_parameters setting in the config
    * Added ability to have sa_auth.cookie_secret in .ini file
    * Added cookie_secret to quickstart template
    * Added tgext template
    * Added backwards compat for TurboJson?

* Tue Dec 02 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 2.1a3
- Update to 2.1a3
    * Fixed problems with Beaker Secret Key functionality. (Thanks Sanjiv)
    * Fixed infinite loop problem associated with lookup.
    * Fixed RestController? so delete() works with nested RCs.
    * Refactored Auth support to handle non-SA auth.
    * Deprecated lookup in favor of _lookup. 

* Sun Nov 23 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 2.1a2
- Initial build for tg21

  
openSUSE Build Service is sponsored by