]>
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} |
b4e3a8df MK |
8 | Version: 1.1.6 |
9 | Release: 0.9 | |
258ebeda | 10 | License: GPL |
4b5b5919 | 11 | Group: Libraries/Python |
3bacd1f7 | 12 | Source0: http://initd.org/pub/software/%{module}/%{module}-%{version}.tar.gz |
b4e3a8df | 13 | # Source0-md5: 8a2b4f81a70cafc0da46b4c560801b37 |
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 | |
20 | Requires: python | |
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 |