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