SPECS: libdbi-drivers.spec - updated to 0.8.1, added freetds driver
qboosh
qboosh at pld-linux.org
Sat Oct 22 02:14:20 CEST 2005
Author: qboosh Date: Sat Oct 22 00:14:20 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- updated to 0.8.1, added freetds driver
---- Files affected:
SPECS:
libdbi-drivers.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/libdbi-drivers.spec
diff -u SPECS/libdbi-drivers.spec:1.11 SPECS/libdbi-drivers.spec:1.12
--- SPECS/libdbi-drivers.spec:1.11 Sat Sep 3 01:35:45 2005
+++ SPECS/libdbi-drivers.spec Sat Oct 22 02:14:14 2005
@@ -2,26 +2,28 @@
#
# Conditional build:
%bcond_without firebird # don't build Firebird driver
+%bcond_without freetds # don't build FreeTDS driver
%bcond_without mysql # don't build MySQL driver
%bcond_without pgsql # don't build PostgreSQL driver
%bcond_without sqlite # don't build sqlite driver
%bcond_without sqlite3 # don't build sqlite3 driver
#
-%define dbiver 0.8.0
+%define dbiver 0.8.1
Summary: Database Independent Abstraction Layer for C
Summary(pl): Warstwa DBI dla C
Name: libdbi-drivers
-Version: 0.8.0
+Version: 0.8.1
Release: 1
License: LGPL
Group: Libraries
Source0: http://dl.sourceforge.net/libdbi-drivers/libdbi-drivers-%{version}.tar.gz
-# Source0-md5: cac2d09b90d2c58b01425d5e855f5499
+# Source0-md5: bca4dd6184e3e78676c35eb9a7ae1186
Patch0: %{name}-opt.patch
URL: http://libdbi-drivers.sourceforge.net/
+%{?with_firebird:BuildRequires: Firebird-devel}
BuildRequires: autoconf
BuildRequires: automake
-%{?with_firebird:BuildRequires: Firebird-devel}
+%{?with_freetds:BuildRequires: freetds-devel}
BuildRequires: libtool
BuildRequires: libdbi-devel >= %{dbiver}
%{?with_mysql:BuildRequires: mysql-devel}
@@ -60,6 +62,24 @@
bibliotekę libdbi. Zmiana używanej wtyczki nie wymaga rekompilacji ani
zmiany źródeł programu.
+%package freetds
+Summary: FreeTDS plugin for libdbi
+Summary(pl): Wtyczka FreeTDS dla libdbi
+Group: Libraries
+Requires: libdbi >= %{dbiver}
+Provides: libdbi-dbd = %{version}-%{release}
+
+%description freetds
+This plugin provides connectivity to MS SQL/Sybase database servers
+through the libdbi database independent abstraction layer. Switching a
+program's plugin does not require recompilation or rewriting source
+code.
+
+%description freetds -l pl
+Ta wtyczka daje możliwość łączenia się z serwerami MS SQL/Sybase
+poprzez bibliotekę libdbi. Zmiana używanej wtyczki nie wymaga
+rekompilacji ani zmiany źródeł programu.
+
%package mysql
Summary: MySQL plugin for libdbi
Summary(pl): Wtyczka MySQL dla libdbi
@@ -149,6 +169,11 @@
--with-firebird-libdir=%{_libdir} \
--with-firebird-incdir=%{_includedir} \
%endif
+%if %{with freetds}
+ --with-freetds \
+ --with-freetds-libdir=%{_libdir} \
+ --with-freetds-incdir=%{_includedir} \
+%endif
%if %{with mysql}
--with-mysql \
--with-mysql-libdir=%{_libdir} \
@@ -184,13 +209,19 @@
%clean
rm -rf $RPM_BUILD_ROOT
-%if %{with mysql}
+%if %{with firebird}
%files firebird
%defattr(644,root,root,755)
%doc drivers/firebird/{AUTHORS,README,TODO}
%attr(755,root,root) %{_libdir}/dbd/libfirebird.so
%endif
+%if %{with freetds}
+%files freetds
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/dbd/libfreetds.so
+%endif
+
%if %{with mysql}
%files mysql
%defattr(644,root,root,755)
@@ -225,6 +256,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2005/10/22 00:14:14 qboosh
+- updated to 0.8.1, added freetds driver
+
Revision 1.11 2005/09/02 23:35:45 qboosh
- updated to 0.8.0
- added firebird,sqlite3 drivers
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/libdbi-drivers.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list