apr-util/apr-util.spec
cvsdist f3c349b1ed auto-import changelog data from apr-util-0.9.4-2.src.rpm
Mon Oct 06 2003 Joe Orton <jorton@redhat.com> 0.9.4-2
- fix 'apu-config --apu-la-file' output
Mon Oct 06 2003 Joe Orton <jorton@redhat.com> 0.9.4-1
- update to 0.9.4.
Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.3-10
- rebuild
Mon Jul 07 2003 Joe Orton <jorton@redhat.com> 0.9.3-9
- rebuild
- don't run testuuid test because of #98677
Thu Jul 03 2003 Joe Orton <jorton@redhat.com> 0.9.3-8
- rebuild
Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
Tue May 20 2003 Joe Orton <jorton@redhat.com> 0.9.3-6
- fix to detect crypt_r correctly (CAN-2003-0195)
Thu May 15 2003 Joe Orton <jorton@redhat.com> 0.9.3-5
- fix to try linking against -ldb first (#90917)
- depend on openldap, gdbm, db4, expat appropriately.
Tue May 13 2003 Joe Orton <jorton@redhat.com> 0.9.3-4
- rebuild
Wed May 07 2003 Joe Orton <jorton@redhat.com> 0.9.3-3
- make devel package conflict with old subversion-devel
- run the less crufty parts of the test suite
Tue Apr 29 2003 Joe Orton <jorton@redhat.com> 0.9.3-2
- run ldconfig in post/postun
Mon Apr 28 2003 Joe Orton <jorton@redhat.com> 0.9.3-1
- initial build
2004-09-09 03:02:27 +00:00

124 lines
3.3 KiB
RPMSpec

Summary: Apache Portable Runtime Utility library
Name: apr-util
Version: 0.9.4
Release: 2
License: Apache Software License
Group: System Environment/Libraries
URL: http://apr.apache.org/
Source0: %{name}-%{version}.tar.gz
Patch0: apr-util-0.9.3-deplibs.patch
Patch1: apr-util-0.9.3-config.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 0:0.9.4-1
BuildPrereq: openldap-devel, gdbm-devel, db4-devel, expat-devel
Conflicts: subversion < 0.20.1-2
%description
The mission of the Apache Portable Runtime (APR) is to provide a
free library of C data structures and routines. This library
contains additional utility interfaces for APR; including support
for XML, LDAP, database interfaces, URI parsing and more.
%package devel
Group: Development/Libraries
Summary: APR utility library development kit
Requires: apr-util = %{version}, apr-devel
Requires: openldap-devel, gdbm-devel, db4-devel, expat-devel
Conflicts: subversion-devel < 0.20.1-2
%description devel
This package provides the support files which can be used to
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.
%prep
%setup -q
%patch0 -p1 -b .deplibs
%patch1 -p1 -b .config
%define apuver 0
%build
autoheader && autoconf
%configure --with-apr=%{_prefix} \
--includedir=%{_includedir}/apr-%{apuver} \
--with-ldap
make %{?_smp_mflags} && make dox
# Run the less verbose tests
%define tests testmd5 testrmm teststrmatch testuri
cd test; make %{tests}
for t in %{tests}; do ./${t} || exit 1; done
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
# Documentation
mv docs/dox/html html
# Unpackaged files
rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp
%clean
rm -rf $RPM_BUILD_ROOT
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc CHANGES LICENSE
%{_libdir}/libaprutil-%{apuver}.so.*
%files devel
%defattr(-,root,root,-)
%{_bindir}/apu-config
%{_libdir}/libaprutil-%{apuver}.*a
%{_libdir}/libaprutil-%{apuver}.so
%{_includedir}/apr-%{apuver}/*.h
%doc --parents html
%changelog
* Mon Oct 6 2003 Joe Orton <jorton@redhat.com> 0.9.4-2
- fix 'apu-config --apu-la-file' output
* Mon Oct 6 2003 Joe Orton <jorton@redhat.com> 0.9.4-1
- update to 0.9.4.
* Tue Jul 22 2003 Nalin Dahyabhai <nalin@redhat.com> 0.9.3-10
- rebuild
* Mon Jul 7 2003 Joe Orton <jorton@redhat.com> 0.9.3-9
- rebuild
- don't run testuuid test because of #98677
* Thu Jul 3 2003 Joe Orton <jorton@redhat.com> 0.9.3-8
- rebuild
* Wed Jun 04 2003 Elliot Lee <sopwith@redhat.com>
- rebuilt
* Tue May 20 2003 Joe Orton <jorton@redhat.com> 0.9.3-6
- fix to detect crypt_r correctly (CAN-2003-0195)
* Thu May 15 2003 Joe Orton <jorton@redhat.com> 0.9.3-5
- fix to try linking against -ldb first (#90917)
- depend on openldap, gdbm, db4, expat appropriately.
* Tue May 13 2003 Joe Orton <jorton@redhat.com> 0.9.3-4
- rebuild
* Wed May 7 2003 Joe Orton <jorton@redhat.com> 0.9.3-3
- make devel package conflict with old subversion-devel
- run the less crufty parts of the test suite
* Tue Apr 29 2003 Joe Orton <jorton@redhat.com> 0.9.3-2
- run ldconfig in post/postun
* Mon Apr 28 2003 Joe Orton <jorton@redhat.com> 0.9.3-1
- initial build