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