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