2024-01-06 04:40:50 +01:00
|
|
|
Name: libiodbc
|
2024-01-06 04:40:50 +01:00
|
|
|
Version: 3.52.15
|
2024-01-06 04:40:50 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: Independent Open DataBase Connectivity for Linux, MacOS X and Unix systems
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 04:40:50 +01:00
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.iodbc.org/dataspace/doc/iodbc/wiki/iodbcWiki/WelcomeVisitors
|
2024-01-06 04:40:50 +01:00
|
|
|
Source: https://github.com/openlink/iODBC.git/v%{version}/iODBC-%{version}.tar.bz2
|
|
|
|
#Source: http://downloads.sourceforge.net/project/iodbc/iodbc/%{version}/libiodbc-%{version}.tar.gz
|
2024-01-06 04:40:50 +01:00
|
|
|
License: LGPL, BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
#Provides: libodbc
|
|
|
|
#Provides: libodbc.so
|
|
|
|
#Provides: libodbc.so.1
|
|
|
|
#Provides: libodbcinst.so
|
|
|
|
#Provides: libodbcinst.so.1
|
|
|
|
#Obsoletes: libodbc
|
|
|
|
|
|
|
|
%description
|
|
|
|
iODBC is the acronym for Independent Open DataBase Connectivity, an Open Source platform independent implementation of both the ODBC and X/Open specifications.
|
|
|
|
It is rapidly emerging as the industry standard for developing solutions that are language, platform and database independent.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:40:50 +01:00
|
|
|
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
|
2024-01-06 04:40:50 +01:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
iODBC is the acronym for Independent Open DataBase Connectivity, an Open Source platform independent implementation of both the ODBC and X/Open specifications.
|
|
|
|
It is rapidly emerging as the industry standard for developing solutions that are language, platform and database independent.
|
2024-01-06 04:40:50 +01:00
|
|
|
This package contains static libraries and header files needed for development.
|
2024-01-06 04:40:50 +01:00
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
%package tools
|
|
|
|
Group: Applications/Databases
|
|
|
|
Summary: Tools provided with %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
iODBC is the acronym for Independent Open DataBase Connectivity, an Open Source platform independent implementation of both the ODBC and X/Open specifications.
|
|
|
|
It is rapidly emerging as the industry standard for developing solutions that are language, platform and database independent.
|
|
|
|
This package contains the tools provided with %{name}.
|
|
|
|
|
|
|
|
%debug_package
|
2024-01-06 04:40:50 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 04:40:50 +01:00
|
|
|
%setup -q -n iODBC-%{version}
|
|
|
|
./autogen.sh
|
2024-01-06 04:40:50 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
# FIXME (--disable-gui):
|
|
|
|
# make[2]: *** No rule to make target `../iodbcadm/libiodbcadm.la', needed by `iodbcadm-gtk'. Stop.
|
|
|
|
%configure \
|
|
|
|
--enable-odbc3 \
|
|
|
|
--with-iodbc-inidir=%{_sysconfdir} \
|
|
|
|
--enable-pthreads \
|
|
|
|
--disable-gui \
|
|
|
|
--disable-libodbc
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
#ln -s `readlink %{buildroot}%{_libdir}/libiodbc.so` %{buildroot}%{_libdir}/libodbc.so.1
|
|
|
|
#ln -s `readlink %{buildroot}%{_libdir}/libiodbcinst.so` %{buildroot}%{_libdir}/libodbcinst.so
|
|
|
|
#ln -s `readlink %{buildroot}%{_libdir}/libiodbcinst.so` %{buildroot}%{_libdir}/libodbcinst.so.1
|
|
|
|
|
|
|
|
rm -f %{buildroot}%{_includedir}/{odbcinst.h,sql.h,sqlext.h,sqltypes.h,sqlucode.h}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libiodbc.so.*
|
|
|
|
%{_libdir}/libiodbcinst.so.*
|
|
|
|
#%{_libdir}/libodbc.so.*
|
|
|
|
#%{_libdir}/libodbcinst.so.*
|
|
|
|
# libodbc.so linked by sun-java
|
|
|
|
#%{_libdir}/libodbc.so
|
|
|
|
#%{_libdir}/libodbcinst.so
|
2024-01-06 04:40:50 +01:00
|
|
|
%doc AUTHORS COPYING LICENSE
|
2024-01-06 04:40:50 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/iodbc-config
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.la
|
|
|
|
%{_libdir}/libiodbc.so
|
|
|
|
%{_libdir}/libiodbcinst.so
|
|
|
|
%{_libdir}/pkgconfig/*.pc
|
|
|
|
%{_mandir}/man1/iodbc-config.*
|
2024-01-06 04:40:50 +01:00
|
|
|
%doc ChangeLog NEWS README
|
2024-01-06 04:40:50 +01:00
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/iodbctest
|
|
|
|
%{_bindir}/iodbctestw
|
|
|
|
%dir %{_datadir}/libiodbc
|
|
|
|
%{_datadir}/libiodbc/samples/*
|
|
|
|
%{_mandir}/man1/iodbctest.*
|
|
|
|
%{_mandir}/man1/iodbctestw.*
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
%changelog
|
2024-01-06 04:40:50 +01:00
|
|
|
* Sat Jul 10 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.15-1mamba
|
|
|
|
- update to 3.52.15
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
* Thu Feb 18 2021 Automatic Build System <autodist@mambasoft.it> 3.52.14-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
* Thu Aug 15 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.13-1mamba
|
|
|
|
- update to 3.52.13
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
* Sun Aug 06 2017 Automatic Build System <autodist@mambasoft.it> 3.52.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
* Sun Mar 27 2016 Automatic Build System <autodist@mambasoft.it> 3.52.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
* Mon Feb 09 2015 Automatic Build System <autodist@mambasoft.it> 3.52.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:40:50 +01:00
|
|
|
* Sat Dec 01 2012 Automatic Build System <autodist@mambasoft.it> 3.52.8-1mamba
|
|
|
|
- update to 3.52.8
|
|
|
|
|
|
|
|
* Tue Aug 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.7-6mamba
|
|
|
|
- libiodbc-devel: remove obsolete for libodbc-devel
|
|
|
|
|
|
|
|
* Tue Aug 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.7-5mamba
|
|
|
|
- don't provide libodbc and keep back using libodbc from unixODBC
|
|
|
|
|
|
|
|
* Thu Jun 03 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.7-4mamba
|
|
|
|
- fixed libodbc.so, libodbcinst.so and libodbcinst.so.1 links
|
|
|
|
|
|
|
|
* Fri Apr 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.7-3mamba
|
|
|
|
- fix obsoletion of libodbc-devel in libiodbc-devel
|
|
|
|
|
|
|
|
* Fri Apr 09 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 3.52.7-2mamba
|
|
|
|
- enable build of libodbc and obsolete libodbc and libodbc-devel packages
|
|
|
|
|
|
|
|
* Sun Jan 17 2010 Davide Madrisan <davide.madrisan@gmail.com> 3.52.7-1mamba
|
|
|
|
- package created by autospec
|