File python-pyodbc.spec of Package python-pyodbc

#
# spec file for package python-pyodbc
#

 
Name:           python-pyodbc
Version:        3.0.7
Release:        1.1
Url:            http://code.google.com/p/pyodbc/
Summary:        Python ODBC API
License:        MIT
Group:          Development/Languages/Python
Source:         pyodbc-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel unixODBC-devel gcc-c++
%py_requires -d
# BuildArch:      noarch
 
%description
pyodbc is a Python 2.x and 3.x module that allows you to use ODBC 
to connect to almost any database from Windows, Linux, OS/X, and more.

It implements the Python Database API Specification v2.0, but additional features 
have been added to simplify database programming even more. 
 
%prep
%setup -q -n pyodbc-%{version}
 
%build
 
%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} --record-rpm=INSTALLED_FILES
 
%files -f INSTALLED_FILES
%defattr(-,root,root,-)
 
%changelog