summaryrefslogtreecommitdiff
path: root/srclib/apr-util/build/rpm/apr-util.spec.in
diff options
context:
space:
mode:
Diffstat (limited to 'srclib/apr-util/build/rpm/apr-util.spec.in')
-rw-r--r--srclib/apr-util/build/rpm/apr-util.spec.in45
1 files changed, 36 insertions, 9 deletions
diff --git a/srclib/apr-util/build/rpm/apr-util.spec.in b/srclib/apr-util/build/rpm/apr-util.spec.in
index eb71ce12..bc6be9a6 100644
--- a/srclib/apr-util/build/rpm/apr-util.spec.in
+++ b/srclib/apr-util/build/rpm/apr-util.spec.in
@@ -10,8 +10,8 @@ Group: System Environment/Libraries
URL: http://apr.apache.org/
Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
-BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 1.3.0
-BuildPrereq: expat-devel
+BuildRequires: autoconf, libtool, doxygen, apr-devel >= 1.4.0
+BuildRequires: expat-devel, libuuid-devel
%description
The mission of the Apache Portable Runtime (APR) is to provide a
@@ -31,6 +31,15 @@ build applications using the APR utility library. The mission
of the Apache Portable Runtime (APR) is to provide a free
library of C data structures and routines.
+%package dbm
+Group: Development/Libraries
+Summary: APR utility library DBM driver
+BuildRequires: db4-devel
+Requires: apr-util = %{version}-%{release}
+
+%description dbm
+This package provides the DBM driver for the apr-util.
+
%package pgsql
Group: Development/Libraries
Summary: APR utility library PostgreSQL DBD driver
@@ -90,14 +99,23 @@ Requires: apr-util = %{version}-%{release}
%description ldap
This package provides the LDAP support for the apr-util.
-%package dbm
+%package openssl
Group: Development/Libraries
-Summary: APR utility library DBM support
-BuildRequires: db4-devel
+Summary: APR utility library OpenSSL crypto support
+BuildRequires: openssl-devel
Requires: apr-util = %{version}-%{release}
-%description dbm
-This package provides the dbm support for the apr-util.
+%description openssl
+This package provides crypto support for apr-util based on OpenSSL.
+
+%package nss
+Group: Development/Libraries
+Summary: APR utility library NSS crypto support
+BuildRequires: nss-devel
+Requires: apr-util = %{version}-%{release}
+
+%description nss
+This package provides crypto support for apr-util based on Mozilla NSS.
%prep
%setup -q
@@ -108,6 +126,7 @@ This package provides the dbm support for the apr-util.
--with-ldap --without-gdbm \
--with-sqlite3 --with-pgsql --with-mysql --with-freetds --with-odbc \
--with-berkeley-db \
+ --with-crypto --with-openssl --with-nss \
--without-sqlite2
make %{?_smp_mflags} && make dox
@@ -141,6 +160,10 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libaprutil-%{apuver}.so.*
%dir %{_libdir}/apr-util-%{apuver}
+%files dbm
+%defattr(-,root,root,-)
+%{_libdir}/apr-util-%{apuver}/apr_dbm_db*
+
%files pgsql
%defattr(-,root,root,-)
%{_libdir}/apr-util-%{apuver}/apr_dbd_pgsql*
@@ -165,9 +188,13 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%{_libdir}/apr-util-%{apuver}/apr_ldap*
-%files dbm
+%files openssl
%defattr(-,root,root,-)
-%{_libdir}/apr-util-%{apuver}/apr_dbm_db*
+%{_libdir}/apr-util-%{apuver}/apr_crypto_openssl*
+
+%files nss
+%defattr(-,root,root,-)
+%{_libdir}/apr-util-%{apuver}/apr_crypto_nss*
%files devel
%defattr(-,root,root,-)