Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:Backports:SLE-15-SP1:Update
iodbc
iodbc.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File iodbc.spec of Package iodbc
# # spec file for package iodbc # # Copyright (c) 2017 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 # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: iodbc Version: 3.52.12 Release: 0 Summary: ODBC compliant driver manager License: LGPL-2.0 or BSD-3-Clause Group: Development/Libraries/C and C++ 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 %description The iODBC Driver Manager is a free implementation of the SAG CLI and 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 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 Requires: gtk2-devel %endif %description -n libiodbc-devel This package contains all necessary include files and libraries needed to develop applications that require these. %package -n libiodbc3 Summary: Libraries needed to run iODBC Group: Development/Libraries/C and C++ %description -n libiodbc3 The iODBC Driver Manager is a free implementation of the SAG CLI and ODBC compliant driver manager which allows developers to write ODBC compliant applications that can connect to various databases using appropriate backend drivers. This package provides the shared libraries needed by iODBC %package admin Summary: Administration tools for iODBC Group: Development/Libraries/C and C++ %description admin The iODBC Driver Manager is a free implementation of the SAG CLI and ODBC compliant driver manager which allows developers to write ODBC compliant applications that can connect to various databases using appropriate backend drivers. This package provides tools for configuring and administering iODBC %prep %setup -q -n libiodbc-%{version} %patch1 -p1 %patch2 %build %configure \ --disable-static \ --disable-libodbc \ --disable-dependency-tracking # 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 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 %defattr(-,root,root) %{_bindir}/iodbctest %{_bindir}/iodbctestw %{_mandir}/man1/iodbctest.1* %{_mandir}/man1/iodbctestw.1* %files -n libiodbc3 %defattr(-,root,root) %doc AUTHORS LICENSE LICENSE.LGPL LICENSE.BSD ChangeLog NEWS README %{_libdir}/libiodbc.so.* %{_libdir}/libiodbcinst.so.* %files -n libiodbc-devel %defattr(-,root,root) %doc etc/odbc.ini.sample %doc etc/odbcinst.ini.sample %{_bindir}/iodbc-config %{_datadir}/libiodbc %{_includedir}/iodbcext.h %{_includedir}/iodbcinst.h %{_includedir}/iodbcunix.h %{_includedir}/isql.h %{_includedir}/isqlext.h %{_includedir}/isqltypes.h %{_includedir}/odbcinst.h %{_includedir}/sql.h %{_includedir}/sqlext.h %{_includedir}/sqltypes.h %{_includedir}/sqlucode.h %{_libdir}/libdrvproxy.so %{_libdir}/libiodbc.so %{_libdir}/libiodbcadm.so %{_libdir}/libiodbcinst.so %{_libdir}/pkgconfig/libiodbc.pc %{_mandir}/man1/iodbc-config.1* %files admin %defattr(-,root,root) %{_bindir}/iodbcadm-gtk %{_libdir}/libdrvproxy.so.* %{_libdir}/libiodbcadm.so.* %{_mandir}/man1/iodbcadm-gtk.1* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor