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