cvsdist f3c349
cvsdist d4faa3
%define apuver 0
cvsdist d4faa3
cvsdist f3c349
Summary: Apache Portable Runtime Utility library
cvsdist f3c349
Name: apr-util
jorton 64cb6e
Version: 0.9.5
jorton 7d1ada
Release: 3
cvsdist f3c349
License: Apache Software License
cvsdist f3c349
Group: System Environment/Libraries
cvsdist f3c349
URL: http://apr.apache.org/
cvsdist f3c349
Source0: %{name}-%{version}.tar.gz
cvsdist f3c349
Patch0: apr-util-0.9.3-deplibs.patch
jorton 7d1ada
Patch1: apr-util-0.9.5-db43.patch
cvsdist f3c349
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
cvsdist f3c349
BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 0:0.9.4-1
cvsdist d4faa3
BuildPrereq: openldap-devel, db4-devel, expat-devel
cvsdist f3c349
Conflicts: subversion < 0.20.1-2
cvsdist f3c349
cvsdist f3c349
%description
cvsdist f3c349
The mission of the Apache Portable Runtime (APR) is to provide a
cvsdist f3c349
free library of C data structures and routines.  This library
cvsdist f3c349
contains additional utility interfaces for APR; including support
cvsdist f3c349
for XML, LDAP, database interfaces, URI parsing and more.
cvsdist f3c349
cvsdist f3c349
%package devel
cvsdist f3c349
Group: Development/Libraries
cvsdist f3c349
Summary: APR utility library development kit
cvsdist 63b89d
Requires: apr-util = %{version}-%{release}, apr-devel
cvsdist d4faa3
Requires: openldap-devel, db4-devel, expat-devel
cvsdist f3c349
Conflicts: subversion-devel < 0.20.1-2
cvsdist f3c349
cvsdist f3c349
%description devel
cvsdist f3c349
This package provides the support files which can be used to 
cvsdist f3c349
build applications using the APR utility library.  The mission 
cvsdist f3c349
of the Apache Portable Runtime (APR) is to provide a free 
cvsdist f3c349
library of C data structures and routines.
cvsdist f3c349
cvsdist f3c349
%prep
cvsdist f3c349
%setup -q
cvsdist f3c349
%patch0 -p1 -b .deplibs
jorton 7d1ada
%patch1 -p1 -b .db43
cvsdist f3c349
cvsdist f3c349
%build
cvsdist f3c349
autoheader && autoconf
cvsdist f3c349
%configure --with-apr=%{_prefix} \
cvsdist f3c349
        --includedir=%{_includedir}/apr-%{apuver} \
cvsdist d4faa3
        --with-ldap --without-gdbm
cvsdist f3c349
make %{?_smp_mflags} && make dox
cvsdist f3c349
cvsdist f3c349
%install
cvsdist f3c349
rm -rf $RPM_BUILD_ROOT
cvsdist f3c349
make install DESTDIR=$RPM_BUILD_ROOT
cvsdist f3c349
cvsdist f3c349
# Documentation
cvsdist f3c349
mv docs/dox/html html
cvsdist f3c349
cvsdist f3c349
# Unpackaged files
cvsdist f3c349
rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp
cvsdist f3c349
cvsdist 9a316f
%check
cvsdist 9a316f
# Run the less verbose tests
jorton 64cb6e
%define tests testmd5 testrmm teststrmatch testuri
cvsdist 9a316f
cd test; make %{?_smp_mflags} %{tests} testdbm
cvsdist 9a316f
for t in %{tests}; do ./${t} || exit 1; done
cvsdist 9a316f
./testdbm auto tsdbm
cvsdist 9a316f
./testdbm -tDB auto tbdb.db
cvsdist 9a316f
cvsdist f3c349
%clean
cvsdist f3c349
rm -rf $RPM_BUILD_ROOT
cvsdist f3c349
cvsdist f3c349
%post -p /sbin/ldconfig
cvsdist f3c349
cvsdist f3c349
%postun -p /sbin/ldconfig
cvsdist f3c349
cvsdist f3c349
%files
cvsdist f3c349
%defattr(-,root,root,-)
jorton 64cb6e
%doc CHANGES LICENSE NOTICE
cvsdist f3c349
%{_libdir}/libaprutil-%{apuver}.so.*
cvsdist f3c349
cvsdist f3c349
%files devel
cvsdist f3c349
%defattr(-,root,root,-)
cvsdist f3c349
%{_bindir}/apu-config
cvsdist f3c349
%{_libdir}/libaprutil-%{apuver}.*a
cvsdist f3c349
%{_libdir}/libaprutil-%{apuver}.so
cvsdist f3c349
%{_includedir}/apr-%{apuver}/*.h
cvsdist f3c349
%doc --parents html
cvsdist f3c349
cvsdist f3c349
%changelog
jorton 7d1ada
* Wed Jan 19 2005 Joe Orton <jorton@redhat.com> 0.9.5-3
jorton 7d1ada
- restore db-4.3 detection lost in 0.9.5 upgrade
jorton 7d1ada
jorton 164a3a
* Wed Jan 19 2005 Joe Orton <jorton@redhat.com> 0.9.5-2
jorton 164a3a
- rebuild
jorton 164a3a
jorton 64cb6e
* Mon Nov 22 2004 Joe Orton <jorton@redhat.com> 0.9.5-1
jorton 64cb6e
- update to 0.9.5
jorton 64cb6e
jbj 9a4e45
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 0.9.4-19
jbj 9a4e45
- actually explicitly check for and detect db-4.3.
jbj 9a4e45
jbj a95c23
* Thu Nov 11 2004 Jeff Johnson <jbj@jbj.org> 0.9.4-18
jbj a95c23
- rebuild against db-4.3.21.
jbj a95c23
jorton ac38d2
* Fri Sep 17 2004 Joe Orton <jorton@redhat.com> 0.9.4-17
jorton ac38d2
- add security fix for CAN-2004-0786
jorton ac38d2
cvsdist 63b89d
* Sat Jun 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-16
cvsdist 63b89d
- have -devel require matching release of apr-util
cvsdist 63b89d
cvsdist 95acfd
* Tue Jun 15 2004 Elliot Lee <sopwith@redhat.com>
cvsdist 95acfd
- rebuilt
cvsdist 95acfd
cvsdist f9340e
* Thu Apr  1 2004 Joe Orton <jorton@redhat.com> 0.9.4-14
cvsdist f9340e
- fix use of SHA1 passwords (#119651)
cvsdist f9340e
cvsdist f9340e
* Tue Mar 30 2004 Joe Orton <jorton@redhat.com> 0.9.4-13
cvsdist f9340e
- remove fundamentally broken check_sbcs() from xlate code
cvsdist f9340e
cvsdist f9340e
* Fri Mar 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-12
cvsdist f9340e
- tweak xlate fix
cvsdist f9340e
cvsdist f9340e
* Fri Mar 19 2004 Joe Orton <jorton@redhat.com> 0.9.4-11
cvsdist f9340e
- rebuild with xlate fixes and tests enabled
cvsdist f9340e
cvsdist f9340e
* Tue Mar 02 2004 Elliot Lee <sopwith@redhat.com> 0.9.4-10.1
cvsdist 9a316f
- rebuilt
cvsdist 9a316f
cvsdist 9a316f
* Tue Mar  2 2004 Joe Orton <jorton@redhat.com> 0.9.4-10
cvsdist 9a316f
- rename sdbm_* symbols to apu__sdbm_*
cvsdist 9a316f
cvsdist 9a316f
* Mon Feb 16 2004 Joe Orton <jorton@redhat.com> 0.9.4-9
cvsdist 9a316f
- fix sdbm apr_dbm_exists() on s390x/ppc64
cvsdist 9a316f
cvsdist 9a316f
* Fri Feb 13 2004 Elliot Lee <sopwith@redhat.com> 0.9.4-8
cvsdist 9a316f
- rebuilt
cvsdist 9a316f
cvsdist 9a316f
* Thu Feb  5 2004 Joe Orton <jorton@redhat.com> 0.9.4-7
cvsdist 9a316f
- fix warnings from use of apr_optional*.h with gcc 3.4
cvsdist 9a316f
cvsdist d4faa3
* Thu Jan 29 2004 Joe Orton <jorton@redhat.com> 0.9.4-6
cvsdist d4faa3
- drop gdbm support
cvsdist d4faa3
cvsdist d4faa3
* Thu Jan  8 2004 Joe Orton <jorton@redhat.com> 0.9.4-5
cvsdist d4faa3
- fix DB library detection
cvsdist d4faa3
cvsdist d4faa3
* Sat Dec 13 2003 Jeff Johnson <jbj@jbj.org> 0.9.4-4
cvsdist d4faa3
- rebuild against db-4.2.52.
cvsdist d4faa3
cvsdist d4faa3
* Mon Oct 13 2003 Jeff Johnson <jbj@jbj.org> 0.9.4-3
cvsdist d4faa3
- rebuild against db-4.2.42.
cvsdist d4faa3
cvsdist f3c349
* Mon Oct  6 2003 Joe Orton <jorton@redhat.com> 0.9.4-2
cvsdist f3c349
- fix 'apu-config --apu-la-file' output
cvsdist f3c349
cvsdist f3c349
* Mon Oct  6 2003 Joe Orton <jorton@redhat.com> 0.9.4-1
cvsdist f3c349
- update to 0.9.4.
cvsdist f3c349
cvsdist f3c349
* Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.3-10
cvsdist f3c349
- rebuild
cvsdist f3c349
cvsdist f3c349
* Mon Jul  7 2003 Joe Orton <jorton@redhat.com> 0.9.3-9
cvsdist f3c349
- rebuild
cvsdist f3c349
- don't run testuuid test because of #98677
cvsdist f3c349
cvsdist f3c349
* Thu Jul  3 2003 Joe Orton <jorton@redhat.com> 0.9.3-8
cvsdist f3c349
- rebuild
cvsdist f3c349
cvsdist f3c349
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
cvsdist f3c349
- rebuilt
cvsdist f3c349
cvsdist f3c349
* Tue May 20 2003 Joe Orton <jorton@redhat.com> 0.9.3-6
cvsdist f3c349
- fix to detect crypt_r correctly (CAN-2003-0195)
cvsdist f3c349
cvsdist f3c349
* Thu May 15 2003 Joe Orton <jorton@redhat.com> 0.9.3-5
cvsdist f3c349
- fix to try linking against -ldb first (#90917)
cvsdist f3c349
- depend on openldap, gdbm, db4, expat appropriately.
cvsdist f3c349
cvsdist f3c349
* Tue May 13 2003 Joe Orton <jorton@redhat.com> 0.9.3-4
cvsdist f3c349
- rebuild
cvsdist f3c349
cvsdist f3c349
* Wed May  7 2003 Joe Orton <jorton@redhat.com> 0.9.3-3
cvsdist f3c349
- make devel package conflict with old subversion-devel
cvsdist f3c349
- run the less crufty parts of the test suite
cvsdist f3c349
cvsdist f3c349
* Tue Apr 29 2003 Joe Orton <jorton@redhat.com> 0.9.3-2
cvsdist f3c349
- run ldconfig in post/postun
cvsdist f3c349
cvsdist f3c349
* Mon Apr 28 2003 Joe Orton <jorton@redhat.com> 0.9.3-1
cvsdist f3c349
- initial build