rebuilt with mariadb and specfile fixes [release 0.9.0-3mamba;Sat Mar 02 2024]
This commit is contained in:
parent
46a5c7ab64
commit
f05e6a0e14
@ -3,10 +3,4 @@
|
|||||||
libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.
|
libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.
|
||||||
The libdbi-drivers project provides the database-specific drivers for the libdbi framework.
|
The libdbi-drivers project provides the database-specific drivers for the libdbi framework.
|
||||||
The current version of libdbi-drivers will work with any 0.8.x release of the framework.
|
The current version of libdbi-drivers will work with any 0.8.x release of the framework.
|
||||||
The drivers officially supported by libdbi are:
|
|
||||||
|
|
||||||
FreeTDS (provides access to MS SQL Server and Sybase)
|
|
||||||
MySQL
|
|
||||||
PostgreSQL
|
|
||||||
SQLite/SQLite3
|
|
||||||
|
|
||||||
|
12
libdbi-drivers-0.9.0-freetds-1.4.10.patch
Normal file
12
libdbi-drivers-0.9.0-freetds-1.4.10.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
--- libdbi-drivers-0.9.0/drivers/freetds/dbd_freetds.c.orig 2024-03-02 16:21:20.791832505 +0100
|
||||||
|
+++ libdbi-drivers-0.9.0/drivers/freetds/dbd_freetds.c 2024-03-02 16:21:26.827844703 +0100
|
||||||
|
@@ -232,9 +232,6 @@
|
||||||
|
// Format = X.XX.XX
|
||||||
|
switch (str[0]) {
|
||||||
|
// We can use it if "CS_TDS_80" will be add to ct_con_props() by CS_SET action
|
||||||
|
- case '8':
|
||||||
|
- num = CS_TDS_80;
|
||||||
|
- break;
|
||||||
|
case '7':
|
||||||
|
num = CS_TDS_70;
|
||||||
|
break;
|
@ -1,47 +1,35 @@
|
|||||||
%define majver %(echo %version | cut -d. -f1-3)
|
%define majver %(echo %version | cut -d. -f1-3)
|
||||||
#% define minver %(echo %version | cut -d. -f4)
|
|
||||||
Name: libdbi-drivers
|
Name: libdbi-drivers
|
||||||
Version: 0.9.0
|
Version: 0.9.0
|
||||||
Release: 2mamba
|
Release: 3mamba
|
||||||
Summary: Drivers for the Database Independent Abstraction Layer for C
|
Summary: Drivers for the Database Independent Abstraction Layer for C
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
Distribution: openmamba
|
Distribution: openmamba
|
||||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
URL: http://libdbi-drivers.sourceforge.net/
|
URL: https://libdbi-drivers.sourceforge.net/
|
||||||
Source: http://downloads.sourceforge.net/project/libdbi-drivers/libdbi-drivers/libdbi-drivers-%{majver}%{?minver:-%minver}/libdbi-drivers-%{majver}%{?minver:-%minver}.tar.gz
|
Source: http://downloads.sourceforge.net/project/libdbi-drivers/libdbi-drivers/libdbi-drivers-%{majver}%{?minver:-%minver}/libdbi-drivers-%{majver}%{?minver:-%minver}.tar.gz
|
||||||
|
Patch0: libdbi-drivers-0.9.0-freetds-1.4.10.patch
|
||||||
License: LGPL
|
License: LGPL
|
||||||
## AUTOBUILDREQ-BEGIN
|
## AUTOBUILDREQ-BEGIN
|
||||||
BuildRequires: glibc-devel
|
BuildRequires: glibc-devel
|
||||||
BuildRequires: libdbi-devel
|
BuildRequires: libdbi-devel
|
||||||
BuildRequires: libfreetds-devel
|
BuildRequires: libfreetds-devel
|
||||||
BuildRequires: libmysql-devel
|
BuildRequires: libmariadb-devel
|
||||||
BuildRequires: libpostgresql-devel
|
BuildRequires: libpostgresql-devel
|
||||||
BuildRequires: libsqlite-devel
|
BuildRequires: libsqlite-devel
|
||||||
BuildRequires: libstdc++6-devel
|
|
||||||
BuildRequires: libz-devel
|
|
||||||
## AUTOBUILDREQ-END
|
## AUTOBUILDREQ-END
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
BuildRequires: docbook-dsssl
|
BuildRequires: docbook-dsssl
|
||||||
BuildRequires: libdbi-devel
|
|
||||||
BuildRequires: openjade
|
|
||||||
BuildRequires: libopenssl-devel
|
|
||||||
BuildRequires: libkrb5-devel
|
BuildRequires: libkrb5-devel
|
||||||
BuildRequires: libopenssl-devel
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: openjade
|
||||||
Requires: libdbi
|
Requires: libdbi
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
||||||
# Firebird/Interbase plugin
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.
|
libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl. Writing one generic set of code, programmers can leverage the power of multiple databases and multiple simultaneous database connections by using this framework.
|
||||||
The libdbi-drivers project provides the database-specific drivers for the libdbi framework.
|
The libdbi-drivers project provides the database-specific drivers for the libdbi framework.
|
||||||
The current version of libdbi-drivers will work with any 0.8.x release of the framework.
|
The current version of libdbi-drivers will work with any 0.8.x release of the framework.
|
||||||
The drivers officially supported by libdbi are:
|
|
||||||
|
|
||||||
FreeTDS (provides access to MS SQL Server and Sybase)
|
|
||||||
MySQL
|
|
||||||
PostgreSQL
|
|
||||||
SQLite/SQLite3
|
|
||||||
|
|
||||||
%package freetds
|
%package freetds
|
||||||
Group: Development/Libraries
|
Group: Development/Libraries
|
||||||
@ -49,7 +37,6 @@ Summary: FreeTDS plugin for libdbi
|
|||||||
|
|
||||||
%description freetds
|
%description freetds
|
||||||
Drivers for the Database Independent Abstraction Layer for C.
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
This package contains FreeTDS plugin for libdbi.
|
This package contains FreeTDS plugin for libdbi.
|
||||||
|
|
||||||
%package mysql
|
%package mysql
|
||||||
@ -58,7 +45,6 @@ Summary: MySQL plugin for libdbi
|
|||||||
|
|
||||||
%description mysql
|
%description mysql
|
||||||
Drivers for the Database Independent Abstraction Layer for C.
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
This package contains MySQL plugin for libdbi.
|
This package contains MySQL plugin for libdbi.
|
||||||
|
|
||||||
%package pgsql
|
%package pgsql
|
||||||
@ -67,7 +53,6 @@ Summary: PostgreSQL plugin for libdbi
|
|||||||
|
|
||||||
%description pgsql
|
%description pgsql
|
||||||
Drivers for the Database Independent Abstraction Layer for C.
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
This package contains PostgreSQL plugin for libdbi.
|
This package contains PostgreSQL plugin for libdbi.
|
||||||
|
|
||||||
%package sqlite
|
%package sqlite
|
||||||
@ -76,7 +61,6 @@ Summary: SQLite plugin for libdbi
|
|||||||
|
|
||||||
%description sqlite
|
%description sqlite
|
||||||
Drivers for the Database Independent Abstraction Layer for C.
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
This package contains SQLite plugin for libdbi.
|
This package contains SQLite plugin for libdbi.
|
||||||
|
|
||||||
%package static
|
%package static
|
||||||
@ -89,14 +73,17 @@ Requires: %{name}-sqlite = %{?epoch:%epoch:}%{version}-%{release}
|
|||||||
|
|
||||||
%description static
|
%description static
|
||||||
Drivers for the Database Independent Abstraction Layer for C.
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
This package contains static libraries needed for development.
|
||||||
|
|
||||||
This package contains static libraries need for development.
|
%debug_package
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{name}-%{majver}%{?minver:-%minver}
|
%setup -q -n %{name}-%{majver}%{?minver:-%minver}
|
||||||
|
%patch 0 -p1
|
||||||
|
|
||||||
|
./autogen.sh
|
||||||
|
|
||||||
%build
|
%build
|
||||||
./autogen.sh
|
|
||||||
%configure \
|
%configure \
|
||||||
--with-freetds \
|
--with-freetds \
|
||||||
--with-mysql \
|
--with-mysql \
|
||||||
@ -127,20 +114,6 @@ mv drivers/freetds/README drivers/freetds/freetds-README
|
|||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
|
|
||||||
#%files
|
|
||||||
#%defattr(-,root,root)
|
|
||||||
#%dir %{_libdir}/dbd
|
|
||||||
#%dir %{_datadir}/doc/libdbi-drivers-*/
|
|
||||||
#%{_datadir}/doc/libdbi-drivers-*/*
|
|
||||||
#%doc ChangeLog README
|
|
||||||
#%doc drivers/freetds/freetds-README
|
|
||||||
#%doc drivers/mysql/dbd_mysql/*.html
|
|
||||||
#%doc drivers/mysql/*.pdf
|
|
||||||
#%doc drivers/pgsql/dbd_pgsql/*.html
|
|
||||||
#%doc drivers/pgsql/*.pdf
|
|
||||||
#%doc drivers/sqlite3/dbd_sqlite3/*.html
|
|
||||||
#%doc drivers/sqlite3/*.pdf
|
|
||||||
|
|
||||||
%files freetds
|
%files freetds
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_libdir}/dbd/libdbdfreetds.so
|
%{_libdir}/dbd/libdbdfreetds.so
|
||||||
@ -166,6 +139,9 @@ mv drivers/freetds/README drivers/freetds/freetds-README
|
|||||||
%{_libdir}/dbd/libdbd*.*a
|
%{_libdir}/dbd/libdbd*.*a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sat Mar 02 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-3mamba
|
||||||
|
- rebuilt with mariadb and specfile fixes
|
||||||
|
|
||||||
* Mon Jan 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-2mamba
|
* Mon Jan 27 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.0-2mamba
|
||||||
- rebuilt with libsqlite3 instead of libsqlite2, remove empty libdbi-driver package
|
- rebuilt with libsqlite3 instead of libsqlite2, remove empty libdbi-driver package
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user