rpms/PyGreSQL/devel PyGreSQL.spec, NONE, 1.1 import.log, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Tom Lane tgl at fedoraproject.org
Sat Jan 9 04:55:11 UTC 2010


Author: tgl

Update of /cvs/pkgs/rpms/PyGreSQL/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv14148/devel

Modified Files:
	.cvsignore sources 
Added Files:
	PyGreSQL.spec import.log 
Log Message:
Initial import (#452321).


--- NEW FILE PyGreSQL.spec ---
Name:		PyGreSQL
Version:	3.8.1
Release:	2%{?dist}
Summary:	A Python client library for PostgreSQL

Group:		Applications/Databases
URL:		http://www.pygresql.org/
# Author states his intention is to dual license under PostgreSQL or Python
# licenses --- this is not too clear from the current tarball documentation,
# but hopefully will be clearer in future releases.
# PostgreSQL calls their license simplified BSD, but the requirements are
# more similar to other MIT licenses.
License:	MIT or Python

Source0:	ftp://ftp.pygresql.org/pub/distrib/PyGreSQL-3.8.1.tgz

# PyGreSQL was originally shipped as a sub-RPM of the PostgreSQL package;
# these Provides/Obsoletes give a migration path.  The cutoff EVR was
# chosen to be later than anything we are likely to ship in Fedora 12.
Provides:	postgresql-python = 8.5.0-1
Obsoletes:	postgresql-python < 8.5

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root

BuildRequires:	postgresql-devel python-devel

%{!?python_sitearch: %define python_sitearch %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib(1)")}

%description
PostgreSQL is an advanced Object-Relational database management system.
The PyGreSQL package provides a module for developers to use when writing
Python code for accessing a PostgreSQL database.

%prep
%setup -q 

# Some versions of PyGreSQL.tgz contain wrong file permissions
chmod 755 tutorial
chmod 644 tutorial/*.py

%build

CFLAGS="%{optflags}" %{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT

%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc docs/*.txt
%doc tutorial
%{python_sitearch}/*.so
%{python_sitearch}/*.py
%{python_sitearch}/*.pyc
%{python_sitearch}/*.pyo
%{python_sitearch}/*.egg-info

%changelog
* Tue Nov 24 2009 Tom Lane <tgl at redhat.com> 3.8.1-2
- Fix License tag and permissions on example scripts under tutorial/,
  per discussion in package review request.
Related: #452321

* Fri Jun 20 2008 Tom Lane <tgl at redhat.com> 3.8.1-1
- Created package by stripping down postgresql specfile and adjusting
  to meet current packaging guidelines for python modules.


--- NEW FILE import.log ---
PyGreSQL-3_8_1-2_fc13:HEAD:PyGreSQL-3.8.1-2.fc13.src.rpm:1263012811


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/PyGreSQL/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	9 Jan 2010 04:37:20 -0000	1.1
+++ .cvsignore	9 Jan 2010 04:55:11 -0000	1.2
@@ -0,0 +1 @@
+PyGreSQL-3.8.1.tgz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/PyGreSQL/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	9 Jan 2010 04:37:20 -0000	1.1
+++ sources	9 Jan 2010 04:55:11 -0000	1.2
@@ -0,0 +1 @@
+5575979dac93c9c5795d7693a8f91c86  PyGreSQL-3.8.1.tgz




More information about the fedora-extras-commits mailing list