4 Summary: Apache Portable Runtime Utility library
8 License: Apache Software License
9 Group: System Environment/Libraries
10 URL: http://apr.apache.org/
11 Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.bz2
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13 BuildRequires: autoconf, libtool, doxygen, apr-devel >= 1.4.0
14 BuildRequires: expat-devel, libuuid-devel
17 The mission of the Apache Portable Runtime (APR) is to provide a
18 free library of C data structures and routines. This library
19 contains additional utility interfaces for APR; including support
20 for XML, LDAP, database interfaces, URI parsing and more.
23 Group: Development/Libraries
24 Summary: APR utility library development kit
25 Requires: apr-util = %{version}-%{release}, apr-devel
26 Requires: db4-devel, expat-devel
29 This package provides the support files which can be used to
30 build applications using the APR utility library. The mission
31 of the Apache Portable Runtime (APR) is to provide a free
32 library of C data structures and routines.
35 Group: Development/Libraries
36 Summary: APR utility library DBM driver
37 BuildRequires: db4-devel
38 Requires: apr-util = %{version}-%{release}
41 This package provides the DBM driver for the apr-util.
44 Group: Development/Libraries
45 Summary: APR utility library PostgreSQL DBD driver
46 BuildRequires: postgresql-devel
47 Requires: apr-util = %{version}-%{release}
50 This package provides the PostgreSQL driver for the apr-util
51 DBD (database abstraction) interface.
54 Group: Development/Libraries
55 Summary: APR utility library MySQL DBD driver
56 BuildRequires: mysql-devel
57 Requires: apr-util = %{version}-%{release}
60 This package provides the MySQL driver for the apr-util DBD
61 (database abstraction) interface.
64 Group: Development/Libraries
65 Summary: APR utility library SQLite DBD driver
66 BuildRequires: sqlite-devel >= 3.0.0
67 Requires: apr-util = %{version}-%{release}
70 This package provides the SQLite driver for the apr-util DBD
71 (database abstraction) interface.
74 Group: Development/Libraries
75 Summary: APR utility library FreeTDS DBD driver
76 BuildRequires: freetds-devel
77 Requires: apr-util = %{version}-%{release}
80 This package provides the FreeTDS driver for the apr-util DBD
81 (database abstraction) interface.
84 Group: Development/Libraries
85 Summary: APR utility library ODBC DBD driver
86 BuildRequires: unixODBC-devel
87 Requires: apr-util = %{version}-%{release}
90 This package provides the ODBC driver for the apr-util DBD
91 (database abstraction) interface.
94 Group: Development/Libraries
95 Summary: APR utility library LDAP support
96 BuildRequires: openldap-devel
97 Requires: apr-util = %{version}-%{release}
100 This package provides the LDAP support for the apr-util.
103 Group: Development/Libraries
104 Summary: APR utility library OpenSSL crypto support
105 BuildRequires: openssl-devel
106 Requires: apr-util = %{version}-%{release}
109 This package provides crypto support for apr-util based on OpenSSL.
112 Group: Development/Libraries
113 Summary: APR utility library NSS crypto support
114 BuildRequires: nss-devel
115 Requires: apr-util = %{version}-%{release}
118 This package provides crypto support for apr-util based on Mozilla NSS.
124 %configure --with-apr=%{_prefix} \
125 --includedir=%{_includedir}/apr-%{apuver} \
126 --with-ldap --without-gdbm \
127 --with-sqlite3 --with-pgsql --with-mysql --with-freetds --with-odbc \
129 --with-crypto --with-openssl --with-nss \
131 make %{?_smp_mflags} && make dox
134 # Run non-interactive tests
136 make %{?_smp_mflags} all CFLAGS=-fno-strict-aliasing
141 rm -rf $RPM_BUILD_ROOT
142 make install DESTDIR=$RPM_BUILD_ROOT
145 mv docs/dox/html html
148 rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp
151 rm -rf $RPM_BUILD_ROOT
153 %post -p /sbin/ldconfig
155 %postun -p /sbin/ldconfig
158 %defattr(-,root,root,-)
159 %doc CHANGES LICENSE NOTICE
160 %{_libdir}/libaprutil-%{apuver}.so.*
161 %dir %{_libdir}/apr-util-%{apuver}
164 %defattr(-,root,root,-)
165 %{_libdir}/apr-util-%{apuver}/apr_dbm_db*
168 %defattr(-,root,root,-)
169 %{_libdir}/apr-util-%{apuver}/apr_dbd_pgsql*
172 %defattr(-,root,root,-)
173 %{_libdir}/apr-util-%{apuver}/apr_dbd_mysql*
176 %defattr(-,root,root,-)
177 %{_libdir}/apr-util-%{apuver}/apr_dbd_sqlite*
180 %defattr(-,root,root,-)
181 %{_libdir}/apr-util-%{apuver}/apr_dbd_freetds*
184 %defattr(-,root,root,-)
185 %{_libdir}/apr-util-%{apuver}/apr_dbd_odbc*
188 %defattr(-,root,root,-)
189 %{_libdir}/apr-util-%{apuver}/apr_ldap*
192 %defattr(-,root,root,-)
193 %{_libdir}/apr-util-%{apuver}/apr_crypto_openssl*
196 %defattr(-,root,root,-)
197 %{_libdir}/apr-util-%{apuver}/apr_crypto_nss*
200 %defattr(-,root,root,-)
201 %{_bindir}/apu-%{apuver}-config
202 %{_libdir}/libaprutil-%{apuver}.*a
203 %{_libdir}/libaprutil-%{apuver}.so
204 %{_libdir}/pkgconfig/apr-util-%{apuver}.pc
205 %{_includedir}/apr-%{apuver}/*.h
209 * Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
210 - update to support v1.0.0 of APR
212 * Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
213 - derived from Fedora Core apr.spec