%define srcname SQLObject %define rel 1 Name: python-sqlobject Version: 1.3.2 Release: %mkrel %{rel} Summary: SQLObject Object-Relational Manager, aka database wrapper Group: Development/Python License: LGPLv2+ URL: http://sqlobject.org/ Source0: http://pypi.python.org/packages/source/S/SQLObject/%{srcname}-%{version}.tar.gz BuildArch: noarch BuildRequires: pkgconfig(python-2.7) BuildRequires: python-setuptools BuildRequires: python-formencode Requires: python-mysql %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, Postgres, SQLite, Firebird. This package requires sqlite. Futher database connectors have to be installed separately. %files %doc PKG-INFO README.txt docs %{python_sitelib}/* %{_bindir}/* #------------------------------------------------------------------------------ %prep %setup -q -n %{srcname}-%{version} %build %{__python} setup.py build chmod 0644 docs/rebuild %install %{__python} setup.py install --skip-build --root %{buildroot} %changelog * Sat Feb 09 2013 mikala <mikala> 1.3.2-1.mga3 + Revision: 397653 - imported package python-sqlobject