2004-09-09 10:35:52 +00:00
|
|
|
Name: postgresql-odbc
|
|
|
|
Summary: PostgreSQL ODBC driver.
|
2004-09-09 10:36:41 +00:00
|
|
|
Version: 7.3
|
|
|
|
Release: 4
|
2004-09-09 10:35:52 +00:00
|
|
|
License: GPL
|
|
|
|
Group: Applications/Databases
|
|
|
|
Url: http://gborg.postgresql.org/project/psqlodbc
|
|
|
|
|
2004-09-09 10:36:41 +00:00
|
|
|
Source0: ftp://ftp.us.postgresql.org/odbc/versions/src/psqlodbc-07.03.0100.tar.gz
|
|
|
|
Source1: acinclude.m4
|
2004-09-09 10:35:52 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2004-09-09 10:36:41 +00:00
|
|
|
BuildPreReq: unixODBC-devel
|
|
|
|
BuildRequires: automake autoconf
|
|
|
|
Requires: postgresql-libs >= 7.3
|
2004-09-09 10:35:52 +00:00
|
|
|
Provides: postgresql-odbc
|
|
|
|
|
|
|
|
Buildroot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
# This spec file and ancilliary files are licensed in accordance with
|
|
|
|
# the psqlodbc license.
|
|
|
|
|
|
|
|
%description
|
|
|
|
This package includes the driver needed for applications to access a
|
|
|
|
PostgreSQL system via ODBC (Open Database Connectivity).
|
|
|
|
|
|
|
|
%prep
|
2004-09-09 10:36:41 +00:00
|
|
|
%setup -q -n psqlodbc-07.03.0100
|
|
|
|
|
|
|
|
# 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
|
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
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%attr(755,root,root) %{_libdir}/psqlodbc.so
|
|
|
|
%{_libdir}/psqlodbc.la
|
|
|
|
%{_datadir}/psqlodbc/odbc-drop.sql
|
|
|
|
%{_datadir}/psqlodbc/odbc.sql
|
|
|
|
|
|
|
|
%changelog
|
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)
|