diff options
Diffstat (limited to 'unixodbc23')
-rw-r--r-- | unixodbc23/mysql-connector-odbc.spec.diff | 93 | ||||
-rw-r--r-- | unixodbc23/mysql-connector-odbc.spec.nodsc | 152 | ||||
-rw-r--r-- | unixodbc23/postgresql-odbc.spec.diff | 49 | ||||
-rw-r--r-- | unixodbc23/postgresql-odbc.spec.nodsc | 207 | ||||
-rw-r--r-- | unixodbc23/unixODBC-gui-qt.spec.nodsc | 120 | ||||
-rw-r--r-- | unixodbc23/unixODBC.spec.bak | 535 | ||||
-rw-r--r-- | unixodbc23/unixODBC.spec.diff | 93 | ||||
-rw-r--r-- | unixodbc23/unixODBC.spec.dscold | 523 | ||||
-rw-r--r-- | unixodbc23/unixODBC.spec.nodsc | 528 | ||||
-rw-r--r-- | unixodbc23/unixODBC.spec.tgl | 527 |
10 files changed, 2827 insertions, 0 deletions
diff --git a/unixodbc23/mysql-connector-odbc.spec.diff b/unixodbc23/mysql-connector-odbc.spec.diff new file mode 100644 index 0000000..8283c39 --- /dev/null +++ b/unixodbc23/mysql-connector-odbc.spec.diff @@ -0,0 +1,93 @@ +--- mysql-connector-odbc.spec.nodsc 2010-01-21 01:24:43.000000000 +0100 ++++ mysql-connector-odbc.spec 2012-06-05 14:34:38.350018792 +0200 +@@ -1,7 +1,10 @@ ++%{?scl:%scl_package mysql-connector-odbc} ++%{!?scl:%global pkg_name mysql-connector-odbc} ++ + Summary: ODBC driver for MySQL +-Name: mysql-connector-odbc ++Name: %{?scl_prefix}mysql-connector-odbc + Version: 5.1.5r1144 +-Release: 7%{?dist} ++Release: 8%{?dist} + Group: System Environment/Libraries + URL: http://dev.mysql.com/downloads/connector/odbc/ + # exceptions allow library to be linked with most open source SW, +@@ -19,8 +22,9 @@ Patch3: myodbc-multilib.patch + Patch4: myodbc-null-string.patch + Patch5: myodbc-64bit.patch + +-Requires: unixODBC +-BuildRequires: mysql-devel unixODBC-devel ++Requires: %{?scl:%scl_prefix}unixODBC ++BuildRequires: mysql-devel ++BuildRequires: %{?scl:%scl_prefix}unixODBC-devel + BuildRequires: automake autoconf libtool libtool-ltdl-devel + BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +@@ -28,7 +32,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version + An ODBC (rev 3) driver for MySQL, for use with unixODBC. + + %prep +-%setup -q ++%setup -q %{?scl:-n %{pkg_name}-%{version}} + + %patch1 -p1 + %patch2 -p1 +@@ -45,20 +49,24 @@ automake -a + automake + autoconf + ++%{?scl:scl enable %scl - << \EOF} + %configure \ + --disable-gui \ + --with-unixODBC=/usr/foo \ +- --with-odbc-ini=/etc/odbc.ini \ +- --with-mysql-includes=%{_includedir}/mysql \ +- --with-mysql-libs=%{_libdir}/mysql ++ --with-odbc-ini=%{_sysconfdir}/odbc.ini \ ++ --with-mysql-includes=%{_root_includedir}/mysql \ ++ --with-mysql-libs=%{_root_libdir}/mysql + + export tagname=CC + make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} ++%{?scl:EOF} + + %install + rm -rf $RPM_BUILD_ROOT + export tagname=CC ++%{?scl:scl enable %scl - << \EOF} + %makeinstall LIBTOOL=/usr/bin/libtool ++%{?scl:EOF} + + # Remove stuff not to be packaged (possibly reconsider later) + rm -f $RPM_BUILD_ROOT%{_bindir}/myodbc-installer +@@ -67,12 +75,12 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/myodbc-i + rm -f $RPM_BUILD_ROOT%{_libdir}/libmyodbc5.*a + + # makefile thinks it should install docs in totally wrong place +-rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/README +-rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/README.debug +-rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/ChangeLog +-rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/INSTALL +-rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/LICENSE.exceptions +-rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/LICENSE.gpl ++rm -f $RPM_BUILD_ROOT%{_datadir}/mysql-connector-odbc/README ++rm -f $RPM_BUILD_ROOT%{_datadir}/mysql-connector-odbc/README.debug ++rm -f $RPM_BUILD_ROOT%{_datadir}/mysql-connector-odbc/ChangeLog ++rm -f $RPM_BUILD_ROOT%{_datadir}/mysql-connector-odbc/INSTALL ++rm -f $RPM_BUILD_ROOT%{_datadir}/mysql-connector-odbc/LICENSE.exceptions ++rm -f $RPM_BUILD_ROOT%{_datadir}/mysql-connector-odbc/LICENSE.gpl + + %clean + rm -rf $RPM_BUILD_ROOT +@@ -87,6 +95,9 @@ rm -rf $RPM_BUILD_ROOT + %{_libdir}/lib*so + + %changelog ++* Tue Dec 06 2011 Honza Horak <hhorak@redhat.com> 5.1.5r1144-8 ++- Enable building in scl ++ + * Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.5r1144-7 + - Correct Source: tag and comment to reflect how to get the tarball + diff --git a/unixodbc23/mysql-connector-odbc.spec.nodsc b/unixodbc23/mysql-connector-odbc.spec.nodsc new file mode 100644 index 0000000..b73684c --- /dev/null +++ b/unixodbc23/mysql-connector-odbc.spec.nodsc @@ -0,0 +1,152 @@ +Summary: ODBC driver for MySQL +Name: mysql-connector-odbc +Version: 5.1.5r1144 +Release: 7%{?dist} +Group: System Environment/Libraries +URL: http://dev.mysql.com/downloads/connector/odbc/ +# exceptions allow library to be linked with most open source SW, +# not only GPL code. +License: GPLv2 with exceptions + +# Upstream has a mirror redirector for downloads, so the URL is hard to +# represent statically. You can get the tarball by following a link from +# http://dev.mysql.com/downloads/connector/odbc/ +Source: mysql-connector-odbc-%{version}.tar.gz + +Patch1: myodbc-my-bool.patch +Patch2: myodbc-shutdown.patch +Patch3: myodbc-multilib.patch +Patch4: myodbc-null-string.patch +Patch5: myodbc-64bit.patch + +Requires: unixODBC +BuildRequires: mysql-devel unixODBC-devel +BuildRequires: automake autoconf libtool libtool-ltdl-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +An ODBC (rev 3) driver for MySQL, for use with unixODBC. + +%prep +%setup -q + +%patch1 -p1 +%patch2 -p1 +%patch3 -p1 +%patch4 -p1 +%patch5 -p1 + +%build +export CFLAGS="%{optflags} -fno-strict-aliasing" + +libtoolize --copy --force +aclocal +automake -a +automake +autoconf + +%configure \ + --disable-gui \ + --with-unixODBC=/usr/foo \ + --with-odbc-ini=/etc/odbc.ini \ + --with-mysql-includes=%{_includedir}/mysql \ + --with-mysql-libs=%{_libdir}/mysql + +export tagname=CC +make LIBTOOL=/usr/bin/libtool %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT +export tagname=CC +%makeinstall LIBTOOL=/usr/bin/libtool + +# Remove stuff not to be packaged (possibly reconsider later) +rm -f $RPM_BUILD_ROOT%{_bindir}/myodbc-installer + +# we don't want static libraries, thanks +rm -f $RPM_BUILD_ROOT%{_libdir}/libmyodbc5.*a + +# makefile thinks it should install docs in totally wrong place +rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/README +rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/README.debug +rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/ChangeLog +rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/INSTALL +rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/LICENSE.exceptions +rm -f $RPM_BUILD_ROOT/usr/share/mysql-connector-odbc/LICENSE.gpl + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc README README.debug ChangeLog LICENSE.gpl LICENSE.exceptions +%{_libdir}/lib*so + +%changelog +* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 5.1.5r1144-7 +- Correct Source: tag and comment to reflect how to get the tarball + +* Mon Nov 23 2009 Dennis Gregorovic <dgregor@redhat.com> - 5.1.5r1144-6.1 +- Rebuilt for RHEL 6 + +* Fri Aug 21 2009 Tomas Mraz <tmraz@redhat.com> - 5.1.5r1144-6 +- rebuilt with new openssl + +* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.5r1144-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 5.1.5r1144-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 5.1.5r1144-3 +- Fix some 64-bitness issues with unixODBC 2.2.14. + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 5.1.5r1144-2 +- Rebuild for unixODBC 2.2.14. +- Fix problem with null username/password specifications + +* Thu Jan 22 2009 Tom Lane <tgl@redhat.com> 5.1.5r1144-1 +- Update to mysql-connector-odbc 5.1.5r1144, to go with MySQL 5.1.x. + Note the library name has changed from libmyodbc3 to libmyodbc5. + +* Tue Aug 5 2008 Tom Lane <tgl@redhat.com> 3.51.26r1127-1 +- Update to mysql-connector-odbc 3.51.26r1127 + +* Tue Mar 25 2008 Tom Lane <tgl@redhat.com> 3.51.24r1071-1 +- Update to mysql-connector-odbc 3.51.24r1071 + +* Tue Feb 12 2008 Tom Lane <tgl@redhat.com> 3.51.23r998-1 +- Update to mysql-connector-odbc 3.51.23r998 + +* Wed Dec 5 2007 Tom Lane <tgl@redhat.com> 3.51.14r248-3 +- Rebuild for new openssl + +* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 3.51.14r248-2 +- Update License tag to match code. + +* Fri Apr 20 2007 Tom Lane <tgl@redhat.com> 3.51.14r248-1 +- Update to mysql-connector-odbc 3.51.14r248 +Resolves: #236473 +- Fix build problem on multilib machines + +* Mon Jul 17 2006 Tom Lane <tgl@redhat.com> 3.51.12-2.2 +- rebuild + +* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 3.51.12-2 +- Remove DLL-unload cleanup call from connection shutdown (bz#185343) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 3.51.12-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 3.51.12-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Fri Nov 11 2005 Tom Lane <tgl@redhat.com> 3.51.12-1 +- New package replacing MyODBC. diff --git a/unixodbc23/postgresql-odbc.spec.diff b/unixodbc23/postgresql-odbc.spec.diff new file mode 100644 index 0000000..87b939a --- /dev/null +++ b/unixodbc23/postgresql-odbc.spec.diff @@ -0,0 +1,49 @@ +--- postgresql-odbc.spec.nodsc 2010-03-15 17:01:43.000000000 +0100 ++++ postgresql-odbc.spec 2011-12-06 15:46:52.131950657 +0100 +@@ -1,7 +1,14 @@ +-Name: postgresql-odbc ++# Sets %%pkg_name to 'postgresql-odbc' if we build for scl. ++%{?scl:%scl_package postgresql-odbc} ++# If we don't build for scl, then pkg_name is empty. ++# This way, we can always use %%pkg_name for 'postgresql-odbc', be it scl build or not. ++%{!?scl:%global pkg_name postgresql-odbc} ++# %%{name} then references to either 'postgresql-odbc' (not in scl) or '%%{?scl:%scl_prefix}postgresql-odbc' (in scl). ++ ++Name: %{?scl_prefix}postgresql-odbc + Summary: PostgreSQL ODBC driver + Version: 08.04.0200 +-Release: 1%{?dist} ++Release: 2%{?dist} + License: LGPLv2+ + Group: Applications/Databases + URL: http://psqlodbc.projects.postgresql.org/ +@@ -22,7 +29,7 @@ Source0: psqlodbc-%{version}.tar.gz + Source1: acinclude.m4 + + Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +-BuildRequires: unixODBC-devel ++BuildRequires: %{?scl:%scl_prefix}unixODBC-devel + BuildRequires: libtool automake autoconf postgresql-devel + BuildRequires: openssl-devel krb5-devel pam-devel zlib-devel readline-devel + +@@ -52,7 +59,10 @@ autoheader + + %build + ++echo %scl ++%{?scl:scl enable %scl - << \EOF} + %configure --with-unixodbc --disable-dependency-tracking ++%{?scl:EOF} + + make + +@@ -81,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT + %doc license.txt readme.txt docs/* + + %changelog ++* Tue Dec 06 2011 Honza Horak <hhorak@redhat.com> 08.04.0200-2 ++- Enable building in scl ++ + * Mon Mar 15 2010 Tom Lane <tgl@redhat.com> 08.04.0200-1 + - Update to version 08.04.0200 + Resolves: #568900 diff --git a/unixodbc23/postgresql-odbc.spec.nodsc b/unixodbc23/postgresql-odbc.spec.nodsc new file mode 100644 index 0000000..4679bb5 --- /dev/null +++ b/unixodbc23/postgresql-odbc.spec.nodsc @@ -0,0 +1,207 @@ +Name: postgresql-odbc +Summary: PostgreSQL ODBC driver +Version: 08.04.0200 +Release: 1%{?dist} +License: LGPLv2+ +Group: Applications/Databases +URL: http://psqlodbc.projects.postgresql.org/ + +# Upstream has a mirror redirector for downloads, so the URL is hard to +# represent statically. You can get the tarball by following a link from +# http://www.postgresql.org/ftp/odbc/versions/src/ +Source0: psqlodbc-%{version}.tar.gz +# CAUTION: acinclude.m4 has to be kept in sync with package's aclocal.m4. +# This is a kluge that ought to go away, but upstream currently isn't +# shipping their custom macros anywhere except in aclocal.m4. (The macros +# actually come from the Postgres source tree, but we haven't got that +# available while building this RPM.) To generate: in psqlodbc source tree, +# aclocal -I . -I $PGSRC/config +# then strip aclocal.m4 down to just the PGAC macros. +# BUT: as of 08.04.0200, configure.ac hasn't been updated to use PG8.4 +# macros, so keep using the previous version of acinclude.m4. +Source1: acinclude.m4 + +Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root +BuildRequires: unixODBC-devel +BuildRequires: libtool automake autoconf postgresql-devel +BuildRequires: openssl-devel krb5-devel pam-devel zlib-devel readline-devel + +Requires: postgresql-libs >= 8.0 + +# This spec file and ancillary 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 +%setup -q -n psqlodbc-%{version} + +# Some missing macros. Courtesy Owen Taylor <otaylor@redhat.com>. +cp -p %{SOURCE1} . + +# Use build system's libtool.m4, not the one in the package. +rm -f libtool.m4 + +libtoolize --force --copy +aclocal -I . +automake --add-missing --copy +autoconf +autoheader + +%build + +%configure --with-unixodbc --disable-dependency-tracking + +make + +%install +rm -rf $RPM_BUILD_ROOT + +%makeinstall + +# Provide the old library name "psqlodbc.so" as a symlink, +# and remove the rather useless .la file +pushd ${RPM_BUILD_ROOT}%{_libdir} + ln -s psqlodbcw.so psqlodbc.so + rm psqlodbcw.la +popd + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%attr(755,root,root) %{_libdir}/psqlodbcw.so +%{_libdir}/psqlodbc.so +%doc license.txt readme.txt docs/* + +%changelog +* Mon Mar 15 2010 Tom Lane <tgl@redhat.com> 08.04.0200-1 +- Update to version 08.04.0200 +Resolves: #568900 + +* Wed Jan 20 2010 Tom Lane <tgl@redhat.com> 08.04.0100-3 +- Correct Source0: tag and comment to reflect how to get the tarball + +* Mon Nov 23 2009 Dennis Gregorovic <dgregor@redhat.com> - 08.04.0100-2.1 +- Rebuilt for RHEL 6 + +* Fri Aug 28 2009 Tom Lane <tgl@redhat.com> 08.04.0100-2 +- Rebuild with new openssl + +* Tue Aug 18 2009 Tom Lane <tgl@redhat.com> 08.04.0100-1 +- Update to version 08.04.0100 + +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.03.0200-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 08.03.0200-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 08.03.0200-2 +- Rebuild for unixODBC 2.2.14. + +* Tue Aug 5 2008 Tom Lane <tgl@redhat.com> 08.03.0200-1 +- Update to version 08.03.0200 + +* Tue Feb 12 2008 Tom Lane <tgl@redhat.com> 08.03.0100-1 +- Update to version 08.03.0100 +- Since it looks like upstream has decided to stick with psqlodbcw.so + permanently, allow the library to have that name. But continue to + provide psqlodbc.so as a symlink. + +* Fri Nov 2 2007 Tom Lane <tgl@redhat.com> 08.02.0500-1 +- Update to version 08.02.0500 + +* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 08.02.0200-2 +- Update License tag to match code. + +* Wed Apr 25 2007 Tom Lane <tgl@redhat.com> 08.02.0200-1 +- Update to version 08.02.0200 + +* Mon Dec 11 2006 Tom Lane <tgl@redhat.com> 08.01.0200-4 +- Rebuild for new Postgres libraries + +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-3.1 +- rebuild + +* Sat Jun 10 2006 Tom Lane <tgl@redhat.com> 08.01.0200-3 +- Fix BuildRequires: for mock build environment + +* 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) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-1.2 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 08.01.0200-1.1 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* 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. + +* 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) + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 08.01.0100-1 +- Update to version 08.01.0100. + +* Wed Mar 2 2005 Tom Lane <tgl@redhat.com> 08.00.0100-1 +- Update to version 08.00.0100. + +* Fri Nov 12 2004 Tom Lane <tgl@redhat.com> 7.3-9 +- back-port 64-bit fixes from current upstream (bug #139004) + +* Tue Sep 21 2004 Tom Lane <tgl@redhat.com> 7.3-8 +- rebuilt + +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> +- Correct License: annotation. + +* 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 + +* 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 + +* Tue Jan 14 2003 Andrew Overholt <overholt@redhat.com> +- 1-1 +- initial build (just took old package sections) diff --git a/unixodbc23/unixODBC-gui-qt.spec.nodsc b/unixodbc23/unixODBC-gui-qt.spec.nodsc new file mode 100644 index 0000000..aa53460 --- /dev/null +++ b/unixodbc23/unixODBC-gui-qt.spec.nodsc @@ -0,0 +1,120 @@ +# currently we have to pull directly from upstream SVN +%global svn 98 +%global checkout 20120105svn%{svn} + +Summary: Several GUI (Qt) programs and plug-ins for unixODBC +Name: unixODBC-gui-qt +# There has not been a formal upstream release yet and we're not +# sure what the first formal release version number will be, so using 0 +Version: 0 +Release: 0.5.%{checkout}%{?dist} +Group: Applications/Databases +URL: http://sourceforge.net/projects/unixodbc-gui-qt/ +# Programs are GPL, libraries are LGPL +License: GPLv3 and LGPLv3 + +# Source code is available only in SVN by upstream, so using own +# tarball created from the last commit. SVN repository can be found at +# https://unixodbc-gui-qt.svn.sourceforge.net/svnroot/unixodbc-gui-qt +Source: %{name}-%{checkout}.tar.bz2 +Source1: ODBCCreateDataSourceQ4.desktop +Source2: ODBCManageDataSourcesQ4.desktop +Source3: ODBCTestQ4.desktop + +Patch1: unixODBC-gui-qt-qstring.patch +# We'd like to have the same soname version as former unixODBC-kde had +Patch2: unixODBC-gui-qt-so-version-bump.patch + +BuildRequires: qt4-devel qt-assistant-adp-devel +BuildRequires: libtool libtool-ltdl-devel +BuildRequires: unixODBC-devel +BuildRequires: desktop-file-utils + +# Since unixODBC-2.3.0 does not contain GUI tools anymore, we can say +# unixODBC-gui-qt obsoletes all versions of unixODBC-kde before 2.3.0 +Provides: unixODBC-kde = 2.3.0-1 +Obsoletes: unixODBC-kde < 2.3.0-1 + +%description +unixODBC-gui-qt provides several GUI (Qt) programs and plug-ins. + * administrator (program) + * create data source wizard (program) + * test (program) + * installer (plug-in) + * auto test (plug-in) + +%prep +%setup -q -n %{name} +%patch1 -p1 -b .qstring +%patch2 -p1 -b .so-version-bump + +%build +# pick up qt path +export PATH="%{_qt4_bindir}:$PATH" + +make -f Makefile.svn + +%configure \ + --disable-static \ + --enable-ltdllib \ + --with-gnu-ld \ + --with-qt-dir-lib="%{_qt4_libdir}" \ + --with-qt-dir-bin="%{_qt4_bindir}" + +make %{?_smp_mflags} + +%install +# pick up qt path +export PATH="%{_qt4_bindir}:$PATH" + +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps + +make DESTDIR=$RPM_BUILD_ROOT install + +# install *.desktop files +desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE1} +desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2} +desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE3} + +# install icons used for applications in *.desktop files +install -p -m 644 ODBCDataManagerQ4/ODBC64.xpm \ + $RPM_BUILD_ROOT%{_datadir}/pixmaps/ODBCCreateDataSourceQ4.xpm +install -p -m 644 odbcinstQ4/ODBCManageDataSources64.xpm \ + $RPM_BUILD_ROOT%{_datadir}/pixmaps/ODBCManageDataSourcesQ4.xpm +install -p -m 644 ODBCTestQ4/ODBCTestQ4-48.xpm \ + $RPM_BUILD_ROOT%{_datadir}/pixmaps/ODBCTestQ4.xpm + +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la + +%files +%doc AUTHORS COPYING ChangeLog NEWS doc GPL.txt LGPL.txt +%{_bindir}/ODBCCreateDataSourceQ4 +%{_bindir}/ODBCManageDataSourcesQ4 +%{_bindir}/ODBCTestQ4 +%{_datadir}/applications/*.desktop +%{_datadir}/pixmaps/* +%{_libdir}/libgtrtstQ*so* +%{_libdir}/libodbcinstQ*so* + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%changelog +* Wed Feb 01 2012 Honza Horak <hhorak@redhat.com> - 0-0.5.20120105svn98 +- desktop files minor fixes + Related: #768986 + +* Tue Jan 10 2012 Tom Lane <tgl@redhat.com> - 0-0.4.20120105svn98 +- minor specfile improvements + +* Thu Jan 05 2012 Honza Horak <hhorak@redhat.com> - 0-0.3.20120105svn98 +- fixed issues found by Package Review process (see #767622) + +* Thu Dec 15 2011 Honza Horak <hhorak@redhat.com> - 0-0.2.20111208svn95 +- add Provides: unixODBC-kde to indicate unixODBC-gui-qt fills the gap after + GUI utils are no longer part of unixODBC + +* Tue Dec 13 2011 Honza Horak <hhorak@redhat.com> - 0-0.1.20111208svn95 +- initial build from svn commit 95 after detachment from unixODBC project diff --git a/unixodbc23/unixODBC.spec.bak b/unixodbc23/unixODBC.spec.bak new file mode 100644 index 0000000..5993cf1 --- /dev/null +++ b/unixodbc23/unixODBC.spec.bak @@ -0,0 +1,535 @@ +# Sets %%pkg_name to 'unixODBC' if we build for scl. +%{?scl:%scl_package unixODBC} +# If we don't build for scl, then pkg_name is empty. +# This way, we can always use %%pkg_name for 'unixODBC', be it scl build or not. +%{!?scl:%global pkg_name unixODBC} +# %%{name} then references to either 'unixODBC' (not in scl) or '%%{?scl:%scl_prefix}unixODBC' (in scl). + +Summary: A complete ODBC driver manager for Linux +Name: %{?scl_prefix}unixODBC +Version: 2.3.1 +Release: 1%{?dist} +Group: System Environment/Libraries +URL: http://www.unixODBC.org/ +# Programs are GPL, libraries are LGPL, except News Server library is GPL. +License: GPLv2+ and LGPLv2+ + +Source: http://www.unixODBC.org/%{pkg_name}-%{version}.tar.gz +Source1: odbcinst.ini +Source4: conffile.h + +Patch1: depcomp.patch +Patch2: multilib-config.patch +Patch3: warning-cleanup.patch +Patch6: export-symbols.patch +Patch7: libtool-config.patch +Patch8: so-version-bump.patch +Patch9: keep-typedefs.patch +Patch10: odbcint64-config.patch +Patch11: enable-items.patch + +Conflicts: iodbc +#BuildRequires: libX11-devel libXt-devel libXext-devel +#BuildRequires: qt4-devel readline-devel +BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex +#BuildRequires: desktop-file-utils +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root +%{?scl:Requires:%scl_runtime} + +%description +Install unixODBC if you want to access databases through ODBC. +You will also need the mysql-connector-odbc package if you want to access +a MySQL database, and/or the postgresql-odbc package for PostgreSQL. + +%package devel +Summary: Development files for programs which will use the unixODBC library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The unixODBC package can be used to access databases through ODBC +drivers. If you want to develop programs that will access data through +ODBC, you need to install this package. + +%prep +%setup -q %{?scl:-n %{pkg_name}-%{version}} +%patch1 -p1 +#%patch2 -p1 # not needed +#%patch3 -p1 # needs change +%patch6 -p1 +#%patch7 -p1 # needs change +#%patch8 -p1 # needs change +%patch9 -p1 +#%patch10 -p1 # applied +#%patch11 -p1 # qt + +#chmod 0644 Drivers/MiniSQL/*.c +#chmod 0644 Drivers/nn/*.c +#chmod 0644 Drivers/template/*.c +#chmod 0644 doc/ProgrammerManual/Tutorial/*.html +#chmod 0644 doc/lst/* +#chmod 0644 include/odbcinst.h + +# Blow away the embedded libtool and replace with build system's libtool. +# (We will use the installed libtool anyway, but this makes sure they match.) +#rm -rf config.guess config.sub install-sh ltmain.sh libltdl +# this hack is so we can build with either libtool 2.2 or 1.5 +#libtoolize --install || libtoolize + +%build +# pick up qt path +#export PATH="%{_qt4_bindir}:$PATH" # not needed anymore +# clean up old moc files +#(cd odbcinstQ4 && rm -f mC*.cpp) # not needed anymore + +#aclocal # needs check +#automake --add-missing # needs check +#autoconf # needs check + +# unixODBC 2.2.14 is not aliasing-safe +CFLAGS="%{optflags} -fno-strict-aliasing" +CXXFLAGS="$CFLAGS" +export CFLAGS CXXFLAGS + +%configure --with-gnu-ld=yes --enable-threads=yes --enable-drivers +make all + +%install +# pick up qt path +#export PATH="%{_qt4_bindir}:$PATH" + +rm -rf $RPM_BUILD_ROOT +#mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +#mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps + +make DESTDIR=$RPM_BUILD_ROOT install +install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} + +# install *.desktop files +#desktop-file-install --dir=$RPM_BUILD_ROOT%{_datadir}/applications %{SOURCE2} + +# package doesn't supply an icon for ODBCConfig, so use the one for DataManager +#cp DataManager/LinuxODBC.xpm $RPM_BUILD_ROOT%{_datadir}/pixmaps + +# multilib header hacks +# we only apply this to known Red Hat multilib arches, per bug #181335 +case `uname -i` in + i386 | x86_64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 ) + mv $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf_`uname -i`.h + rm -f unixodbc_conf.h + sed s/CONFFILE/unixodbc_conf/ %{SOURCE4} >unixodbc_conf.h + install -m 644 unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir} + ;; + *) + ;; +esac + +# remove obsolete Postgres drivers from the package (but not the setup code) +rm -f $RPM_BUILD_ROOT%{_libdir}/libodbcpsql.so* + +# copy text driver documentation into main doc directory +# currently disabled because upstream no longer includes text driver +# mkdir -p doc/Drivers/txt +# cp -pr Drivers/txt/doc/* doc/Drivers/txt + +# don't want to install doc Makefiles as docs +find doc -name 'Makefile*' | xargs rm + +# we do not want to ship static libraries +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a + +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/libltdl.* +rm -rf $RPM_BUILD_ROOT%{_datadir}/libtool + +# initialize lists of .so files +find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > base-so-list +find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list + +# move these to main package, they're often dlopened... +for lib in libodbc.so libodbcinst.so #libodbcpsqlS.so libodbcmyS.so +do + echo "%{_libdir}/$lib" >> base-so-list + grep -v "/$lib$" devel-so-list > devel-so-list.x + mv -f devel-so-list.x devel-so-list +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f base-so-list +%defattr(-,root,root) +%doc README COPYING AUTHORS ChangeLog NEWS doc +%config(noreplace) %{_sysconfdir}/odbc* +%{_bindir}/odbcinst +%{_bindir}/isql +%{_bindir}/dltest +%{_bindir}/iusql +%{_bindir}/odbc_config + +%files devel -f devel-so-list +%defattr(-,root,root) +%{_includedir}/* + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%changelog +* Tue May 4 2010 Tom Lane <tgl@redhat.com> 2.2.14-11 +- Re-add accidentally-removed desktop icon for ODBCConfig +Resolves: #587933 + +* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 2.2.14-9 +- Sync with Fedora head +- Fix bug preventing drivers from being selected in ODBCConfig +Resolves: #554501 +- Clean up bogosity in multilib stub header support: ia64 should not be + listed (it's not multilib), sparcv9 isn't a possible uname -i output + +* Fri Aug 21 2009 Tom Lane <tgl@redhat.com> 2.2.14-6 +- Switch to building against qt4, not qt3. This means the DataManager, + DataManagerII, and odbctest applications are gone. +Resolves: #514064 +- Use Driver64/Setup64 to eliminate need for hand-adjustment of odbcinst.ini +Resolves: #514688 +- Fix misdeclaration of SQLBIGINT and SQLUBIGINT in generated header files +Resolves: #518623 + +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jun 9 2009 Peter Lemenkov <lemenkov@gmail.com> - 2.2.14-4 +- Properly install *.desktop files +- No need to ship INSTALL in docs +- Use macros instead of hardcoded /usr/share and /usr/include +- fixed permissions on some doc- and src-files +- Almost all rpmlint messages are gone now + +* Sat Jun 06 2009 Dennis Gilmore <dennis@ausil.us> - 2.2.14-3 +- add sparc support to the multilib includes header + +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 2.2.14-1 +- Update to unixODBC 2.2.14. Note this involves an ABI break and a consequent + soname version bump, because upstream fixed some mistakes in the widths of + some API datatypes for 64-bit platforms. Also, the formerly embedded + mysql, postgresql, and text drivers have been removed. (For mysql and + postgresql, use the separate mysql-connector-odbc and postgresql-odbc + packages, which are far more up to date. The text driver is not currently + shipped by upstream at all, but might get revived as a separate SRPM later.) +- Stop shipping .a library files, per distro policy. +- Fixes for libtool 2.2. + +* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 2.2.12-9 +- Fix build failure caused by new default patch fuzz = 0 policy in rawhide. + +* Fri Jun 13 2008 Tom Lane <tgl@redhat.com> 2.2.12-8 +- Install icons in /usr/share/pixmaps, not /usr/share/icons as this package + has historically done; the former is considered correct. + +* Fri Apr 4 2008 Tom Lane <tgl@redhat.com> 2.2.12-7 +- Must BuildRequire qt3 now that Fedora has renamed qt4 to qt +Resolves: #440798 + +* Mon Feb 11 2008 Tom Lane <tgl@redhat.com> 2.2.12-6 +- Move libodbcinst.so symlink into main package, since it's often dlopen'd +Related: #204882 +- Clean up specfile's ugly coding for making base-vs-devel decisions + +* Sun Dec 30 2007 Tom Lane <tgl@redhat.com> 2.2.12-5 +- Add missing BuildRequires for flex. +Resolves: #427063 + +* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 2.2.12-4 +- Update License tag to match code. + +* Fri Apr 20 2007 Tom Lane <tgl@redhat.com> 2.2.12-3 +- Make configure find correct Qt libraries when building on a multilib machine + +* Mon Apr 16 2007 Tom Lane <tgl@redhat.com> 2.2.12-2 +- Drop BuildRequires for kdelibs-devel +Resolves: #152717 +- Clean up a few rpmlint complaints + +* Wed Dec 6 2006 Tom Lane <tgl@redhat.com> 2.2.12-1 +- Update to unixODBC 2.2.12. +- Add missing BuildPrereq for bison. +Resolves: #190427 + +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-7.1 +- rebuild + +* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 2.2.11-7 +- Fix minor problems in desktop files (bug #185764) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Mon Nov 21 2005 Tom Lane <tgl@redhat.com> 2.2.11-6 +- Patch NO-vs-no discrepancy between aclocal/acinclude and recent autoconf + versions (not sure if this has been broken for a long time, or was just + exposed by modular X changeover). +- Apparently need to require libXt-devel too for modular X. + +* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 2.2.11-5 +- Adjust BuildPrereq for modular X. + +* Sun Oct 16 2005 Florian La Roche <laroche@redhat.com> 2.2.11-4 +- link against dependent libs +- fix some bugs to resolve unknown symbols ;-( + +* Thu Sep 29 2005 Tom Lane <tgl@redhat.com> 2.2.11-3 +- Force update of yac.h because the copy in the distributed tarball does not + match bison 2.0's numbering of symbols (bz #162676) +- Include documentation of text-file driver +- Use private libltdl so we can omit RTLD_GLOBAL from dlopen flags (bz #161399) + +* Sat Sep 24 2005 Tom Lane <tgl@redhat.com> 2.2.11-2 +- Remove Makefiles accidentally included in docs installation (bz #168819) +- Updates to keep newer libtool code from installing itself as part of package + +* Fri Apr 8 2005 Tom Lane <tgl@redhat.com> 2.2.11-1 +- Update to unixODBC 2.2.11 + +* Mon Mar 7 2005 Tom Lane <tgl@redhat.com> 2.2.10-3 +- Rebuild with gcc4. + +* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.2.10-2 +- Rebuilt for new readline. + +* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 2.2.10-1 +- Update to unixODBC 2.2.10 + +* Wed Sep 22 2004 Tom Lane <tgl@redhat.com> 2.2.9-1 +- Update to unixODBC 2.2.9 + +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Sat May 8 2004 Tom Lane <tgl@redhat.com> 2.2.8-5 +- Backpatch fix for double-free error from upstream devel sources. +- rebuilt + +* Wed May 5 2004 Tom Lane <tgl@redhat.com> 2.2.8-4 +- Add dependency to ensure kde subpackage stays in sync with main + (needed because we moved odbctest from one pkg to the other, + cf bug #122478) +- rebuilt + +* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 2.2.8-3 +- Use installed libltdl +- rebuilt for Fedora Core 2 + +* Tue Mar 9 2004 Tom Lane <tgl@redhat.com> 2.2.8-2 +- Rename lo_xxx() to odbc_lo_xxx() (bug #117211) (temporary until 2.2.9) +- rebuilt + +* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Mon Mar 1 2004 Tom Lane <tgl@redhat.com> +- Update to 2.2.8 +- rebuilt + +* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Thu Dec 4 2003 Joe Orton <jorton@redhat.com> 2.2.5-10 +- rebuild to restore sqltypes.h after #111195 + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add XFree86-devel to the list of BuildPrereq. Did not bump + release as there is no need to rebuild. + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add comments to the /etc/odbcinst.ini file regarding the proper + setup for MySQL and the origin of each library needed. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-8 +- Move libodbcmyS.so to the main package as well. It is used the + same way as libodbcpsqlS.so. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-7 +- Bumped the version so it rebuilds. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-4 +- Revert previous change and special case libodbcpsql.so and + libodbcpsqlS.so instead. Here is the explanation (from Elliot + Lee): + ".so files are only used at link time for normal dynamic libraries. + The libraries referred to here are being used as dynamically loaded + modules, so I guess moving those particular .so files back to the + main package would make sense, but the other .so files should stay + in the devel subpackage." + +* Fri Oct 10 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-3 +- Moved all the shared library symlinks to the main package. + They were deliberatedly being added to the devel package for + unknown reasons but this was forcing users to install the + devel package always. +- No need to special-case libodbc.so anymore + +* Fri Sep 05 2003 Elliot Lee <sopwith@redhat.com> 2.2.5-2 +- Run auto* so it rebuilds. + +* Mon Jul 07 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-1 +- Moved odbctest to the kde package to remove require on Qt stuff + from the main package. +- Removed stray "\" from doc/Makefile.am +- Applied libtool fix (provided by Alex Oliva) so that it build + with cross-compilers (which are used by 64 bit systems) +- Updated sources to the 2.2.5 community release +- Changed the included libtool to the 1.5-3 one so that + it properly link the libraries with the newly generated ones + and not with the ones installed on the build system (or give + an error if an old version is not installed (# 91110) +- Added new files for executable DataManagerII and icons LinuxODBC.xpm + and odbc.xpm + +* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Wed Jan 22 2003 Tim Powers <timp@redhat.com> +- rebuilt + +* Thu Jan 9 2003 Bill Nottingham <notting@redhat.com> 2.2.3-5 +- debloat + +* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-4 +- Run libtoolize etc. + +* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-3 +- Rebuild to fix filelist errors...? + +* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 2.2.3-2 +- remove unpackaged files from the buildroot + +* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-1 +- Rebuild, update to 2.2.3 + +* Mon Aug 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-3 +- Move libodbc.so to the main package, so programs dlopening + it don't break (#72653) + +* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> +- rebuilt with gcc-3.2 (we hope) + +* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-1 +- 2.2.2 +- desktop file changes (# 69371) + +* Fri Jun 21 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Sun May 26 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Mon May 20 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.1-1 +- 2.2.1 +- Reenable other archs, as this should now build on 64 bit archs + +* Sun May 19 2002 Florian La Roche <Florian.LaRoche@redhat.de> +- add at least mainframe; should this really be a i386-only rpm? + +* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-5 +- rebuild + +* Fri Apr 5 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-4 +- Avoid having files in more than one package (#62755) + +* Tue Mar 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-3 +- Don't include kde plugin .so as a devel symlink (#61039) + +* Fri Mar 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-2 +- Rebuild with KDE 3.x + +* Tue Feb 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-1 +- Just build on i386 now, there are 64 bit oddities +- 2.2.0 + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-2 +- move libodbcinstQ* to the kde subpackage + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-1 +- 2.1.1 +- minor cleanups + +* Fri Dec 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 2.0.7-5 +- Rebuild + +* Wed Sep 12 2001 Tim Powers <timp@redhat.com> +- rebuild with new gcc and binutils + +* Sun Jun 24 2001 Than Ngo <than@redhat.com> +- rebuild against qt-2.3.1, kde-2.1.x + +* Fri Jun 15 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Better default odbcinst.ini +- Minor cleanups + +* Wed Jun 6 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.7 + +* Wed Apr 25 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Fix for isql segfault on EOF/ctrl-d exit + +* Fri Apr 20 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.6 +- add patch for 64 bit archs (dword shouldn't be "long int") + +* Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com> +- rebuild + +* Tue Nov 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.13 + +* Tue Oct 10 2000 Trond Eivind Glomsrd <teg@redhat.com> +- enable GUI now that we have KDE compiled with the standard + compiler +- move the applnk entries to the KDE package + +* Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com> +- add the missing shared libs to the non-devel package + +* Wed Aug 23 2000 Preston Brown <pbrown@redhat.com> +- 1.8.12 fixes problems with the postgresql driver + +* Mon Jul 31 2000 Trond Eivind Glomsrd <teg@redhat.com> +- disable KDE subpackage to avoid the mess that is C++ binary + compatibility + +* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> +- automatic rebuild + +* Fri Jun 30 2000 Florian La Roche <laroche@redhat.com> +- improved QTDIR detection + +* Thu Jun 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.10 +- use %%{_tmppath} +- update URL +- including two missing libraries + +* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com> +- 1.8.9 + +* Fri Jun 09 2000 Preston Brown <pbrown@redhat.com> +- adopted for Winston, changed to Red Hat packaging standards + +* Tue Apr 18 2000 Murray Todd Williams <murray@codingapes.com> +- added a unixODBC-devel RPM to the group, added KDE links and icons to system +- all of which came from recommendations from Fredrick Meunier +- <Fredrick.Meunier@computershare.com.au> + +* Mon Apr 17 2000 Murray Todd Williams <murray@codingapes.com> +- unixODBC-1.8.7 +- moved install to $RPM_BUILD_ROOT so it didn't overrun existing files. diff --git a/unixodbc23/unixODBC.spec.diff b/unixodbc23/unixODBC.spec.diff new file mode 100644 index 0000000..79d3443 --- /dev/null +++ b/unixodbc23/unixODBC.spec.diff @@ -0,0 +1,93 @@ +--- unixODBC.spec.nodsc 2012-06-06 10:17:10.752568671 +0200 ++++ unixODBC.spec 2012-06-06 10:24:35.395122156 +0200 +@@ -1,5 +1,8 @@ ++%{?scl:%scl_package unixODBC} ++%{!?scl:%global pkg_name unixODBC} ++ + Summary: A complete ODBC driver manager for Linux +-Name: unixODBC ++Name: %{?scl_prefix}unixODBC + Version: 2.3.1 + Release: 1%{?dist} + Group: System Environment/Libraries +@@ -7,7 +10,7 @@ URL: http://www.unixODBC.org/ + # Programs are GPL, libraries are LGPL, except News Server library is GPL. + License: GPLv2+ and LGPLv2+ + +-Source: http://www.unixODBC.org/%{name}-%{version}.tar.gz ++Source: http://www.unixODBC.org/%{pkg_name}-%{version}.tar.gz + Source1: odbcinst.ini + Source4: conffile.h + Source5: README.fedora +@@ -17,12 +20,12 @@ Patch6: export-symbols.patch + Patch8: so-version-bump.patch + Patch9: keep-typedefs.patch + +-Conflicts: iodbc ++Conflicts: %{?scl_prefix}iodbc + + BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex + BuildRequires: readline-devel + +-BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root ++%{?scl:Requires:%scl_runtime} + + %description + Install unixODBC if you want to access databases through ODBC. +@@ -40,7 +43,7 @@ drivers. If you want to develop programs + ODBC, you need to install this package. + + %prep +-%setup -q ++%setup -q %{?scl:-n %{pkg_name}-%{version}} + %patch1 -p1 + %patch6 -p1 + %patch8 -p1 +@@ -75,10 +78,34 @@ export CFLAGS CXXFLAGS + make all + + %install +-rm -rf $RPM_BUILD_ROOT +- + make DESTDIR=$RPM_BUILD_ROOT install +-install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} ++ ++# we need to pass right path prefix to libraries in odbcinst.ini, ++# the easiest way how to achieve this is to generate the file here ++cat > $RPM_BUILD_ROOT%{_sysconfdir}/odbcinst.ini << EOF ++# Example driver definitions ++ ++# Driver from the postgresql-odbc package ++# Setup from the unixODBC package ++[PostgreSQL] ++Description = ODBC for PostgreSQL ++Driver = %{_prefix}/lib/psqlodbc.so ++Setup = %{_prefix}/lib/libodbcpsqlS.so ++Driver64 = %{_prefix}/lib64/psqlodbc.so ++Setup64 = %{_prefix}/lib64/libodbcpsqlS.so ++FileUsage = 1 ++ ++ ++# Driver from the mysql-connector-odbc package ++# Setup from the unixODBC package ++[MySQL] ++Description = ODBC for MySQL ++Driver = %{_prefix}/lib/libmyodbc5.so ++Setup = %{_prefix}/lib/libodbcmyS.so ++Driver64 = %{_prefix}/lib64/libmyodbc5.so ++Setup64 = %{_prefix}/lib64/libodbcmyS.so ++FileUsage = 1 ++EOF + + # multilib header hacks + # we only apply this to known Red Hat multilib arches, per bug #181335 +@@ -127,9 +154,6 @@ do + mv -f devel-so-list.x devel-so-list + done + +-%clean +-rm -rf $RPM_BUILD_ROOT +- + %files -f base-so-list + %defattr(-,root,root) + %doc README COPYING AUTHORS ChangeLog NEWS doc diff --git a/unixodbc23/unixODBC.spec.dscold b/unixodbc23/unixODBC.spec.dscold new file mode 100644 index 0000000..c209e8f --- /dev/null +++ b/unixodbc23/unixODBC.spec.dscold @@ -0,0 +1,523 @@ +%{?scl:%scl_package unixODBC} +%{!?scl:%global pkg_name unixODBC} + +Summary: A complete ODBC driver manager for Linux +Name: %{?scl_prefix}unixODBC +Version: 2.3.1 +Release: 1%{?dist} +Group: System Environment/Libraries +URL: http://www.unixODBC.org/ +# Programs are GPL, libraries are LGPL, except News Server library is GPL. +License: GPLv2+ and LGPLv2+ + +Source: http://www.unixODBC.org/%{pkg_name}-%{version}.tar.gz +Source4: conffile.h + +Patch1: depcomp.patch +Patch3: warning-cleanup.patch +Patch6: export-symbols.patch +Patch8: so-version-bump.patch +Patch9: keep-typedefs.patch + +Conflicts: iodbc +BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex + +%{?scl:Requires:%scl_runtime} + +%description +Install unixODBC if you want to access databases through ODBC. +You will also need the mysql-connector-odbc package if you want to access +a MySQL database, and/or the postgresql-odbc package for PostgreSQL. + +%package devel +Summary: Development files for programs which will use the unixODBC library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The unixODBC package can be used to access databases through ODBC +drivers. If you want to develop programs that will access data through +ODBC, you need to install this package. + +%prep +%setup -q %{?scl:-n %{pkg_name}-%{version}} +%patch1 -p1 +%patch3 -p1 -b .warning-cleanup +%patch6 -p1 +%patch8 -p1 +%patch9 -p1 + +chmod 0644 Drivers/MiniSQL/*.c +chmod 0644 Drivers/nn/*.c +chmod 0644 Drivers/template/*.c +chmod 0644 doc/ProgrammerManual/Tutorial/*.html +chmod 0644 doc/lst/* +chmod 0644 include/odbcinst.h + +# Blow away the embedded libtool and replace with build system's libtool. +# (We will use the installed libtool anyway, but this makes sure they match.) +rm -rf config.guess config.sub install-sh ltmain.sh libltdl +# this hack is so we can build with either libtool 2.2 or 1.5 +libtoolize --install || libtoolize + +%build + +aclocal +automake --add-missing +autoconf + +# unixODBC 2.2.14 is not aliasing-safe +CFLAGS="%{optflags} -fno-strict-aliasing" +CXXFLAGS="$CFLAGS" +export CFLAGS CXXFLAGS + +%configure --with-gnu-ld=yes --enable-threads=yes --enable-drivers --enable-driverc=yes +make all + +%install +make DESTDIR=$RPM_BUILD_ROOT install + +# we need to pass right path prefix to libraries in odbcinst.ini, +# the easiest way how to achieve this is to generate the file here +cat > $RPM_BUILD_ROOT%{_sysconfdir}/odbcinst.ini << EOF +# Example driver definitions + +# Driver from the postgresql-odbc package +# Setup from the unixODBC package +[PostgreSQL] +Description = ODBC for PostgreSQL +Driver = %{_prefix}/lib/psqlodbc.so +Setup = %{_prefix}/lib/libodbcpsqlS.so +Driver64 = %{_prefix}/lib64/psqlodbc.so +Setup64 = %{_prefix}/lib64/libodbcpsqlS.so +FileUsage = 1 + + +# Driver from the mysql-connector-odbc package +# Setup from the unixODBC package +[MySQL] +Description = ODBC for MySQL +Driver = %{_prefix}/lib/libmyodbc5.so +Setup = %{_prefix}/lib/libodbcmyS.so +Driver64 = %{_prefix}/lib64/libmyodbc5.so +Setup64 = %{_prefix}/lib64/libodbcmyS.so +FileUsage = 1 +EOF + +# multilib header hacks +# we only apply this to known Red Hat multilib arches, per bug #181335 +case `uname -i` in + i386 | x86_64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 ) + mv $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf_`uname -i`.h + rm -f unixodbc_conf.h + sed s/CONFFILE/unixodbc_conf/ %{SOURCE4} >unixodbc_conf.h + install -m 644 unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir} + ;; + *) + ;; +esac + +# remove obsolete Postgres drivers from the package (but not the setup code) +rm -f $RPM_BUILD_ROOT%{_libdir}/libodbcpsql.so* + +# don't want to install doc Makefiles as docs +find doc -name 'Makefile*' | xargs rm + +# we do not want to ship static libraries +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a + +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/libltdl.* +rm -rf $RPM_BUILD_ROOT%{_datadir}/libtool + +# initialize lists of .so files +find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > base-so-list +find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list + +# move these to main package, they're often dlopened... +for lib in libodbc.so libodbcinst.so libodbcpsqlS.so libodbcmyS.so +do + echo "%{_libdir}/$lib" >> base-so-list + grep -v "/$lib$" devel-so-list > devel-so-list.x + mv -f devel-so-list.x devel-so-list +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f base-so-list +%defattr(-,root,root) +%doc README COPYING AUTHORS ChangeLog NEWS doc +%config(noreplace) %{_sysconfdir}/odbc* +%{_bindir}/odbcinst +%{_bindir}/isql +%{_bindir}/dltest +%{_bindir}/iusql +%{_bindir}/odbc_config + +%files devel -f devel-so-list +%defattr(-,root,root) +%{_includedir}/* + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%changelog +* Tue May 4 2010 Tom Lane <tgl@redhat.com> 2.2.14-11 +- Re-add accidentally-removed desktop icon for ODBCConfig +Resolves: #587933 + +* Mon Jan 11 2010 Tom Lane <tgl@redhat.com> 2.2.14-9 +- Sync with Fedora head +- Fix bug preventing drivers from being selected in ODBCConfig +Resolves: #554501 +- Clean up bogosity in multilib stub header support: ia64 should not be + listed (it's not multilib), sparcv9 isn't a possible uname -i output + +* Fri Aug 21 2009 Tom Lane <tgl@redhat.com> 2.2.14-6 +- Switch to building against qt4, not qt3. This means the DataManager, + DataManagerII, and odbctest applications are gone. +Resolves: #514064 +- Use Driver64/Setup64 to eliminate need for hand-adjustment of odbcinst.ini +Resolves: #514688 +- Fix misdeclaration of SQLBIGINT and SQLUBIGINT in generated header files +Resolves: #518623 + +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jun 9 2009 Peter Lemenkov <lemenkov@gmail.com> - 2.2.14-4 +- Properly install *.desktop files +- No need to ship INSTALL in docs +- Use macros instead of hardcoded /usr/share and /usr/include +- fixed permissions on some doc- and src-files +- Almost all rpmlint messages are gone now + +* Sat Jun 06 2009 Dennis Gilmore <dennis@ausil.us> - 2.2.14-3 +- add sparc support to the multilib includes header + +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 2.2.14-1 +- Update to unixODBC 2.2.14. Note this involves an ABI break and a consequent + soname version bump, because upstream fixed some mistakes in the widths of + some API datatypes for 64-bit platforms. Also, the formerly embedded + mysql, postgresql, and text drivers have been removed. (For mysql and + postgresql, use the separate mysql-connector-odbc and postgresql-odbc + packages, which are far more up to date. The text driver is not currently + shipped by upstream at all, but might get revived as a separate SRPM later.) +- Stop shipping .a library files, per distro policy. +- Fixes for libtool 2.2. + +* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 2.2.12-9 +- Fix build failure caused by new default patch fuzz = 0 policy in rawhide. + +* Fri Jun 13 2008 Tom Lane <tgl@redhat.com> 2.2.12-8 +- Install icons in /usr/share/pixmaps, not /usr/share/icons as this package + has historically done; the former is considered correct. + +* Fri Apr 4 2008 Tom Lane <tgl@redhat.com> 2.2.12-7 +- Must BuildRequire qt3 now that Fedora has renamed qt4 to qt +Resolves: #440798 + +* Mon Feb 11 2008 Tom Lane <tgl@redhat.com> 2.2.12-6 +- Move libodbcinst.so symlink into main package, since it's often dlopen'd +Related: #204882 +- Clean up specfile's ugly coding for making base-vs-devel decisions + +* Sun Dec 30 2007 Tom Lane <tgl@redhat.com> 2.2.12-5 +- Add missing BuildRequires for flex. +Resolves: #427063 + +* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 2.2.12-4 +- Update License tag to match code. + +* Fri Apr 20 2007 Tom Lane <tgl@redhat.com> 2.2.12-3 +- Make configure find correct Qt libraries when building on a multilib machine + +* Mon Apr 16 2007 Tom Lane <tgl@redhat.com> 2.2.12-2 +- Drop BuildRequires for kdelibs-devel +Resolves: #152717 +- Clean up a few rpmlint complaints + +* Wed Dec 6 2006 Tom Lane <tgl@redhat.com> 2.2.12-1 +- Update to unixODBC 2.2.12. +- Add missing BuildPrereq for bison. +Resolves: #190427 + +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-7.1 +- rebuild + +* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 2.2.11-7 +- Fix minor problems in desktop files (bug #185764) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Mon Nov 21 2005 Tom Lane <tgl@redhat.com> 2.2.11-6 +- Patch NO-vs-no discrepancy between aclocal/acinclude and recent autoconf + versions (not sure if this has been broken for a long time, or was just + exposed by modular X changeover). +- Apparently need to require libXt-devel too for modular X. + +* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 2.2.11-5 +- Adjust BuildPrereq for modular X. + +* Sun Oct 16 2005 Florian La Roche <laroche@redhat.com> 2.2.11-4 +- link against dependent libs +- fix some bugs to resolve unknown symbols ;-( + +* Thu Sep 29 2005 Tom Lane <tgl@redhat.com> 2.2.11-3 +- Force update of yac.h because the copy in the distributed tarball does not + match bison 2.0's numbering of symbols (bz #162676) +- Include documentation of text-file driver +- Use private libltdl so we can omit RTLD_GLOBAL from dlopen flags (bz #161399) + +* Sat Sep 24 2005 Tom Lane <tgl@redhat.com> 2.2.11-2 +- Remove Makefiles accidentally included in docs installation (bz #168819) +- Updates to keep newer libtool code from installing itself as part of package + +* Fri Apr 8 2005 Tom Lane <tgl@redhat.com> 2.2.11-1 +- Update to unixODBC 2.2.11 + +* Mon Mar 7 2005 Tom Lane <tgl@redhat.com> 2.2.10-3 +- Rebuild with gcc4. + +* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.2.10-2 +- Rebuilt for new readline. + +* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 2.2.10-1 +- Update to unixODBC 2.2.10 + +* Wed Sep 22 2004 Tom Lane <tgl@redhat.com> 2.2.9-1 +- Update to unixODBC 2.2.9 + +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Sat May 8 2004 Tom Lane <tgl@redhat.com> 2.2.8-5 +- Backpatch fix for double-free error from upstream devel sources. +- rebuilt + +* Wed May 5 2004 Tom Lane <tgl@redhat.com> 2.2.8-4 +- Add dependency to ensure kde subpackage stays in sync with main + (needed because we moved odbctest from one pkg to the other, + cf bug #122478) +- rebuilt + +* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 2.2.8-3 +- Use installed libltdl +- rebuilt for Fedora Core 2 + +* Tue Mar 9 2004 Tom Lane <tgl@redhat.com> 2.2.8-2 +- Rename lo_xxx() to odbc_lo_xxx() (bug #117211) (temporary until 2.2.9) +- rebuilt + +* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Mon Mar 1 2004 Tom Lane <tgl@redhat.com> +- Update to 2.2.8 +- rebuilt + +* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Thu Dec 4 2003 Joe Orton <jorton@redhat.com> 2.2.5-10 +- rebuild to restore sqltypes.h after #111195 + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add XFree86-devel to the list of BuildPrereq. Did not bump + release as there is no need to rebuild. + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add comments to the /etc/odbcinst.ini file regarding the proper + setup for MySQL and the origin of each library needed. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-8 +- Move libodbcmyS.so to the main package as well. It is used the + same way as libodbcpsqlS.so. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-7 +- Bumped the version so it rebuilds. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-4 +- Revert previous change and special case libodbcpsql.so and + libodbcpsqlS.so instead. Here is the explanation (from Elliot + Lee): + ".so files are only used at link time for normal dynamic libraries. + The libraries referred to here are being used as dynamically loaded + modules, so I guess moving those particular .so files back to the + main package would make sense, but the other .so files should stay + in the devel subpackage." + +* Fri Oct 10 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-3 +- Moved all the shared library symlinks to the main package. + They were deliberatedly being added to the devel package for + unknown reasons but this was forcing users to install the + devel package always. +- No need to special-case libodbc.so anymore + +* Fri Sep 05 2003 Elliot Lee <sopwith@redhat.com> 2.2.5-2 +- Run auto* so it rebuilds. + +* Mon Jul 07 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-1 +- Moved odbctest to the kde package to remove require on Qt stuff + from the main package. +- Removed stray "\" from doc/Makefile.am +- Applied libtool fix (provided by Alex Oliva) so that it build + with cross-compilers (which are used by 64 bit systems) +- Updated sources to the 2.2.5 community release +- Changed the included libtool to the 1.5-3 one so that + it properly link the libraries with the newly generated ones + and not with the ones installed on the build system (or give + an error if an old version is not installed (# 91110) +- Added new files for executable DataManagerII and icons LinuxODBC.xpm + and odbc.xpm + +* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Wed Jan 22 2003 Tim Powers <timp@redhat.com> +- rebuilt + +* Thu Jan 9 2003 Bill Nottingham <notting@redhat.com> 2.2.3-5 +- debloat + +* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-4 +- Run libtoolize etc. + +* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-3 +- Rebuild to fix filelist errors...? + +* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 2.2.3-2 +- remove unpackaged files from the buildroot + +* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-1 +- Rebuild, update to 2.2.3 + +* Mon Aug 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-3 +- Move libodbc.so to the main package, so programs dlopening + it don't break (#72653) + +* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> +- rebuilt with gcc-3.2 (we hope) + +* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-1 +- 2.2.2 +- desktop file changes (# 69371) + +* Fri Jun 21 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Sun May 26 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Mon May 20 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.1-1 +- 2.2.1 +- Reenable other archs, as this should now build on 64 bit archs + +* Sun May 19 2002 Florian La Roche <Florian.LaRoche@redhat.de> +- add at least mainframe; should this really be a i386-only rpm? + +* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-5 +- rebuild + +* Fri Apr 5 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-4 +- Avoid having files in more than one package (#62755) + +* Tue Mar 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-3 +- Don't include kde plugin .so as a devel symlink (#61039) + +* Fri Mar 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-2 +- Rebuild with KDE 3.x + +* Tue Feb 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-1 +- Just build on i386 now, there are 64 bit oddities +- 2.2.0 + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-2 +- move libodbcinstQ* to the kde subpackage + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-1 +- 2.1.1 +- minor cleanups + +* Fri Dec 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 2.0.7-5 +- Rebuild + +* Wed Sep 12 2001 Tim Powers <timp@redhat.com> +- rebuild with new gcc and binutils + +* Sun Jun 24 2001 Than Ngo <than@redhat.com> +- rebuild against qt-2.3.1, kde-2.1.x + +* Fri Jun 15 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Better default odbcinst.ini +- Minor cleanups + +* Wed Jun 6 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.7 + +* Wed Apr 25 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Fix for isql segfault on EOF/ctrl-d exit + +* Fri Apr 20 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.6 +- add patch for 64 bit archs (dword shouldn't be "long int") + +* Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com> +- rebuild + +* Tue Nov 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.13 + +* Tue Oct 10 2000 Trond Eivind Glomsrd <teg@redhat.com> +- enable GUI now that we have KDE compiled with the standard + compiler +- move the applnk entries to the KDE package + +* Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com> +- add the missing shared libs to the non-devel package + +* Wed Aug 23 2000 Preston Brown <pbrown@redhat.com> +- 1.8.12 fixes problems with the postgresql driver + +* Mon Jul 31 2000 Trond Eivind Glomsrd <teg@redhat.com> +- disable KDE subpackage to avoid the mess that is C++ binary + compatibility + +* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> +- automatic rebuild + +* Fri Jun 30 2000 Florian La Roche <laroche@redhat.com> +- improved QTDIR detection + +* Thu Jun 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.10 +- use %%{_tmppath} +- update URL +- including two missing libraries + +* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com> +- 1.8.9 + +* Fri Jun 09 2000 Preston Brown <pbrown@redhat.com> +- adopted for Winston, changed to Red Hat packaging standards + +* Tue Apr 18 2000 Murray Todd Williams <murray@codingapes.com> +- added a unixODBC-devel RPM to the group, added KDE links and icons to system +- all of which came from recommendations from Fredrick Meunier +- <Fredrick.Meunier@computershare.com.au> + +* Mon Apr 17 2000 Murray Todd Williams <murray@codingapes.com> +- unixODBC-1.8.7 +- moved install to $RPM_BUILD_ROOT so it didn't overrun existing files. diff --git a/unixodbc23/unixODBC.spec.nodsc b/unixodbc23/unixODBC.spec.nodsc new file mode 100644 index 0000000..47bfab6 --- /dev/null +++ b/unixodbc23/unixODBC.spec.nodsc @@ -0,0 +1,528 @@ +Summary: A complete ODBC driver manager for Linux +Name: unixODBC +Version: 2.3.1 +Release: 1%{?dist} +Group: System Environment/Libraries +URL: http://www.unixODBC.org/ +# Programs are GPL, libraries are LGPL, except News Server library is GPL. +License: GPLv2+ and LGPLv2+ + +Source: http://www.unixODBC.org/%{name}-%{version}.tar.gz +Source1: odbcinst.ini +Source4: conffile.h +Source5: README.fedora + +Patch1: depcomp.patch +Patch6: export-symbols.patch +Patch8: so-version-bump.patch +Patch9: keep-typedefs.patch + +Conflicts: iodbc + +BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex +BuildRequires: readline-devel + +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +Install unixODBC if you want to access databases through ODBC. +You will also need the mysql-connector-odbc package if you want to access +a MySQL database, and/or the postgresql-odbc package for PostgreSQL. + +%package devel +Summary: Development files for programs which will use the unixODBC library +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The unixODBC package can be used to access databases through ODBC +drivers. If you want to develop programs that will access data through +ODBC, you need to install this package. + +%prep +%setup -q +%patch1 -p1 +%patch6 -p1 +%patch8 -p1 +%patch9 -p1 + +chmod 0644 Drivers/MiniSQL/*.c +chmod 0644 Drivers/nn/*.c +chmod 0644 Drivers/template/*.c +chmod 0644 doc/ProgrammerManual/Tutorial/*.html +chmod 0644 doc/lst/* +chmod 0644 include/odbcinst.h + +# Blow away the embedded libtool and replace with build system's libtool. +# (We will use the installed libtool anyway, but this makes sure they match.) +rm -rf config.guess config.sub install-sh ltmain.sh libltdl +# this hack is so we can build with either libtool 2.2 or 1.5 +libtoolize --install || libtoolize + +%build + +aclocal +automake --add-missing +autoconf + +# unixODBC 2.2.14 is not aliasing-safe +CFLAGS="%{optflags} -fno-strict-aliasing" +CXXFLAGS="$CFLAGS" +export CFLAGS CXXFLAGS + +%configure --with-gnu-ld=yes --enable-threads=yes \ + --enable-drivers=yes --enable-driverc=yes --enable-ltdllib +make all + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR=$RPM_BUILD_ROOT install +install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} + +# multilib header hacks +# we only apply this to known Red Hat multilib arches, per bug #181335 +case `uname -i` in + i386 | x86_64 | ia64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 ) + mv $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf_`uname -i`.h + rm -f unixodbc_conf.h + sed s/CONFFILE/unixodbc_conf/ %{SOURCE4} >unixodbc_conf.h + install -m 644 unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir} + ;; + *) + ;; +esac + +# add some explanatory documentation +cp %{SOURCE5} README.fedora + +# remove obsolete Postgres drivers from the package (but not the setup code) +rm -f $RPM_BUILD_ROOT%{_libdir}/libodbcpsql.so* + +# copy text driver documentation into main doc directory +# currently disabled because upstream no longer includes text driver +# mkdir -p doc/Drivers/txt +# cp -pr Drivers/txt/doc/* doc/Drivers/txt + +# don't want to install doc Makefiles as docs +find doc -name 'Makefile*' | xargs rm + +# we do not want to ship static libraries +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a + +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/libltdl.* +rm -rf $RPM_BUILD_ROOT%{_datadir}/libtool + +# initialize lists of .so files +find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > base-so-list +find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list + +# move these to main package, they're often dlopened... +for lib in libodbc.so libodbcinst.so libodbcpsqlS.so libodbcmyS.so +do + echo "%{_libdir}/$lib" >> base-so-list + grep -v "/$lib$" devel-so-list > devel-so-list.x + mv -f devel-so-list.x devel-so-list +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f base-so-list +%defattr(-,root,root) +%doc README COPYING AUTHORS ChangeLog NEWS doc +%doc README.fedora +%config(noreplace) %{_sysconfdir}/odbc* +%{_bindir}/odbcinst +%{_bindir}/isql +%{_bindir}/dltest +%{_bindir}/iusql +%{_bindir}/odbc_config + +%files devel -f devel-so-list +%defattr(-,root,root) +%{_includedir}/* + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%changelog +* Tue Jan 10 2012 Tom Lane <tgl@redhat.com> 2.3.1-1 +- Update to version 2.3.1. The main externally-visible change is that the + GUI programs are not part of the unixODBC tarball anymore, so they are no + longer in this package, and the unixODBC-kde sub-RPM has disappeared. + There is a separate package unixODBC-gui-qt that now provides those programs. + +* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Aug 31 2010 Tom Lane <tgl@redhat.com> 2.2.14-12 +- Fix isql crash at EOF with -b option +Resolves: #628909 + +* Mon May 3 2010 Tom Lane <tgl@redhat.com> 2.2.14-11 +- Re-add accidentally-removed desktop icon for ODBCConfig +Related: #587933 + +* Sat Mar 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.2.14-10 +- BR qt-assistant-adp-devel + +* Sat Dec 19 2009 Tom Lane <tgl@redhat.com> 2.2.14-9 +- Fix bug preventing drivers from being selected in ODBCConfig +Resolves: #544852 + +* Wed Nov 25 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.2.14-8 +- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI) + +* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 2.2.14-7 +- Clean up bogosity in multilib stub header support: ia64 should not be + listed (it's not multilib), sparcv9 isn't a possible uname -i output + +* Fri Aug 21 2009 Tom Lane <tgl@redhat.com> 2.2.14-6 +- Switch to building against qt4, not qt3. This means the DataManager, + DataManagerII, and odbctest applications are gone. +Resolves: #514064 +- Use Driver64/Setup64 to eliminate need for hand-adjustment of odbcinst.ini +Resolves: #514688 +- Fix misdeclaration of SQLBIGINT and SQLUBIGINT in generated header files +Resolves: #518623 + +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jun 9 2009 Peter Lemenkov <lemenkov@gmail.com> - 2.2.14-4 +- Properly install *.desktop files +- No need to ship INSTALL in docs +- Use macros instead of hardcoded /usr/share and /usr/include +- fixed permissions on some doc- and src-files +- Almost all rpmlint messages are gone now + +* Sat Jun 06 2009 Dennis Gilmore <dennis@ausil.us> - 2.2.14-3 +- add sparc support to the multilib includes header + +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 2.2.14-1 +- Update to unixODBC 2.2.14. Note this involves an ABI break and a consequent + soname version bump, because upstream fixed some mistakes in the widths of + some API datatypes for 64-bit platforms. Also, the formerly embedded + mysql, postgresql, and text drivers have been removed. (For mysql and + postgresql, use the separate mysql-connector-odbc and postgresql-odbc + packages, which are far more up to date. The text driver is not currently + shipped by upstream at all, but might get revived as a separate SRPM later.) +- Stop shipping .a library files, per distro policy. +- Fixes for libtool 2.2. + +* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 2.2.12-9 +- Fix build failure caused by new default patch fuzz = 0 policy in rawhide. + +* Fri Jun 13 2008 Tom Lane <tgl@redhat.com> 2.2.12-8 +- Install icons in /usr/share/pixmaps, not /usr/share/icons as this package + has historically done; the former is considered correct. + +* Fri Apr 4 2008 Tom Lane <tgl@redhat.com> 2.2.12-7 +- Must BuildRequire qt3 now that Fedora has renamed qt4 to qt +Resolves: #440798 + +* Mon Feb 11 2008 Tom Lane <tgl@redhat.com> 2.2.12-6 +- Move libodbcinst.so symlink into main package, since it's often dlopen'd +Related: #204882 +- Clean up specfile's ugly coding for making base-vs-devel decisions + +* Sun Dec 30 2007 Tom Lane <tgl@redhat.com> 2.2.12-5 +- Add missing BuildRequires for flex. +Resolves: #427063 + +* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 2.2.12-4 +- Update License tag to match code. + +* Fri Apr 20 2007 Tom Lane <tgl@redhat.com> 2.2.12-3 +- Make configure find correct Qt libraries when building on a multilib machine + +* Mon Apr 16 2007 Tom Lane <tgl@redhat.com> 2.2.12-2 +- Drop BuildRequires for kdelibs-devel +Resolves: #152717 +- Clean up a few rpmlint complaints + +* Wed Dec 6 2006 Tom Lane <tgl@redhat.com> 2.2.12-1 +- Update to unixODBC 2.2.12. +- Add missing BuildPrereq for bison. +Resolves: #190427 + +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-7.1 +- rebuild + +* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 2.2.11-7 +- Fix minor problems in desktop files (bug #185764) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Mon Nov 21 2005 Tom Lane <tgl@redhat.com> 2.2.11-6 +- Patch NO-vs-no discrepancy between aclocal/acinclude and recent autoconf + versions (not sure if this has been broken for a long time, or was just + exposed by modular X changeover). +- Apparently need to require libXt-devel too for modular X. + +* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 2.2.11-5 +- Adjust BuildPrereq for modular X. + +* Sun Oct 16 2005 Florian La Roche <laroche@redhat.com> 2.2.11-4 +- link against dependent libs +- fix some bugs to resolve unknown symbols ;-( + +* Thu Sep 29 2005 Tom Lane <tgl@redhat.com> 2.2.11-3 +- Force update of yac.h because the copy in the distributed tarball does not + match bison 2.0's numbering of symbols (bz #162676) +- Include documentation of text-file driver +- Use private libltdl so we can omit RTLD_GLOBAL from dlopen flags (bz #161399) + +* Sat Sep 24 2005 Tom Lane <tgl@redhat.com> 2.2.11-2 +- Remove Makefiles accidentally included in docs installation (bz #168819) +- Updates to keep newer libtool code from installing itself as part of package + +* Fri Apr 8 2005 Tom Lane <tgl@redhat.com> 2.2.11-1 +- Update to unixODBC 2.2.11 + +* Mon Mar 7 2005 Tom Lane <tgl@redhat.com> 2.2.10-3 +- Rebuild with gcc4. + +* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.2.10-2 +- Rebuilt for new readline. + +* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 2.2.10-1 +- Update to unixODBC 2.2.10 + +* Wed Sep 22 2004 Tom Lane <tgl@redhat.com> 2.2.9-1 +- Update to unixODBC 2.2.9 + +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Sat May 8 2004 Tom Lane <tgl@redhat.com> 2.2.8-5 +- Backpatch fix for double-free error from upstream devel sources. +- rebuilt + +* Wed May 5 2004 Tom Lane <tgl@redhat.com> 2.2.8-4 +- Add dependency to ensure kde subpackage stays in sync with main + (needed because we moved odbctest from one pkg to the other, + cf bug #122478) +- rebuilt + +* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 2.2.8-3 +- Use installed libltdl +- rebuilt for Fedora Core 2 + +* Tue Mar 9 2004 Tom Lane <tgl@redhat.com> 2.2.8-2 +- Rename lo_xxx() to odbc_lo_xxx() (bug #117211) (temporary until 2.2.9) +- rebuilt + +* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Mon Mar 1 2004 Tom Lane <tgl@redhat.com> +- Update to 2.2.8 +- rebuilt + +* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Thu Dec 4 2003 Joe Orton <jorton@redhat.com> 2.2.5-10 +- rebuild to restore sqltypes.h after #111195 + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add XFree86-devel to the list of BuildPrereq. Did not bump + release as there is no need to rebuild. + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add comments to the /etc/odbcinst.ini file regarding the proper + setup for MySQL and the origin of each library needed. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-8 +- Move libodbcmyS.so to the main package as well. It is used the + same way as libodbcpsqlS.so. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-7 +- Bumped the version so it rebuilds. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-4 +- Revert previous change and special case libodbcpsql.so and + libodbcpsqlS.so instead. Here is the explanation (from Elliot + Lee): + ".so files are only used at link time for normal dynamic libraries. + The libraries referred to here are being used as dynamically loaded + modules, so I guess moving those particular .so files back to the + main package would make sense, but the other .so files should stay + in the devel subpackage." + +* Fri Oct 10 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-3 +- Moved all the shared library symlinks to the main package. + They were deliberatedly being added to the devel package for + unknown reasons but this was forcing users to install the + devel package always. +- No need to special-case libodbc.so anymore + +* Fri Sep 05 2003 Elliot Lee <sopwith@redhat.com> 2.2.5-2 +- Run auto* so it rebuilds. + +* Mon Jul 07 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-1 +- Moved odbctest to the kde package to remove require on Qt stuff + from the main package. +- Removed stray "\" from doc/Makefile.am +- Applied libtool fix (provided by Alex Oliva) so that it build + with cross-compilers (which are used by 64 bit systems) +- Updated sources to the 2.2.5 community release +- Changed the included libtool to the 1.5-3 one so that + it properly link the libraries with the newly generated ones + and not with the ones installed on the build system (or give + an error if an old version is not installed (# 91110) +- Added new files for executable DataManagerII and icons LinuxODBC.xpm + and odbc.xpm + +* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Wed Jan 22 2003 Tim Powers <timp@redhat.com> +- rebuilt + +* Thu Jan 9 2003 Bill Nottingham <notting@redhat.com> 2.2.3-5 +- debloat + +* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-4 +- Run libtoolize etc. + +* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-3 +- Rebuild to fix filelist errors...? + +* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 2.2.3-2 +- remove unpackaged files from the buildroot + +* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-1 +- Rebuild, update to 2.2.3 + +* Mon Aug 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-3 +- Move libodbc.so to the main package, so programs dlopening + it don't break (#72653) + +* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> +- rebuilt with gcc-3.2 (we hope) + +* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-1 +- 2.2.2 +- desktop file changes (# 69371) + +* Fri Jun 21 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Sun May 26 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Mon May 20 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.1-1 +- 2.2.1 +- Reenable other archs, as this should now build on 64 bit archs + +* Sun May 19 2002 Florian La Roche <Florian.LaRoche@redhat.de> +- add at least mainframe; should this really be a i386-only rpm? + +* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-5 +- rebuild + +* Fri Apr 5 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-4 +- Avoid having files in more than one package (#62755) + +* Tue Mar 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-3 +- Don't include kde plugin .so as a devel symlink (#61039) + +* Fri Mar 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-2 +- Rebuild with KDE 3.x + +* Tue Feb 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-1 +- Just build on i386 now, there are 64 bit oddities +- 2.2.0 + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-2 +- move libodbcinstQ* to the kde subpackage + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-1 +- 2.1.1 +- minor cleanups + +* Fri Dec 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 2.0.7-5 +- Rebuild + +* Wed Sep 12 2001 Tim Powers <timp@redhat.com> +- rebuild with new gcc and binutils + +* Sun Jun 24 2001 Than Ngo <than@redhat.com> +- rebuild against qt-2.3.1, kde-2.1.x + +* Fri Jun 15 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Better default odbcinst.ini +- Minor cleanups + +* Wed Jun 6 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.7 + +* Wed Apr 25 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Fix for isql segfault on EOF/ctrl-d exit + +* Fri Apr 20 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.6 +- add patch for 64 bit archs (dword shouldn't be "long int") + +* Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com> +- rebuild + +* Tue Nov 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.13 + +* Tue Oct 10 2000 Trond Eivind Glomsrd <teg@redhat.com> +- enable GUI now that we have KDE compiled with the standard + compiler +- move the applnk entries to the KDE package + +* Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com> +- add the missing shared libs to the non-devel package + +* Wed Aug 23 2000 Preston Brown <pbrown@redhat.com> +- 1.8.12 fixes problems with the postgresql driver + +* Mon Jul 31 2000 Trond Eivind Glomsrd <teg@redhat.com> +- disable KDE subpackage to avoid the mess that is C++ binary + compatibility + +* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> +- automatic rebuild + +* Fri Jun 30 2000 Florian La Roche <laroche@redhat.com> +- improved QTDIR detection + +* Thu Jun 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.10 +- use %%{_tmppath} +- update URL +- including two missing libraries + +* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com> +- 1.8.9 + +* Fri Jun 09 2000 Preston Brown <pbrown@redhat.com> +- adopted for Winston, changed to Red Hat packaging standards + +* Tue Apr 18 2000 Murray Todd Williams <murray@codingapes.com> +- added a unixODBC-devel RPM to the group, added KDE links and icons to system +- all of which came from recommendations from Fredrick Meunier +- <Fredrick.Meunier@computershare.com.au> + +* Mon Apr 17 2000 Murray Todd Williams <murray@codingapes.com> +- unixODBC-1.8.7 +- moved install to $RPM_BUILD_ROOT so it didn't overrun existing files. diff --git a/unixodbc23/unixODBC.spec.tgl b/unixodbc23/unixODBC.spec.tgl new file mode 100644 index 0000000..4a82a9d --- /dev/null +++ b/unixodbc23/unixODBC.spec.tgl @@ -0,0 +1,527 @@ +Summary: A complete ODBC driver manager for Linux +Name: unixODBC +Version: 2.3.1 +Release: 1%{?dist} +Group: System Environment/Libraries +URL: http://www.unixODBC.org/ +# Programs are GPL, libraries are LGPL, except News Server library is GPL. +License: GPLv2+ and LGPLv2+ + +Source: http://www.unixODBC.org/%{name}-%{version}.tar.gz +Source1: odbcinst.ini +Source4: conffile.h + +Patch1: depcomp.patch +Patch6: export-symbols.patch +Patch7: libtool-config.patch +Patch8: so-version-bump.patch +Patch9: keep-typedefs.patch + +Conflicts: iodbc +BuildRequires: libX11-devel libXt-devel libXext-devel +# BuildRequires: qt4-devel qt-assistant-adp-devel +BuildRequires: readline-devel +BuildRequires: automake autoconf libtool libtool-ltdl-devel bison flex +BuildRequires: desktop-file-utils +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root + +%description +Install unixODBC if you want to access databases through ODBC. +You will also need the mysql-connector-odbc package if you want to access +a MySQL database, and/or the postgresql-odbc package for PostgreSQL. + +%package devel +Summary: Development files for programs which will use the unixODBC library +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +The unixODBC package can be used to access databases through ODBC +drivers. If you want to develop programs that will access data through +ODBC, you need to install this package. + +%prep +%setup -q +%patch1 -p1 +%patch6 -p1 +#%patch7 -p1 +%patch8 -p1 +%patch9 -p1 + +chmod 0644 Drivers/MiniSQL/*.c +chmod 0644 Drivers/nn/*.c +chmod 0644 Drivers/template/*.c +chmod 0644 doc/ProgrammerManual/Tutorial/*.html +chmod 0644 doc/lst/* +chmod 0644 include/odbcinst.h + +# Blow away the embedded libtool and replace with build system's libtool. +# (We will use the installed libtool anyway, but this makes sure they match.) +rm -rf config.guess config.sub install-sh ltmain.sh libltdl +# this hack is so we can build with either libtool 2.2 or 1.5 +libtoolize --install || libtoolize + +%build +# pick up qt path +export PATH="%{_qt4_bindir}:$PATH" + +aclocal +automake --add-missing +autoconf + +# unixODBC 2.2.14 is not aliasing-safe +CFLAGS="%{optflags} -fno-strict-aliasing" +CXXFLAGS="$CFLAGS" +export CFLAGS CXXFLAGS + +%configure --with-gnu-ld=yes --enable-threads=yes \ + --enable-drivers=yes --enable-driverc=yes --enable-ltdllib +make all + +%install +# pick up qt path +export PATH="%{_qt4_bindir}:$PATH" + +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_datadir}/applications +mkdir -p $RPM_BUILD_ROOT%{_datadir}/pixmaps + +make DESTDIR=$RPM_BUILD_ROOT install +install -m644 %{SOURCE1} $RPM_BUILD_ROOT%{_sysconfdir} + +# multilib header hacks +# we only apply this to known Red Hat multilib arches, per bug #181335 +case `uname -i` in + i386 | x86_64 | ppc | ppc64 | s390 | s390x | sparc | sparc64 ) + mv $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir}/unixodbc_conf_`uname -i`.h + rm -f unixodbc_conf.h + sed s/CONFFILE/unixodbc_conf/ %{SOURCE4} >unixodbc_conf.h + install -m 644 unixodbc_conf.h $RPM_BUILD_ROOT%{_includedir} + ;; + *) + ;; +esac + +# remove obsolete Postgres drivers from the package (but not the setup code) +rm -f $RPM_BUILD_ROOT%{_libdir}/libodbcpsql.so* + +# copy text driver documentation into main doc directory +# currently disabled because upstream no longer includes text driver +# mkdir -p doc/Drivers/txt +# cp -pr Drivers/txt/doc/* doc/Drivers/txt + +# don't want to install doc Makefiles as docs +find doc -name 'Makefile*' | xargs rm + +# we do not want to ship static libraries +rm -f $RPM_BUILD_ROOT%{_libdir}/*.a + +# remove unpackaged files from the buildroot +rm -f $RPM_BUILD_ROOT%{_libdir}/*.la +rm -f $RPM_BUILD_ROOT%{_libdir}/libltdl.* +rm -rf $RPM_BUILD_ROOT%{_datadir}/libtool + +# initialize lists of .so files +find $RPM_BUILD_ROOT%{_libdir} -name "*.so.*" | sed "s|^$RPM_BUILD_ROOT||" > base-so-list +find $RPM_BUILD_ROOT%{_libdir} -name "*.so" | sed "s|^$RPM_BUILD_ROOT||" > devel-so-list + +# move these to main package, they're often dlopened... +for lib in libodbc.so libodbcinst.so libodbcpsqlS.so libodbcmyS.so +do + echo "%{_libdir}/$lib" >> base-so-list + grep -v "/$lib$" devel-so-list > devel-so-list.x + mv -f devel-so-list.x devel-so-list +done + +%clean +rm -rf $RPM_BUILD_ROOT + +%files -f base-so-list +%defattr(-,root,root) +%doc README COPYING AUTHORS ChangeLog NEWS doc +%config(noreplace) %{_sysconfdir}/odbc* +%{_bindir}/odbcinst +%{_bindir}/isql +%{_bindir}/dltest +%{_bindir}/iusql +%{_bindir}/odbc_config + +%files devel -f devel-so-list +%defattr(-,root,root) +%{_includedir}/* + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%changelog +* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-13 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Tue Aug 31 2010 Tom Lane <tgl@redhat.com> 2.2.14-12 +- Fix isql crash at EOF with -b option +Resolves: #628909 + +* Mon May 3 2010 Tom Lane <tgl@redhat.com> 2.2.14-11 +- Re-add accidentally-removed desktop icon for ODBCConfig +Related: #587933 + +* Sat Mar 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.2.14-10 +- BR qt-assistant-adp-devel + +* Sat Dec 19 2009 Tom Lane <tgl@redhat.com> 2.2.14-9 +- Fix bug preventing drivers from being selected in ODBCConfig +Resolves: #544852 + +* Wed Nov 25 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> 2.2.14-8 +- Rebuild for Qt 4.6.0 RC1 in F13 (was built against Beta 1 with unstable ABI) + +* Thu Oct 15 2009 Tom Lane <tgl@redhat.com> 2.2.14-7 +- Clean up bogosity in multilib stub header support: ia64 should not be + listed (it's not multilib), sparcv9 isn't a possible uname -i output + +* Fri Aug 21 2009 Tom Lane <tgl@redhat.com> 2.2.14-6 +- Switch to building against qt4, not qt3. This means the DataManager, + DataManagerII, and odbctest applications are gone. +Resolves: #514064 +- Use Driver64/Setup64 to eliminate need for hand-adjustment of odbcinst.ini +Resolves: #514688 +- Fix misdeclaration of SQLBIGINT and SQLUBIGINT in generated header files +Resolves: #518623 + +* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Tue Jun 9 2009 Peter Lemenkov <lemenkov@gmail.com> - 2.2.14-4 +- Properly install *.desktop files +- No need to ship INSTALL in docs +- Use macros instead of hardcoded /usr/share and /usr/include +- fixed permissions on some doc- and src-files +- Almost all rpmlint messages are gone now + +* Sat Jun 06 2009 Dennis Gilmore <dennis@ausil.us> - 2.2.14-3 +- add sparc support to the multilib includes header + +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.2.14-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Fri Feb 20 2009 Tom Lane <tgl@redhat.com> 2.2.14-1 +- Update to unixODBC 2.2.14. Note this involves an ABI break and a consequent + soname version bump, because upstream fixed some mistakes in the widths of + some API datatypes for 64-bit platforms. Also, the formerly embedded + mysql, postgresql, and text drivers have been removed. (For mysql and + postgresql, use the separate mysql-connector-odbc and postgresql-odbc + packages, which are far more up to date. The text driver is not currently + shipped by upstream at all, but might get revived as a separate SRPM later.) +- Stop shipping .a library files, per distro policy. +- Fixes for libtool 2.2. + +* Mon Jul 28 2008 Tom Lane <tgl@redhat.com> 2.2.12-9 +- Fix build failure caused by new default patch fuzz = 0 policy in rawhide. + +* Fri Jun 13 2008 Tom Lane <tgl@redhat.com> 2.2.12-8 +- Install icons in /usr/share/pixmaps, not /usr/share/icons as this package + has historically done; the former is considered correct. + +* Fri Apr 4 2008 Tom Lane <tgl@redhat.com> 2.2.12-7 +- Must BuildRequire qt3 now that Fedora has renamed qt4 to qt +Resolves: #440798 + +* Mon Feb 11 2008 Tom Lane <tgl@redhat.com> 2.2.12-6 +- Move libodbcinst.so symlink into main package, since it's often dlopen'd +Related: #204882 +- Clean up specfile's ugly coding for making base-vs-devel decisions + +* Sun Dec 30 2007 Tom Lane <tgl@redhat.com> 2.2.12-5 +- Add missing BuildRequires for flex. +Resolves: #427063 + +* Thu Aug 2 2007 Tom Lane <tgl@redhat.com> 2.2.12-4 +- Update License tag to match code. + +* Fri Apr 20 2007 Tom Lane <tgl@redhat.com> 2.2.12-3 +- Make configure find correct Qt libraries when building on a multilib machine + +* Mon Apr 16 2007 Tom Lane <tgl@redhat.com> 2.2.12-2 +- Drop BuildRequires for kdelibs-devel +Resolves: #152717 +- Clean up a few rpmlint complaints + +* Wed Dec 6 2006 Tom Lane <tgl@redhat.com> 2.2.12-1 +- Update to unixODBC 2.2.12. +- Add missing BuildPrereq for bison. +Resolves: #190427 + +* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-7.1 +- rebuild + +* Mon Mar 27 2006 Tom Lane <tgl@redhat.com> 2.2.11-7 +- Fix minor problems in desktop files (bug #185764) + +* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 2.2.11-6.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> +- rebuilt + +* Mon Nov 21 2005 Tom Lane <tgl@redhat.com> 2.2.11-6 +- Patch NO-vs-no discrepancy between aclocal/acinclude and recent autoconf + versions (not sure if this has been broken for a long time, or was just + exposed by modular X changeover). +- Apparently need to require libXt-devel too for modular X. + +* Mon Nov 7 2005 Tom Lane <tgl@redhat.com> 2.2.11-5 +- Adjust BuildPrereq for modular X. + +* Sun Oct 16 2005 Florian La Roche <laroche@redhat.com> 2.2.11-4 +- link against dependent libs +- fix some bugs to resolve unknown symbols ;-( + +* Thu Sep 29 2005 Tom Lane <tgl@redhat.com> 2.2.11-3 +- Force update of yac.h because the copy in the distributed tarball does not + match bison 2.0's numbering of symbols (bz #162676) +- Include documentation of text-file driver +- Use private libltdl so we can omit RTLD_GLOBAL from dlopen flags (bz #161399) + +* Sat Sep 24 2005 Tom Lane <tgl@redhat.com> 2.2.11-2 +- Remove Makefiles accidentally included in docs installation (bz #168819) +- Updates to keep newer libtool code from installing itself as part of package + +* Fri Apr 8 2005 Tom Lane <tgl@redhat.com> 2.2.11-1 +- Update to unixODBC 2.2.11 + +* Mon Mar 7 2005 Tom Lane <tgl@redhat.com> 2.2.10-3 +- Rebuild with gcc4. + +* Wed Jan 12 2005 Tim Waugh <twaugh@redhat.com> 2.2.10-2 +- Rebuilt for new readline. + +* Thu Oct 28 2004 Tom Lane <tgl@redhat.com> 2.2.10-1 +- Update to unixODBC 2.2.10 + +* Wed Sep 22 2004 Tom Lane <tgl@redhat.com> 2.2.9-1 +- Update to unixODBC 2.2.9 + +* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Sat May 8 2004 Tom Lane <tgl@redhat.com> 2.2.8-5 +- Backpatch fix for double-free error from upstream devel sources. +- rebuilt + +* Wed May 5 2004 Tom Lane <tgl@redhat.com> 2.2.8-4 +- Add dependency to ensure kde subpackage stays in sync with main + (needed because we moved odbctest from one pkg to the other, + cf bug #122478) +- rebuilt + +* Wed Mar 10 2004 Tom Lane <tgl@redhat.com> 2.2.8-3 +- Use installed libltdl +- rebuilt for Fedora Core 2 + +* Tue Mar 9 2004 Tom Lane <tgl@redhat.com> 2.2.8-2 +- Rename lo_xxx() to odbc_lo_xxx() (bug #117211) (temporary until 2.2.9) +- rebuilt + +* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Mon Mar 1 2004 Tom Lane <tgl@redhat.com> +- Update to 2.2.8 +- rebuilt + +* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Thu Dec 4 2003 Joe Orton <jorton@redhat.com> 2.2.5-10 +- rebuild to restore sqltypes.h after #111195 + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add XFree86-devel to the list of BuildPrereq. Did not bump + release as there is no need to rebuild. + +* Thu Oct 16 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-9 +- Add comments to the /etc/odbcinst.ini file regarding the proper + setup for MySQL and the origin of each library needed. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-8 +- Move libodbcmyS.so to the main package as well. It is used the + same way as libodbcpsqlS.so. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-7 +- Bumped the version so it rebuilds. + +* Tue Oct 14 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-4 +- Revert previous change and special case libodbcpsql.so and + libodbcpsqlS.so instead. Here is the explanation (from Elliot + Lee): + ".so files are only used at link time for normal dynamic libraries. + The libraries referred to here are being used as dynamically loaded + modules, so I guess moving those particular .so files back to the + main package would make sense, but the other .so files should stay + in the devel subpackage." + +* Fri Oct 10 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-3 +- Moved all the shared library symlinks to the main package. + They were deliberatedly being added to the devel package for + unknown reasons but this was forcing users to install the + devel package always. +- No need to special-case libodbc.so anymore + +* Fri Sep 05 2003 Elliot Lee <sopwith@redhat.com> 2.2.5-2 +- Run auto* so it rebuilds. + +* Mon Jul 07 2003 Fernando Nasser <fnasser@redhat.com> 2.2.5-1 +- Moved odbctest to the kde package to remove require on Qt stuff + from the main package. +- Removed stray "\" from doc/Makefile.am +- Applied libtool fix (provided by Alex Oliva) so that it build + with cross-compilers (which are used by 64 bit systems) +- Updated sources to the 2.2.5 community release +- Changed the included libtool to the 1.5-3 one so that + it properly link the libraries with the newly generated ones + and not with the ones installed on the build system (or give + an error if an old version is not installed (# 91110) +- Added new files for executable DataManagerII and icons LinuxODBC.xpm + and odbc.xpm + +* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com> +- rebuilt + +* Wed Jan 22 2003 Tim Powers <timp@redhat.com> +- rebuilt + +* Thu Jan 9 2003 Bill Nottingham <notting@redhat.com> 2.2.3-5 +- debloat + +* Tue Dec 17 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-4 +- Run libtoolize etc. + +* Thu Dec 12 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-3 +- Rebuild to fix filelist errors...? + +* Fri Nov 29 2002 Tim Powers <timp@redhat.com> 2.2.3-2 +- remove unpackaged files from the buildroot + +* Tue Nov 19 2002 Elliot Lee <sopwith@redhat.com> 2.2.3-1 +- Rebuild, update to 2.2.3 + +* Mon Aug 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-3 +- Move libodbc.so to the main package, so programs dlopening + it don't break (#72653) + +* Sat Aug 10 2002 Elliot Lee <sopwith@redhat.com> +- rebuilt with gcc-3.2 (we hope) + +* Mon Jul 22 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.2-1 +- 2.2.2 +- desktop file changes (# 69371) + +* Fri Jun 21 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Sun May 26 2002 Tim Powers <timp@redhat.com> +- automated rebuild + +* Mon May 20 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.1-1 +- 2.2.1 +- Reenable other archs, as this should now build on 64 bit archs + +* Sun May 19 2002 Florian La Roche <Florian.LaRoche@redhat.de> +- add at least mainframe; should this really be a i386-only rpm? + +* Wed Apr 17 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-5 +- rebuild + +* Fri Apr 5 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-4 +- Avoid having files in more than one package (#62755) + +* Tue Mar 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-3 +- Don't include kde plugin .so as a devel symlink (#61039) + +* Fri Mar 8 2002 Bernhard Rosenkraenzer <bero@redhat.com> 2.2.0-2 +- Rebuild with KDE 3.x + +* Tue Feb 26 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.2.0-1 +- Just build on i386 now, there are 64 bit oddities +- 2.2.0 + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-2 +- move libodbcinstQ* to the kde subpackage + +* Fri Jan 11 2002 Trond Eivind Glomsrd <teg@redhat.com> 2.1.1-1 +- 2.1.1 +- minor cleanups + +* Fri Dec 14 2001 Trond Eivind Glomsrd <teg@redhat.com> 2.0.7-5 +- Rebuild + +* Wed Sep 12 2001 Tim Powers <timp@redhat.com> +- rebuild with new gcc and binutils + +* Sun Jun 24 2001 Than Ngo <than@redhat.com> +- rebuild against qt-2.3.1, kde-2.1.x + +* Fri Jun 15 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Better default odbcinst.ini +- Minor cleanups + +* Wed Jun 6 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.7 + +* Wed Apr 25 2001 Trond Eivind Glomsrd <teg@redhat.com> +- Fix for isql segfault on EOF/ctrl-d exit + +* Fri Apr 20 2001 Trond Eivind Glomsrd <teg@redhat.com> +- 2.0.6 +- add patch for 64 bit archs (dword shouldn't be "long int") + +* Wed Feb 28 2001 Trond Eivind Glomsrd <teg@redhat.com> +- rebuild + +* Tue Nov 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.13 + +* Tue Oct 10 2000 Trond Eivind Glomsrd <teg@redhat.com> +- enable GUI now that we have KDE compiled with the standard + compiler +- move the applnk entries to the KDE package + +* Thu Aug 24 2000 Nalin Dahyabhai <nalin@redhat.com> +- add the missing shared libs to the non-devel package + +* Wed Aug 23 2000 Preston Brown <pbrown@redhat.com> +- 1.8.12 fixes problems with the postgresql driver + +* Mon Jul 31 2000 Trond Eivind Glomsrd <teg@redhat.com> +- disable KDE subpackage to avoid the mess that is C++ binary + compatibility + +* Wed Jul 12 2000 Prospector <bugzilla@redhat.com> +- automatic rebuild + +* Fri Jun 30 2000 Florian La Roche <laroche@redhat.com> +- improved QTDIR detection + +* Thu Jun 28 2000 Trond Eivind Glomsrd <teg@redhat.com> +- 1.8.10 +- use %%{_tmppath} +- update URL +- including two missing libraries + +* Tue Jun 13 2000 Preston Brown <pbrown@redhat.com> +- 1.8.9 + +* Fri Jun 09 2000 Preston Brown <pbrown@redhat.com> +- adopted for Winston, changed to Red Hat packaging standards + +* Tue Apr 18 2000 Murray Todd Williams <murray@codingapes.com> +- added a unixODBC-devel RPM to the group, added KDE links and icons to system +- all of which came from recommendations from Fredrick Meunier +- <Fredrick.Meunier@computershare.com.au> + +* Mon Apr 17 2000 Murray Todd Williams <murray@codingapes.com> +- unixODBC-1.8.7 +- moved install to $RPM_BUILD_ROOT so it didn't overrun existing files. |