rebuilt with libsqlite3 instead of libsqlite2, remove empty libdbi-driver package [release 0.9.0-2mamba;Mon Jan 27 2014]
This commit is contained in:
parent
589ec3d646
commit
46a5c7ab64
10
README.md
10
README.md
@ -1,2 +1,12 @@
|
|||||||
# libdbi-drivers
|
# libdbi-drivers
|
||||||
|
|
||||||
|
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 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
|
||||||
|
|
||||||
|
179
libdbi-drivers.spec
Normal file
179
libdbi-drivers.spec
Normal file
@ -0,0 +1,179 @@
|
|||||||
|
%define majver %(echo %version | cut -d. -f1-3)
|
||||||
|
#% define minver %(echo %version | cut -d. -f4)
|
||||||
|
Name: libdbi-drivers
|
||||||
|
Version: 0.9.0
|
||||||
|
Release: 2mamba
|
||||||
|
Summary: Drivers for the Database Independent Abstraction Layer for C
|
||||||
|
Group: Development/Libraries
|
||||||
|
Vendor: openmamba
|
||||||
|
Distribution: openmamba
|
||||||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||||
|
URL: http://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
|
||||||
|
License: LGPL
|
||||||
|
## AUTOBUILDREQ-BEGIN
|
||||||
|
BuildRequires: glibc-devel
|
||||||
|
BuildRequires: libdbi-devel
|
||||||
|
BuildRequires: libfreetds-devel
|
||||||
|
BuildRequires: libmysql-devel
|
||||||
|
BuildRequires: libpostgresql-devel
|
||||||
|
BuildRequires: libsqlite-devel
|
||||||
|
BuildRequires: libstdc++6-devel
|
||||||
|
BuildRequires: libz-devel
|
||||||
|
## AUTOBUILDREQ-END
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: docbook-dsssl
|
||||||
|
BuildRequires: libdbi-devel
|
||||||
|
BuildRequires: openjade
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
BuildRequires: libkrb5-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
Requires: libdbi
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||||
|
# Firebird/Interbase plugin
|
||||||
|
|
||||||
|
%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.
|
||||||
|
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 drivers officially supported by libdbi are:
|
||||||
|
|
||||||
|
FreeTDS (provides access to MS SQL Server and Sybase)
|
||||||
|
MySQL
|
||||||
|
PostgreSQL
|
||||||
|
SQLite/SQLite3
|
||||||
|
|
||||||
|
%package freetds
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: FreeTDS plugin for libdbi
|
||||||
|
|
||||||
|
%description freetds
|
||||||
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
|
This package contains FreeTDS plugin for libdbi.
|
||||||
|
|
||||||
|
%package mysql
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: MySQL plugin for libdbi
|
||||||
|
|
||||||
|
%description mysql
|
||||||
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
|
This package contains MySQL plugin for libdbi.
|
||||||
|
|
||||||
|
%package pgsql
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: PostgreSQL plugin for libdbi
|
||||||
|
|
||||||
|
%description pgsql
|
||||||
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
|
This package contains PostgreSQL plugin for libdbi.
|
||||||
|
|
||||||
|
%package sqlite
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: SQLite plugin for libdbi
|
||||||
|
|
||||||
|
%description sqlite
|
||||||
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
|
This package contains SQLite plugin for libdbi.
|
||||||
|
|
||||||
|
%package static
|
||||||
|
Group: Development/Libraries
|
||||||
|
Summary: Static libraries for %{name}
|
||||||
|
Requires: %{name}-freetds = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name}-mysql = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name}-pgsql = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
Requires: %{name}-sqlite = %{?epoch:%epoch:}%{version}-%{release}
|
||||||
|
|
||||||
|
%description static
|
||||||
|
Drivers for the Database Independent Abstraction Layer for C.
|
||||||
|
|
||||||
|
This package contains static libraries need for development.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{majver}%{?minver:-%minver}
|
||||||
|
|
||||||
|
%build
|
||||||
|
./autogen.sh
|
||||||
|
%configure \
|
||||||
|
--with-freetds \
|
||||||
|
--with-mysql \
|
||||||
|
--with-pgsql \
|
||||||
|
--with-sqlite3 \
|
||||||
|
--without-sqlite \
|
||||||
|
--with-freetds-libdir=%{_libdir} \
|
||||||
|
--with-freetds-incdir=%{_includedir} \
|
||||||
|
--with-mysql-libdir=%{_libdir}/mysql \
|
||||||
|
--with-mysql-incdir=%{_includedir}/mysql \
|
||||||
|
--with-pgsql-libdir=%{_libdir} \
|
||||||
|
--with-pgsql-incdir=%{_includedir} \
|
||||||
|
--with-dbi-libdir=%{_libdir}
|
||||||
|
|
||||||
|
%make
|
||||||
|
|
||||||
|
%install
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
%makeinstall
|
||||||
|
|
||||||
|
rm -rf %{buildroot}%{_docdir}/libdbi-drivers-%{version}%{?rel}
|
||||||
|
|
||||||
|
mv drivers/freetds/README drivers/freetds/freetds-README
|
||||||
|
|
||||||
|
%clean
|
||||||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||||
|
|
||||||
|
%post -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
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/dbd/libdbdfreetds.so
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files mysql
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/dbd/libdbdmysql.so
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files pgsql
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/dbd/libdbdpgsql.so
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files sqlite
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/dbd/libdbdsqlite3.so
|
||||||
|
%doc AUTHORS COPYING
|
||||||
|
|
||||||
|
%files static
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{_libdir}/dbd/libdbd*.*a
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
* 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
|
||||||
|
|
||||||
|
* Fri Mar 22 2013 Automatic Build System <autodist@mambasoft.it> 0.9.0-1mamba
|
||||||
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
* Tue Oct 16 2012 Automatic Build System <autodist@mambasoft.it> 0.8.3.1-1mamba
|
||||||
|
- update to 0.8.3.1
|
||||||
|
|
||||||
|
* Fri Dec 17 2010 gil <puntogil@libero.it> 0.8.3-1mamba
|
||||||
|
- package created by autospec
|
Loading…
Reference in New Issue
Block a user