From: Gerhard H?r. <gha...@us...> - 2002-09-08 15:31:30
|
Update of /cvsroot/pypgsql/pypgsql In directory usw-pr-cvs1:/tmp/cvs-serv21140 Added Files: pyPgSQL.spec Log Message: 08SEP2002 gh Added .spec file for building RPMs. [Patch #605455] --- NEW FILE: pyPgSQL.spec --- %define name pyPgSQL %define version 2.2 %define release 1 Summary: pyPgSQL - A Python DB-API 2.0 compliant interface to PostgreSQL. Name: %{name} Version: %{version} Release: %{release} Source0: pypgsql-%{version}.tar.gz Copyright: BSD Group: Development/Libraries BuildRoot: %{_tmppath}/%{name}-buildroot Prefix: %{_prefix} Vendor: Billy G. Allie <bal...@so...> Url: http://pypgsql.sourceforge.net/ Requires: egenix-mx-base Requires: python2 %description pyPgSQL is a package of two modules that provide a Python DB-API 2.0 compliant interface to PostgreSQL databases. The first module, libpq, exports the PostgreSQL C API to Python. This module is written in C and can be compiled into Python or can be dynamically loaded on demand. The second module, PgSQL, provides the DB-API 2.0 compliant interface and support for various PostgreSQL data types, such as INT8, NUMERIC, MONEY, BOOL, ARRAYS, etc. This module is written in Python. %prep %setup -n pypgsql %build env CFLAGS="$RPM_OPT_FLAGS" /usr/bin/python2 setup.py build %install /usr/bin/python2 setup.py install --root=$RPM_BUILD_ROOT --record=INSTALLED_FILES %clean rm -rf $RPM_BUILD_ROOT %files -f INSTALLED_FILES %doc README %defattr(-,root,root) %changelog * Sun Sep 08 2002 Gerhard Häring <ger...@gm...> - Updated to version 2.1. - Changed copyright to 'BSD' - Added README to %doc * Fri Sep 06 2002 Sean Reifschneider <jaf...@tu...> - Updated to version 2.1. - Added a description. - Added dependencies on egenix-mx-base and python2 |