]> git.pld-linux.org Git - packages/python-MySQLdb.git/blame - python-MySQLdb.spec
rebuild with separate debuginfo build-ids
[packages/python-MySQLdb.git] / python-MySQLdb.spec
CommitLineData
e6d3f466 1Summary: A Python interface to MySQL
29232f80 2Summary(pl.UTF-8): Interfejs Pythona do MySQL
97ff155c 3Name: python-MySQLdb
c2d29eff 4Version: 1.2.3
738b7041 5Release: 12
97ff155c 6License: GPL
e2bd1ad2 7Group: Libraries/Python
e65f3550
AM
8Source0: http://dl.sourceforge.net/mysql-python/MySQL-python-%{version}.tar.gz
9# Source0-md5: 215eddb6d853f6f4be5b4afc4154292f
0df41bae 10URL: http://sourceforge.net/projects/mysql-python/
a757e416 11BuildRequires: rpmbuild(macros) >= 1.710
125d63b2 12BuildRequires: mysql-devel >= 4.0.10
e83b5301 13BuildRequires: python-devel >= 1:2.5
219eac19 14BuildRequires: python-modules
2e97efdf 15BuildRequires: python-setuptools
219eac19 16BuildRequires: rpm-pythonprov
a2905ce8 17BuildRequires: zlib-devel
315921e9 18%pyrequires_eq python-modules
a2905ce8 19BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21%description
7efca04d 22An interface to the popular MySQL database server for Python. The
23design goals are:
97ff155c 24
25- Compliance with Python database API version 2.0
26- Thread-safety
27- Thread-friendliness (threads will not block each other)
a2905ce8 28
8449461a
JR
29%description -l pl.UTF-8
30Ten pakiet zapewnia dostęp do baz danych MySQL z poziomu skryptów
31języka Python. Projekt jest tworzony z myślą o:
32- zgodności z bazodanowym API Pythona w wersji 2.0
33- przyjaznością dla wątków (wątki nie zablokują się nawzajem).
a2905ce8 34
35%prep
e65f3550 36%setup -q -n MySQL-python-%{version}
a2905ce8 37
38%build
447154b9
JR
39CFLAGS="%{rpmcflags} -DHAVE_OPENSSL=1"
40%py_build
a2905ce8 41
42%install
43rm -rf $RPM_BUILD_ROOT
83f3dbbf 44
447154b9
JR
45%py_install
46
47%py_postclean
7abcd386 48
a2905ce8 49%clean
50rm -rf $RPM_BUILD_ROOT
51
83f3dbbf 52%files
a2905ce8 53%defattr(644,root,root,755)
ce66bda1 54%doc README doc/*
46cbb683 55%attr(755,root,root) %{py_sitedir}/*.so
447154b9 56%{py_sitedir}/*.py[co]
46cbb683 57%dir %{py_sitedir}/MySQLdb
447154b9 58%{py_sitedir}/MySQLdb/*.py[co]
46cbb683 59%dir %{py_sitedir}/MySQLdb/constants
447154b9 60%{py_sitedir}/MySQLdb/constants/*.py[co]
032c1264 61%{py_sitedir}/*.egg-info
This page took 0.389173 seconds and 4 git commands to generate.