SHA256
1
0
forked from pool/iodbc

- Version bump to 0.52.10:

* Fixed issue with ~/Library/ODBC/odbc[inst].ini on Mac OS X
  * Added build support for Mac OS X 10.10
  * Updated iODBC Administrator
  * Updated iODBC Demo
  * Fixed string truncation in Unicode <-> Ansi conversion on some API calls

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/iodbc?expand=0&rev=13
This commit is contained in:
Tomáš Chvátal
2015-03-13 13:31:20 +00:00
committed by Git OBS Bridge
parent 162257dfce
commit b2471b7817
4 changed files with 27 additions and 17 deletions

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Fri Mar 13 13:25:55 UTC 2015 - tchvatal@suse.com
- Version bump to 0.52.10:
* Fixed issue with ~/Library/ODBC/odbc[inst].ini on Mac OS X
* Added build support for Mac OS X 10.10
* Updated iODBC Administrator
* Updated iODBC Demo
* Fixed string truncation in Unicode <-> Ansi conversion on some API calls
-------------------------------------------------------------------
Wed Jan 21 23:43:48 UTC 2015 - p.drouand@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package iodbc
#
# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -17,7 +17,7 @@
Name: iodbc
Version: 3.52.9
Version: 3.52.10
Release: 0
Summary: ODBC compliant driver manager
License: LGPL-2.0 or BSD-3-Clause
@@ -26,13 +26,13 @@ Url: http://www.iodbc.org/
Source: http://sourceforge.net/projects/iodbc/files/iodbc/%{version}/libiodbc-%{version}.tar.gz
Patch1: fix-nonvoid-return.diff
Patch2: config-h.diff
Requires: libiodbc3 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} > 1110
BuildRequires: pkgconfig(gtk+-2.0)
%else
BuildRequires: gtk2-devel
%endif
Requires: libiodbc3 = %{version}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
The iODBC Driver Manager is a free implementation of the SAG CLI and
@@ -44,6 +44,7 @@ appropriate backend drivers.
Summary: Include Files and Libraries mandatory for Development
Group: Development/Libraries/C and C++
Requires: %{name} = %{version}
Requires: libiodbc3 = %{version}
%if 0%{?suse_version} > 1110
Requires: pkgconfig(gtk+-2.0)
%else
@@ -84,19 +85,22 @@ This package provides tools for configuring and administering iODBC
%patch2
%build
%configure --disable-static --disable-libodbc
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make
%configure --disable-static --disable-libodbc
# Don't use rpath!
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
make %{?_smp_mflags}
%install
%makeinstall
make DESTDIR=%{buildroot} install %{?_smp_mflags}
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libiodbc3 -p /sbin/ldconfig
%postun -n libiodbc3 -p /sbin/ldconfig
%post -n iodbc-admin -p /sbin/ldconfig
%postun -n iodbc-admin -p /sbin/ldconfig
%files
@@ -129,13 +133,9 @@ This package provides tools for configuring and administering iODBC
%{_includedir}/sqlext.h
%{_includedir}/sqltypes.h
%{_includedir}/sqlucode.h
%{_libdir}/libdrvproxy.la
%{_libdir}/libdrvproxy.so
%{_libdir}/libiodbc.la
%{_libdir}/libiodbc.so
%{_libdir}/libiodbcadm.la
%{_libdir}/libiodbcadm.so
%{_libdir}/libiodbcinst.la
%{_libdir}/libiodbcinst.so
%{_libdir}/pkgconfig/libiodbc.pc
%{_mandir}/man1/iodbc-config.1*

3
libiodbc-3.52.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1568b42b4e97f36110af661d39bfea7d94ac4ff020014574b16a7199f068e11f
size 1106714

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:33207d9f477aa5fa76962ff644baa38e59255b96812f28574794659fb61a7ab2
size 1094234