File python-tgext-admin.spec of Package python-tgext-admin
#norootforbuild
#
%define real_name tgext.admin
%define mod_name tgext-admin
#
#
Name: python-%{mod_name}
Group: Development/Libraries/Python
Version: 0.3.6
Release: 0
License: MIT
Summary: Admin Controller add-on for basic TG identity model
Autoreqprov: on
Source: %{real_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: python-setuptools
Requires: python-setuptools
Requires: python-sprox >= 0.6.4
Requires: python-tgext-crud >= 0.3.2
Url: http://pypi.python.org/pypi/tgext.admin/
%{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
Introduction
============
Changelog
===========
0.3
----
Lookup now uses ProviderSelector, for better mongo support
0.2.6
-----
Bugfix release. Support for _method fields in TG2.1
0.2.5
------
* Addition of defaultCrudRestController to
CRCConfig allows one to customize the controller
that the admin uses.
* Fixes tgadminconfig to override the Password properly for Users
%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 README.txt PKG-INFO
%changelog
* Sun Nov 23 2009 - Ciaran Farrell <cfarrell1980@gmail.com> - 0.3.6
- Initial build for tg21