14
0
Lars Vogdt
2009-04-27 15:31:31 +00:00
committed by Git OBS Bridge
parent cd5328189d
commit e28468a321
4 changed files with 36 additions and 27 deletions

View File

@@ -1,15 +1,30 @@
#
# spec file for package python
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
%define modname psycopg2
Name: python-%{modname}
URL: http://initd.org/projects/psycopg1
Name: python-psycopg2
Summary: A PostgreSQL database adapter for Python
Version: 2.0.8
Version: 2.0.10
Release: 1
License: GPL
Group: Development/Libraries/Python
Url: http://initd.org/projects/psycopg1
License: X11/MIT
Group: Development/Languages/Python
Source: %{modname}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%{py_requires}
BuildRequires: python-devel postgresql-devel
BuildRequires: postgresql-devel python-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
psycopg is a PostgreSQL database adapter for the Python programming language.
@@ -28,6 +43,7 @@ Authors:
--------
Federico Di Gregorio <fog@initd.org>
%prep
%setup -q -n %{modname}-%{version}
@@ -36,7 +52,6 @@ export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%{__python} setup.py build
%install
rm -rf %{buildroot}
%{__python} setup.py install --prefix=%{_prefix} --root=$RPM_BUILD_ROOT --record-rpm=INSTALLED_FILES
%clean
@@ -47,19 +62,3 @@ rm -rf %{buildroot}
%doc doc examples AUTHORS ChangeLog PKG-INFO README
%changelog
* Thu Nov 20 2008 - James Oakley <jfunk@funktronics.ca> - 2.0.8-1
- Update to 2.0.8
* Fri Jan 19 2007 - Cristian Rodriguez <judas_iscariote@shorewall.net> - 2.0.5.1-1
- Update version
- compile with -fno-strict-aliasing otherwise gcc complains.
- deactivate unneeded patches.
* Wed Jul 26 2006 - James Oakley <jfunk@funktronics.ca> - 2.0.2-10
- Disable debugging
* Thu Jun 22 2006 - James Oakley <jfunk@funktronics.ca> - 2.0.2-1
- Update
* Wed Oct 19 2005 - James Oakley <jfunk@funktronics.ca> - 2.0-ft.1
- Initial release