]> git.pld-linux.org Git - SPECS.git/blob - python-oursql.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / python-oursql.spec
1 %define         module oursql
2 Summary:        Set of MySQL bindings for python 2.4+
3 Summary(pl.UTF-8):      Zestaw dowiązań do MySQLa dla Pythona
4 Name:           python-%{module}
5 Version:        0.9.3.1
6 Release:        1
7 License:        BSD-like
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.710
18 Requires:       python-modules
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
25
26 Python 2.x version.
27
28 %prep
29 %setup -q -n %{module}-%{version}
30
31 %build
32 %{__python} setup.py build_ext
33
34 %install
35 rm -rf $RPM_BUILD_ROOT
36 %py_install
37
38 %py_postclean
39
40 %clean
41 rm -rf $RPM_BUILD_ROOT
42
43 %files
44 %defattr(644,root,root,755)
45 %doc CHANGELOG COPYING README
46 %attr(755,root,root) %{py_sitedir}/*.so
47 %{py_sitedir}/*.egg-info
This page took 0.072748 seconds and 3 git commands to generate.