Author: adamg                        Date: Wed Jun 25 07:12:27 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 1.3.2
- dbd-odbc package

---- Files affected:
SPECS:
   apr-util.spec (1.71 -> 1.72) 

---- Diffs:

================================================================
Index: SPECS/apr-util.spec
diff -u SPECS/apr-util.spec:1.71 SPECS/apr-util.spec:1.72
--- SPECS/apr-util.spec:1.71    Tue Jun 17 08:16:31 2008
+++ SPECS/apr-util.spec Wed Jun 25 09:12:21 2008
@@ -2,7 +2,8 @@
 #
 # Conditional build:
 %bcond_with    freetds # with FreeTDS (sybdb) DBD module (unfinished)
-%bcond_without mysql   # with MySQL DBD module
+%bcond_without mysql   # without MySQL DBD module
+%bcond_without odbc    # without ODBC DBD module
 %bcond_with    oracle  # with Oracle DBD module (BR: proprietary libs)
 %bcond_without pgsql   # without PostgreSQL DBD module
 %bcond_with    sqlite2 # with SQLite 2.x DBD module
@@ -12,13 +13,13 @@
 Summary:       A companion library to Apache Portable Runtime
 Summary(pl.UTF-8):     Biblioteka towarzyszÄ…ca Apache Portable Runtime
 Name:          apr-util
-Version:       1.3.0
+Version:       1.3.2
 Release:       1
 Epoch:         1
 License:       Apache v2.0
 Group:         Libraries
 Source0:       http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
-# Source0-md5: 3cb56bbeefb72def43dee4bf69c46a21
+# Source0-md5: aa782fb9ced8b59c8e99419d8cdd1981
 Patch0:                %{name}-link.patch
 Patch1:                %{name}-db47.patch
 URL:           http://apr.apache.org/
@@ -34,6 +35,7 @@
 BuildRequires: libtool
 %{?with_mysql:BuildRequires:   mysql-devel}
 %{?with_ldap:BuildRequires:    openldap-devel >= 2.4.6}
+%{?with_odbc:BuildRequires:    unixODBC-devel}
 %{?with_pgsql:BuildRequires:   postgresql-devel}
 BuildRequires: rpm >= 4.4.9-56
 %{?with_sqlite2:BuildRequires: sqlite-devel >= 2}
@@ -75,6 +77,19 @@
 %description dbd-mysql -l pl.UTF-8
 Sterownik DBD dla MySQL-a.
 
+%package dbd-odbc
+Summary:       DBD driver for ODBC
+Summary(pl.UTF-8):     Sterownik DBD dla ODBC
+License:       GPL
+Group:         Libraries
+Requires:      %{name} = %{epoch}:%{version}-%{release}
+
+%description dbd-odbc
+DBD driver for ODBC.
+
+%description dbd-odbc -l pl.UTF-8
+Sterownik DBD dla ODBC.
+
 %package dbd-oracle
 Summary:       DBD driver for Oracle
 Summary(pl.UTF-8):     Sterownik DBD dla Oracle'a
@@ -209,6 +224,7 @@
 %endif
        %{!?with_freetds:--without-freetds} \
        %{?with_mysql:--with-mysql=%{_prefix}} \
+       %{!?with_odbc:--without-odbc} \
        %{?with_oracle:--with-oracle} \
        %{!?with_pgsql:--without-pgsql} \
        %{!?with_sqlite2:--without-sqlite2} \
@@ -222,7 +238,7 @@
 
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
- 
+
 rm $RPM_BUILD_ROOT%{_libdir}/apr-util-1/*.{la,a}
 
 %clean
@@ -253,6 +269,13 @@
 %attr(755,root,root) %{_libdir}/apr-util-1/apr_dbd_mysql.so
 %endif
 
+%if %{with_odbc}
+%files dbd-odbc
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/apr-util-1/apr_dbd_odbc-1.so
+%attr(755,root,root) %{_libdir}/apr-util-1/apr_dbd_odbc.so
+%endif
+
 %if %{with oracle}
 %files dbd-oracle
 %defattr(644,root,root,755)
@@ -307,6 +330,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.72  2008/06/25 07:12:21  adamg
+- updated to 1.3.2
+- dbd-odbc package
+
 Revision 1.71  2008/06/17 06:16:31  qboosh
 - updated to 1.3.0
 - added db47 patch, removed obsolete dso,dbd,db45 patches
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/apr-util.spec?r1=1.71&r2=1.72&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to