2004-09-09 10:35:52 +00:00
|
|
|
Name: postgresql-odbc
|
|
|
|
Summary: PostgreSQL ODBC driver.
|
2006-02-03 22:15:42 +00:00
|
|
|
Version: 08.01.0200
|
2006-06-11 02:35:52 +00:00
|
|
|
Release: 3
|
2004-09-09 10:38:37 +00:00
|
|
|
License: LGPL
|
2004-09-09 10:35:52 +00:00
|
|
|
Group: Applications/Databases
|
|
|
|
Url: http://gborg.postgresql.org/project/psqlodbc
|
|
|
|
|
2005-03-02 23:12:25 +00:00
|
|
|
Source0: ftp://ftp.us.postgresql.org/odbc/versions/src/psqlodbc-%{version}.tar.gz
|
2004-09-09 10:36:41 +00:00
|
|
|
Source1: acinclude.m4
|
2005-11-07 23:14:47 +00:00
|
|
|
|
2004-09-09 10:35:52 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2004-09-09 10:36:41 +00:00
|
|
|
BuildPreReq: unixODBC-devel
|
2006-06-11 02:35:52 +00:00
|
|
|
BuildRequires: libtool automake autoconf postgresql-devel
|
2005-11-07 23:14:47 +00:00
|
|
|
|
2005-03-02 23:12:25 +00:00
|
|
|
Requires: postgresql-libs >= 8.0
|
2004-09-09 10:35:52 +00:00
|
|
|
Provides: postgresql-odbc
|
|
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
2005-03-02 23:12:25 +00:00
|
|
|
# This spec file and ancillary files are licensed in accordance with
|
2004-09-09 10:35:52 +00:00
|
|
|
# the psqlodbc license.
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package includes the driver needed for applications to access a
|
|
|
|
PostgreSQL system via ODBC (Open Database Connectivity).
|
|
|
|
|
|
|
|
%prep
|
2005-03-02 23:12:25 +00:00
|
|
|
%setup -q -n psqlodbc-%{version}
|
2004-09-09 10:36:41 +00:00
|
|
|
|
|
|
|
# Some missing macros. Courtesy Owen Taylor <otaylor@redhat.com>.
|
|
|
|
|
|
|
|
cp -p %{SOURCE1} .
|
|
|
|
aclocal
|
|
|
|
libtoolize --force
|
|
|
|
automake
|
|
|
|
autoconf
|
2004-09-09 10:35:52 +00:00
|
|
|
|
|
|
|
%build
|
2006-02-03 22:15:42 +00:00
|
|
|
|
2006-03-22 16:21:44 +00:00
|
|
|
# Note: we choose to build only the Unicode version of the driver, which
|
|
|
|
# we then install under the old library name "psqlodbc.so". We are not
|
|
|
|
# adopting the "psqlodbcw.so" naming convention because current upstream
|
|
|
|
# plans are to revert back to the old name in the next release. We can
|
|
|
|
# always track the name change later if they change their minds ...
|
2006-02-03 22:15:42 +00:00
|
|
|
|
2004-09-09 10:36:41 +00:00
|
|
|
%configure --with-unixodbc --with-odbcinst=%{_sysconfdir}
|
2004-09-09 10:35:52 +00:00
|
|
|
make
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%makeinstall
|
|
|
|
|
2006-03-22 16:21:44 +00:00
|
|
|
# rename as per above note, and remove the rather useless .la file
|
|
|
|
pushd ${RPM_BUILD_ROOT}%{_libdir}
|
|
|
|
mv psqlodbcw.so psqlodbc.so
|
|
|
|
rm psqlodbcw.la
|
|
|
|
popd
|
2006-02-03 22:15:42 +00:00
|
|
|
|
2004-09-09 10:35:52 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2006-03-22 16:21:44 +00:00
|
|
|
%attr(755,root,root) %{_libdir}/psqlodbc.so
|
|
|
|
%doc license.txt readme.txt docs/*
|
2004-09-09 10:35:52 +00:00
|
|
|
|
|
|
|
%changelog
|
2006-06-11 02:35:52 +00:00
|
|
|
* Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 08.01.0200-3
|
|
|
|
- Fix BuildRequires: for mock build environment
|
|
|
|
|
2006-03-22 16:21:44 +00:00
|
|
|
* Wed Mar 22 2006 Tom Lane <tgl@redhat.com> 08.01.0200-2
|
|
|
|
- Change library name back to psqlodbc.so, because it appears that upstream
|
|
|
|
will revert to that name in next release; no point in thrashing the name.
|
|
|
|
- Include documentation files unaccountably omitted before (bug #184158)
|
|
|
|
|
2006-02-11 05:14:08 +00:00
|
|
|
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-1.2
|
|
|
|
- bump again for double-long bug on ppc(64)
|
|
|
|
|
2006-02-07 13:35:59 +00:00
|
|
|
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-1.1
|
|
|
|
- rebuilt for new gcc4.1 snapshot and glibc changes
|
|
|
|
|
2006-02-03 22:15:42 +00:00
|
|
|
* Fri Feb 3 2006 Tom Lane <tgl@redhat.com> 08.01.0200-1
|
|
|
|
- Update to version 08.01.0200.
|
|
|
|
- Upstream now calls the library psqlodbcw.so ... add a symlink to avoid
|
|
|
|
breaking existing odbc configuration files.
|
|
|
|
|
2005-12-15 03:50:51 +00:00
|
|
|
* Wed Dec 14 2005 Tom Lane <tgl@redhat.com> 08.01.0102-1
|
|
|
|
- Update to version 08.01.0102.
|
|
|
|
- Add buildrequires postgresql-devel (bz #174505)
|
|
|
|
|
2005-12-09 22:42:46 +00:00
|
|
|
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
2005-11-07 23:14:47 +00:00
|
|
|
* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 08.01.0100-1
|
|
|
|
- Update to version 08.01.0100.
|
|
|
|
|
2005-03-02 23:12:25 +00:00
|
|
|
* Wed Mar 2 2005 Tom Lane <tgl@redhat.com> 08.00.0100-1
|
|
|
|
- Update to version 08.00.0100.
|
|
|
|
|
2004-11-13 04:11:28 +00:00
|
|
|
* Fri Nov 12 2004 Tom Lane <tgl@redhat.com> 7.3-9
|
|
|
|
- back-port 64-bit fixes from current upstream (bug #139004)
|
|
|
|
|
2004-09-21 15:44:13 +00:00
|
|
|
* Tue Sep 21 2004 Tom Lane <tgl@redhat.com> 7.3-8
|
|
|
|
- rebuilt
|
|
|
|
|
2004-09-09 10:38:37 +00:00
|
|
|
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Wed Mar 10 2004 Tom Lane <tgl@redhat.com>
|
|
|
|
- Correct License: annotation.
|
|
|
|
|
2004-09-09 10:38:32 +00:00
|
|
|
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Fri Nov 21 2003 David Jee <djee@redhat.com> 7.3-5
|
|
|
|
- rebuild
|
|
|
|
|
|
|
|
* Wed Nov 05 2003 David Jee <djee@redhat.com> 7.3-4
|
|
|
|
- import new community version 07.03.0200
|
|
|
|
|
2004-09-09 10:36:41 +00:00
|
|
|
* Mon Sep 15 2003 Andrew Overholt <overholt@redhat.com> 7.3-3
|
|
|
|
- autotools fixes (courtesy Alex Oliva <aoliva@redhat.com> and
|
|
|
|
Owen Taylor <otaylor@redhat.com>)
|
|
|
|
|
|
|
|
* Tue Jul 08 2003 Andrew Overholt <overholt@redhat.com> 7.3-3
|
|
|
|
- allow use with unixODBC (courtesy Troels Arvin) [Bug #97998]
|
|
|
|
|
|
|
|
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
|
|
|
|
- rebuilt
|
|
|
|
|
|
|
|
* Mon Jun 02 2003 Andrew Overholt <overholt@redhat.com> 7.3-1
|
|
|
|
- sync to new community version (07.03.0100 => v7.3, r1)
|
|
|
|
|
|
|
|
* Thu Jan 23 2003 Tim Powers <timp@redhat.com> 1-2
|
|
|
|
- rebuild
|
2004-09-09 10:35:52 +00:00
|
|
|
|
|
|
|
* Tue Jan 14 2003 Andrew Overholt <overholt@redhat.com>
|
|
|
|
- 1-1
|
|
|
|
- initial build (just took old package sections)
|