Sophie

Sophie

distrib > * > 2008.0 > x86_64 > by-pkgid > d645e05f4ea0d8fdbf1b8f84a7efec69 > files > 2

python-sqlobject-0.8.2-1mdv2008.0.src.rpm

%define rel 3

Summary: Object-Relational Manager, aka database wrapper for python
Name: python-sqlobject
Version: 0.8.2
Release: %mkrel 1
URL: http://sqlobject.org/
Source0: http://cheeseshop.python.org/packages/source/S/SQLObject/SQLObject-%{version}.tar.bz2
License: LGPL
Group: Development/Python
BuildRoot: %{_tmppath}/%{name}-buildroot
BuildArch: noarch
BuildRequires: python-devel python-setuptools
Requires: python

%description
Classes created using SQLObject wrap database rows, presenting a
friendly-looking Python object instead of a database/SQL interface.
Emphasizes convenience.  Works with MySQL, PostgreSQL, SQLite, Firebird.

%prep
%setup -n SQLObject-%version -q

%build
python setup.py build

%install
rm -rf $RPM_BUILD_ROOT
python setup.py install --root $RPM_BUILD_ROOT
rm -Rf $RPM_BUILD_ROOT/%_bindir/easy_install

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc docs 
%{py_puresitedir}/*
%_bindir/*




%changelog
* Mon Jul 16 2007 Guillaume Rousse <guillomovitch@mandriva.org> 0.8.2-1mdv2008.0
+ Revision: 52598
- update to new version 0.8.2


* Tue Dec 12 2006 Michael Scherer <misc@mandriva.org> 0.7.0-3mdv2007.0
+ Revision: 95738
- add python-setuptools, as the setup.py request it
- rebuild for new python
- Import python-sqlobject