From 14b44d8c704ce01df9afe61618610928b1490834 Mon Sep 17 00:00:00 2001 From: cvsdist Date: Sep 09 2004 02:38:00 +0000 Subject: auto-import changelog data from MySQL-python-0.9.0-1.src.rpm Tue Jun 19 2001 Trond Eivind Glomsr�d - Initial build --- diff --git a/.cvsignore b/.cvsignore index e69de29..636e3c9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +MySQL-python-0.9.0.tar.gz diff --git a/MySQL-python.spec b/MySQL-python.spec new file mode 100644 index 0000000..5bda51f --- /dev/null +++ b/MySQL-python.spec @@ -0,0 +1,54 @@ +Summary: An interface to MySQL +Name: MySQL-python +Version: 0.9.0 +Release: 1 +Source0: http://www.mysql.com/Downloads/Contrib/MySQL-python-%{version}.tar.gz +License: GPL +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-buildroot +Prefix: %{_prefix} +URL: http://www.mysql.com/downloads/api-python.html +Requires: python mx mysql +Conflicts: python < 1.5, Python >= 1.6 +BuildRequires: python-devel mysql-devel python Distutils gcc + +%description +Python interface to MySQL-3.22 and 3.23 + +MySQLdb is an interface to the popular MySQL database server for Python. +The design goals are: + +- Compliance with Python database API version 2.0 +- Thread-safety +- Thread-friendliness (threads will not block each other) +- Compatibility with MySQL 3.22 and 3.23 + +This module should be mostly compatible with an older interface +written by Joe Skinner and others. However, the older version is +a) not thread-friendly, b) written for MySQL 3.21, c) apparently +not actively maintained. No code from that version is used in +MySQLdb. MySQLdb is distributed free of charge under a license +derived from the Python license. + + +%prep +%setup -q + +%build +rm -f doc/*~ +CFLAGS="$RPM_OPT_FLAGS" python setup.py build + +%install +python setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f INSTALLED_FILES +%defattr(-,root,root) +%doc README doc/* +%dir /usr/lib/python1.5/site-packages/MySQLdb + +%changelog +* Tue Jun 19 2001 Trond Eivind Glomsr�d +- Initial build diff --git a/sources b/sources index e69de29..aff8785 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +001137b376e30aa7710d524947afaf8e MySQL-python-0.9.0.tar.gz