]>
Commit | Line | Data |
---|---|---|
3bacd1f7 MK |
1 | |
2 | %include /usr/lib/rpm/macros.python | |
3 | %define module psycopg | |
4 | %define version 1.0.12 | |
5 | ||
6 | %define release 0.9 | |
7 | ||
8 | Summary: psycopg is a PostgreSQL database adapter for Python | |
9 | Summary(pl): psycopg jest przeznaczyonym dla Pythona interfejsem do bazy PostgreSQL | |
10 | Name: python-%{module} | |
11 | Version: %{version} | |
12 | Release: %{release} | |
13 | Source0: http://initd.org/pub/software/%{module}/%{module}-%{version}.tar.gz | |
14 | Patch0: %{name}-dumb-ac-fix.patch | |
15 | ||
16 | Copyright: GNU GPL | |
17 | Group: Applications/Databases | |
18 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
19 | Url: http://www.initd.org/software/psycopg/ | |
20 | BuildRequires: python-devel postgresql-backend-devel python-mx-DateTime-devel | |
21 | Requires: python python-egenix-mx-base postgresql-libs | |
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 | |
32 |