]> git.pld-linux.org Git - packages/python-psycopg2.git/blame - python-psycopg2.spec
- rel. 3 for postgresql 8.2.0
[packages/python-psycopg2.git] / python-psycopg2.spec
CommitLineData
fa6eecba 1#
2# todo:
3# - zope adapter
4# - lib64 patch
5#
f93a45b9 6
fa6eecba 7%define module psycopg2
f93a45b9 8
3bacd1f7 9Summary: psycopg is a PostgreSQL database adapter for Python
258ebeda 10Summary(pl): psycopg jest przeznaczonym dla Pythona interfejsem do bazy PostgreSQL
3bacd1f7 11Name: python-%{module}
c5fa98ad 12Version: 2.0.5.1
4a70471a 13Release: 3
258ebeda 14License: GPL
4b5b5919 15Group: Libraries/Python
dd6f52dd 16Source0: http://initd.org/pub/software/psycopg/%{module}-%{version}.tar.gz
c5fa98ad 17# Source0-md5: 052e4b97dab47708fdcdc36ffb25af66
fa6eecba 18#Patch0: %{name}-lib64.patch
258ebeda 19URL: http://www.initd.org/software/psycopg/
dd6f8fe2 20BuildRequires: autoconf
258ebeda 21BuildRequires: postgresql-backend-devel
c72332e3 22BuildRequires: postgresql-devel
258ebeda 23BuildRequires: python-devel
399bddde 24BuildRequires: rpm-pythonprov
258ebeda 25Requires: postgresql-libs
44843cf9 26%pyrequires_eq python-modules
3bacd1f7 27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3bacd1f7 28
f1720923 29%define zope_subname ZPsycopgDA
e8c205e6 30
3bacd1f7
MK
31%description
32psycopg is a PostgreSQL database adapter for the Python programming
33language (just like pygresql and popy.) It was written from scratch
34with the aim of being very small and fast, and stable as a rock. The
35main advantages of psycopg are that it supports the full Python
36DBAPI-2.0 and being thread safe at level 2.
37
38%description -l pl
39psycopg jest przeznaczonym dla Pythona interfejsem do bazy danych
258ebeda 40