2 Summary: Set of MySQL bindings for python 2.4+
3 Summary(pl.UTF-8): Zestaw dowiązań do MySQLa dla Pythona
8 Group: Libraries/Python
9 Source0: https://pypi.python.org/packages/source/o/%{module}/%{module}-%{version}.tar.bz2
10 # Source0-md5: 5ffab98306dbc5328ed1c436b85bfbe9
11 URL: http://launchpad.net/oursql/
12 BuildRequires: mysql-devel
13 BuildRequires: python-Cython
14 BuildRequires: python-devel >= 1:2.4
15 BuildRequires: python-distribute
16 BuildRequires: rpm-pythonprov
17 BuildRequires: rpmbuild(macros) >= 1.219
18 Requires: python-modules
19 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22 oursql is a set of MySQL bindings for python 2.4+ with a focus on
23 wrapping the `MYSQL_STMT API`__ to provide real parameterization and
24 real server-side cursors. MySQL 4.1.2 or better is required.
29 %setup -q -n %{module}-%{version}
32 %{__python} setup.py build_ext
35 rm -rf $RPM_BUILD_ROOT
36 %{__python} setup.py \
39 --root=$RPM_BUILD_ROOT
44 rm -rf $RPM_BUILD_ROOT
47 %defattr(644,root,root,755)
48 %doc CHANGELOG COPYING README
49 %attr(755,root,root) %{py_sitedir}/*.so
50 %{py_sitedir}/*.egg-info