2009-12-21 13:16:42 +00:00
|
|
|
#
|
2011-03-09 16:35:37 +00:00
|
|
|
# spec file for package iodbc
|
2009-12-21 13:16:42 +00:00
|
|
|
#
|
2023-09-15 10:07:10 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2009-12-21 13:16:42 +00:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2009-12-21 13:16:42 +00:00
|
|
|
#
|
|
|
|
|
2012-08-09 14:49:23 +00:00
|
|
|
|
2009-12-21 13:16:42 +00:00
|
|
|
Name: iodbc
|
2023-09-15 10:07:10 +00:00
|
|
|
Version: 3.52.16
|
2012-08-09 14:49:23 +00:00
|
|
|
Release: 0
|
2011-10-12 22:09:23 +00:00
|
|
|
Summary: ODBC compliant driver manager
|
2022-04-26 10:53:23 +00:00
|
|
|
License: BSD-3-Clause OR LGPL-2.0-only
|
2011-10-12 22:09:23 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2022-04-26 10:53:23 +00:00
|
|
|
URL: http://www.iodbc.org/
|
2021-06-02 06:47:41 +00:00
|
|
|
Source: https://download.sourceforge.net/iodbc/libiodbc-%{version}.tar.gz
|
2011-10-12 22:09:23 +00:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%description
|
2022-04-26 10:53:23 +00:00
|
|
|
The iODBC Driver Manager is an implementation of the SAG CLI and
|
2009-12-21 13:16:42 +00:00
|
|
|
ODBC compliant driver manager which allows developers to write ODBC
|
|
|
|
compliant applications that can connect to various databases using
|
|
|
|
appropriate backend drivers.
|
|
|
|
|
|
|
|
%package -n libiodbc-devel
|
2022-04-26 10:53:23 +00:00
|
|
|
Summary: Headers for iODBC
|
2011-10-12 22:09:23 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
|
|
|
Requires: %{name} = %{version}
|
2021-06-02 06:47:41 +00:00
|
|
|
Requires: libdrvproxy2 = %{version}
|
2022-04-26 10:53:23 +00:00
|
|
|
Requires: libiodbc2 = %{version}
|
2021-06-02 06:47:41 +00:00
|
|
|
Requires: libiodbcadm2 = %{version}
|
2011-10-12 22:09:23 +00:00
|
|
|
Requires: pkgconfig(gtk+-2.0)
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%description -n libiodbc-devel
|
2022-04-26 10:53:23 +00:00
|
|
|
This package contains headers for the iODBC Driver Manager.
|
2009-12-21 13:16:42 +00:00
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
%package -n libiodbc2
|
2011-07-04 13:25:01 +00:00
|
|
|
Summary: Libraries needed to run iODBC
|
2022-04-26 10:53:23 +00:00
|
|
|
Group: System/Libraries
|
|
|
|
Conflicts: libiodbc3 <= 3.52.14
|
2009-12-21 13:16:42 +00:00
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
%description -n libiodbc2
|
|
|
|
The iODBC Driver Manager is an implementation of the SAG CLI andx
|
2009-12-21 13:16:42 +00:00
|
|
|
ODBC compliant driver manager which allows developers to write ODBC
|
|
|
|
compliant applications that can connect to various databases using
|
|
|
|
appropriate backend drivers.
|
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
This package provides the shared libraries needed by iODBC.
|
2011-07-04 13:25:01 +00:00
|
|
|
|
2021-06-02 06:47:41 +00:00
|
|
|
%package -n libdrvproxy2
|
|
|
|
Summary: Administration library for iODBC
|
2022-04-26 10:53:23 +00:00
|
|
|
Group: System/Libraries
|
2021-06-02 06:47:41 +00:00
|
|
|
|
|
|
|
%description -n libdrvproxy2
|
|
|
|
This package provides libdrvproxy for administering iODBC
|
|
|
|
|
|
|
|
%package -n libiodbcadm2
|
|
|
|
Summary: Administration library for iODBC
|
2022-04-26 10:53:23 +00:00
|
|
|
Group: System/Libraries
|
2021-06-02 06:47:41 +00:00
|
|
|
|
|
|
|
%description -n libiodbcadm2
|
|
|
|
This package provides libiodbcadm for administering iODBC
|
|
|
|
|
2011-10-12 22:09:23 +00:00
|
|
|
%package admin
|
2011-07-04 13:25:01 +00:00
|
|
|
Summary: Administration tools for iODBC
|
2011-10-12 22:09:23 +00:00
|
|
|
Group: Development/Libraries/C and C++
|
2009-12-21 13:16:42 +00:00
|
|
|
|
2011-10-12 22:09:23 +00:00
|
|
|
%description admin
|
2022-04-26 10:53:23 +00:00
|
|
|
The iODBC Driver Manager is an implementation of the SAG CLI and
|
2009-12-21 13:16:42 +00:00
|
|
|
ODBC compliant driver manager which allows developers to write ODBC
|
|
|
|
compliant applications that can connect to various databases using
|
|
|
|
appropriate backend drivers.
|
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
This package provides tools for configuring and administering iODBC.
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%prep
|
2022-04-26 10:53:23 +00:00
|
|
|
%autosetup -n libiodbc-%{version} -p1
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%build
|
2017-01-26 13:08:21 +00:00
|
|
|
%configure \
|
|
|
|
--disable-static \
|
|
|
|
--disable-libodbc \
|
|
|
|
--disable-dependency-tracking
|
|
|
|
|
2015-03-13 13:31:20 +00:00
|
|
|
# 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
|
2022-04-26 10:53:23 +00:00
|
|
|
%make_build
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%install
|
2022-04-26 10:53:23 +00:00
|
|
|
%make_install
|
2015-03-13 13:31:20 +00:00
|
|
|
find %{buildroot} -type f -name "*.la" -delete -print
|
2009-12-21 13:16:42 +00:00
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
%post -n libiodbc2 -p /sbin/ldconfig
|
|
|
|
%postun -n libiodbc2 -p /sbin/ldconfig
|
2021-06-02 06:47:41 +00:00
|
|
|
%post -n libiodbcadm2 -p /sbin/ldconfig
|
|
|
|
%postun -n libiodbcadm2 -p /sbin/ldconfig
|
|
|
|
%post -n libdrvproxy2 -p /sbin/ldconfig
|
|
|
|
%postun -n libdrvproxy2 -p /sbin/ldconfig
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%files
|
2021-06-02 06:47:41 +00:00
|
|
|
%license LICENSE
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_bindir}/iodbctest
|
|
|
|
%{_bindir}/iodbctestw
|
|
|
|
%{_mandir}/man1/iodbctest.1*
|
|
|
|
%{_mandir}/man1/iodbctestw.1*
|
|
|
|
|
2021-06-02 06:47:41 +00:00
|
|
|
%files admin
|
|
|
|
%license LICENSE
|
|
|
|
%{_bindir}/iodbcadm-gtk
|
|
|
|
%{_mandir}/man1/iodbcadm-gtk.1*
|
2009-12-21 13:16:42 +00:00
|
|
|
|
|
|
|
%files -n libiodbc-devel
|
2021-06-02 06:47:41 +00:00
|
|
|
%license LICENSE LICENSE.LGPL LICENSE.BSD
|
|
|
|
%doc AUTHORS ChangeLog NEWS README
|
2009-12-21 13:16:42 +00:00
|
|
|
%doc etc/odbc.ini.sample
|
|
|
|
%doc etc/odbcinst.ini.sample
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_bindir}/iodbc-config
|
|
|
|
%{_datadir}/libiodbc
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_includedir}/iodbcext.h
|
|
|
|
%{_includedir}/iodbcinst.h
|
|
|
|
%{_includedir}/iodbcunix.h
|
|
|
|
%{_includedir}/isql.h
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_includedir}/isqlext.h
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_includedir}/isqltypes.h
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_includedir}/odbcinst.h
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_includedir}/sql.h
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_includedir}/sqlext.h
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_includedir}/sqltypes.h
|
|
|
|
%{_includedir}/sqlucode.h
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_libdir}/libdrvproxy.so
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_libdir}/libiodbc.so
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_libdir}/libiodbcadm.so
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_libdir}/libiodbcinst.so
|
|
|
|
%{_libdir}/pkgconfig/libiodbc.pc
|
2011-10-12 22:09:23 +00:00
|
|
|
%{_mandir}/man1/iodbc-config.1*
|
2009-12-21 13:16:42 +00:00
|
|
|
|
2022-04-26 10:53:23 +00:00
|
|
|
%files -n libiodbc2
|
2021-06-02 06:47:41 +00:00
|
|
|
%license LICENSE
|
|
|
|
%{_libdir}/libiodbc.so.*
|
|
|
|
%{_libdir}/libiodbcinst.so.*
|
|
|
|
|
|
|
|
%files -n libdrvproxy2
|
|
|
|
%license LICENSE
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_libdir}/libdrvproxy.so.*
|
2021-06-02 06:47:41 +00:00
|
|
|
|
|
|
|
%files -n libiodbcadm2
|
|
|
|
%license LICENSE
|
2009-12-21 13:16:42 +00:00
|
|
|
%{_libdir}/libiodbcadm.so.*
|
|
|
|
|
|
|
|
%changelog
|