File python-tgfastdata.spec of Package python-tgfastdata

%define modname TGFastData
Name:           python-tgfastdata
Version:        0.9
%define extraver a7
Release:        2
Summary:        Automatic User Interface Generation for TurboGears
URL:            http://pypi.python.org/pypi/TGFastData
License:        MIT
Group:          Development/Libraries/Python
Source:         %{modname}-%{version}%{extraver}.tar.bz2
Patch:          tgfastdata-cherrypy2.patch
BuildRoot:      %{_tmppath}/%{name}-buildroot
%{py_requires}
BuildRequires:  python-devel python-setuptools
Requires:       python-setuptools python-turbogears

%description
FastData is an extension to TurboGears which can provide automatic user
interface generation based upon an application's model objects.

Authors:
--------
    Kevin Dangoor <dangoor+turbogears at gmail com>

%prep
%setup -q -n %{modname}-%{version}%{extraver}
%patch

%build
export CFLAGS="$RPM_OPT_FLAGS"
python setup.py build

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

%clean
rm -rf %{buildroot}

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

%changelog

* Fri Sep 05 2008 - James Oakley <jfunk@funktronics.ca> - 0.9-2
- Fix for cherrypy2

* Fri Sep 05 2008 - James Oakley <jfunk@funktronics.ca> - 0.9-1
- Initial release
openSUSE Build Service is sponsored by