File postgresql-jdbc.spec of Package postgresql-jdbc
#
# spec file for package postgresql-jdbc (Version 8.1)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: postgresql-jdbc
BuildRequires: unzip
Url: http://jdbc.postgresql.org/
Version: 8.1
Release: 135
Source0: license
Source1: postgresql-8.2-506.jdbc2ee.jar
Source2: postgresql-8.2-506.jdbc2.jar
Source3: postgresql-8.2-506.jdbc3.jar
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Summary: JDBC Drivers for PostgreSQL
License: BSD 3-Clause
Group: Productivity/Databases/Clients
BuildArch: noarch
%description
This package contains the PostgreSQL JDBC driver. It allows Java
programs to connect to a PostgreSQL database using standard, database
independent Java code. It is a pure Java implementation.
The driver provides a reasonably complete implementation of the JDBC 3
specification in addition to some PostgreSQL specific extensions.
Authors:
--------
Barry Lind <blind.at.xythos.com>
Dave Cramer <pg.at.fastcrypt.com>
Kris Jurka <jurka.at.ejurka.com>
Oliver Jowett <oliver.at.opencloud.com>
%prep
# nothing to do here
%build
# nothing to do here
%install
mkdir -p -m755 %buildroot/usr/share/pgsql
install -m 755 %SOURCE1 %SOURCE2 %SOURCE3 %buildroot/usr/share/pgsql
mkdir -p -m755 %buildroot%_defaultdocdir/%name
install -m644 %SOURCE0 %buildroot%_defaultdocdir/%name
%files
%defattr(-,root,root)
%doc %_defaultdocdir/%name
/usr/share/pgsql
%changelog
* Tue Jul 31 2007 max@suse.de
- Updated to the 8.2-506 builds for JDBC 2, 2EE, and 3.
- See http://jdbc.postgresql.org/changes.html for details.
* Thu May 10 2007 ro@suse.de
- added unzip to buildrequires
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Fri Jan 13 2006 max@suse.de
- Updated to the 8.1-404 builds for JDBC 2, 2EE, and 3.
* Thu Sep 29 2005 dmueller@suse.de
- add norootforbuild
* Tue Apr 26 2005 rhafer@suse.de
- Updated to 8.0 Build 311 and 7.4 Build 216 (needed for
Open-Xchange)
* Mon Jan 27 2003 max@suse.de
- This becomes a source package of it's own, because the JDBC
stuff does not come with the PostgreSQL core sources any longer.
- New versions of the jar files: 7.3b1