File python-sprox.spec of Package python-sprox

#norootforbuild
#
%define real_name sprox
#
#
Name:           python-%{real_name}
Group:          Development/Libraries/Python
Version:        0.6.7
Release:        0
License:        MIT
Summary:        A package for creation of web widgets directly from database schema
Autoreqprov:    on
Source:         %{real_name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-setuptools
Requires:       python-sqlalchemy >= 0.5
Requires:       python-tw-forms >= 0.9.9
Url:            http://www.sprox.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
Sprox is a widget generation library that has a slightly different take on the problem of creating custom web content directly from database schemas. Sprox provides an easy way to create forms for web content which are: automatically generated, easy to customize, and validated. Sprox also has powerful tools to help you display your content the way you want to with table and record viewers. Sprox provides a way to fill your widgets, whether they are forms or other content with customizable data.

%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

%changelog
* Tue Jan 26 2010 - Ciaran Farrell <cfarrell1980@gmail.com> - 0.6.7
- Update to 0.6.7

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

  
openSUSE Build Service is sponsored by