]> git.pld-linux.org Git - packages/python-psycopg2.git/blame - python-psycopg2.spec
- (B)R += python-mx-DateTime(-devel)
[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
554cdce2 13Release: 4
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
554cdce2 24BuildRequires: python-mx-DateTime-devel
399bddde 25BuildRequires: rpm-pythonprov
258ebeda 26Requires: postgresql-libs
44843cf9 27%pyrequires_eq python-modules
554cdce2 28Requires: python-mx-DateTime
3bacd1f7 29BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
3bacd1f7 30
f1720923 31%define zope_subname ZPsycopgDA
e8c205e6 32
3bacd1f7
MK
33%description
34psycopg is a PostgreSQL database adapter for the Python programming
35language (just like pygresql and popy.) It was written from scratch
36with the aim of being very small and fast, and stable as a rock. The
37main advantages of psycopg are that it supports the full Python
38DBAPI-2.0 and being thread safe at level 2.
39
40%description -l pl
41psycopg jest przeznaczonym dla Pythona interfejsem do bazy danych
258ebeda 42