update to 2.3.9 [release 2.3.9-1mamba;Thu Dec 03 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 05:15:17 +01:00
parent 9c2ba9ac67
commit 79340da979

View File

@ -1,6 +1,6 @@
Name: libodbc Name: libodbc
Version: 2.3.0 Version: 2.3.9
Release: 2mamba Release: 1mamba
Summary: Open specification for providing a predictable API to access Data Sources. Summary: Open specification for providing a predictable API to access Data Sources.
Group: System/Libraries Group: System/Libraries
Vendor: openmamba Vendor: openmamba
@ -17,7 +17,9 @@ BuildRequires: libncurses-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
Provides: libodbcinst.so, libodbc.so Requires: %{name}-tools = %{version}-%{release}
Provides: libodbcinst.so
Provides: libodbc.so
%description %description
ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources. ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources.
@ -27,12 +29,24 @@ Data Sources include SQL Servers and any Data Source with an ODBC Driver.
Summary: Devel package for libodbc Summary: Devel package for libodbc
Group: Development/Libraries Group: Development/Libraries
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: %{name}-tools = %{version}-%{release}
%description devel %description devel
ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources. ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources.
Data Sources include SQL Servers and any Data Source with an ODBC Driver. Data Sources include SQL Servers and any Data Source with an ODBC Driver.
This package contains static libraries and header files needed for development.
This package contains static libraries and header files need for development. %package tools
Summary: Tools provided with libodbc
Group: System/Tools
Requires: %{name} = %{version}-%{release}
%description tools
ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources.
Data Sources include SQL Servers and any Data Source with an ODBC Driver.
This package contains the tools provided with libodbc.
%debug_package
%prep %prep
%setup -q -n unixODBC-%{version} %setup -q -n unixODBC-%{version}
@ -41,11 +55,12 @@ This package contains static libraries and header files need for development.
%build %build
%configure \ %configure \
--sysconfdir=%{_sysconfdir}/odbc \ --sysconfdir=%{_sysconfdir}/odbc
--with-qt-dir=%{_qt4_prefix} \
--with-qt-includes=%{_qt4_headerdir} \ # --with-qt-dir=%{_qt4_prefix} \
MOC=%{_qt4_bindir}/moc \ # --with-qt-includes=%{_qt4_headerdir} \
UIC=%{_qt4_bindir}/uic # MOC=%{_qt4_bindir}/moc \
# UIC=%{_qt4_bindir}/uic
%make %make
@ -58,24 +73,42 @@ This package contains static libraries and header files need for development.
%files %files
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libodbc*.so.*
# .so here because libodbcinst.so and libodbc.so are required # .so here because libodbcinst.so and libodbc.so are required
# by Java precompiled binaries # by Java precompiled binaries
%{_libdir}/*.so %{_libdir}/libodbc*.so
%files devel
%defattr(-,root,root)
%{_libdir}/libodbc*.la
%{_includedir}/*.h
%{_libdir}/pkgconfig/odbc*.pc
%files tools
%defattr(-,root,root)
%dir %{_sysconfdir}/odbc
%dir %{_sysconfdir}/odbc/ODBCDataSources
%config(noreplace) %{_sysconfdir}/odbc/odbc.ini
%config(noreplace) %{_sysconfdir}/odbc/odbcinst.ini
%{_bindir}/dltest %{_bindir}/dltest
%{_bindir}/iusql %{_bindir}/iusql
%{_bindir}/isql %{_bindir}/isql
%{_bindir}/odbcinst %{_bindir}/odbcinst
%{_bindir}/odbc_config %{_bindir}/odbc_config
%dir %{_sysconfdir}/odbc %{_bindir}/slencheck
%{_sysconfdir}/odbc/* %{_mandir}/man1/dltest.1*
%{_mandir}/man1/isql.1*
%files devel %{_mandir}/man1/iusql.1*
%defattr(-,root,root) %{_mandir}/man1/odbc_config.1*
%{_libdir}/*.la %{_mandir}/man1/odbcinst.1*
%{_includedir}/*.h %{_mandir}/man5/odbc.ini.5*
%{_mandir}/man5/odbcinst.ini.5*
%{_mandir}/man7/unixODBC.7*
%changelog %changelog
* Thu Dec 03 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.9-1mamba
- update to 2.3.9
* Fri Dec 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-2mamba * Fri Dec 24 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 2.3.0-2mamba
- don't create an empty package unixODBC-GUI-Qt, it can be made from a different source package now - don't create an empty package unixODBC-GUI-Qt, it can be made from a different source package now