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