upload http
[bottlenecks.git] / rubbos / app / httpd-2.0.64 / srclib / apr-util / build / rpm / apr-util.spec.in
1
2 %define apuver 0
3
4 Summary: Apache Portable Runtime Utility library
5 Name: apr-util
6 Version: APU_VERSION
7 Release: APU_RELEASE
8 License: Apache Software License
9 Group: System Environment/Libraries
10 URL: http://apr.apache.org/
11 Source0: %{name}-%{version}.tar.gz
12 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
13 BuildPrereq: autoconf, libtool, doxygen, apr-devel >= 0:{version}-{release}
14 BuildPrereq: openldap-devel, db4-devel, expat-devel
15 Conflicts: subversion < 0.20.1-2
16
17 %description
18 The mission of the Apache Portable Runtime (APR) is to provide a
19 free library of C data structures and routines.  This library
20 contains additional utility interfaces for APR; including support
21 for XML, LDAP, database interfaces, URI parsing and more.
22
23 %package devel
24 Group: Development/Libraries
25 Summary: APR utility library development kit
26 Requires: apr-util = %{version}-%{release}, apr-devel
27 Requires: openldap-devel, db4-devel, expat-devel
28 Conflicts: subversion-devel < 0.20.1-2
29
30 %description devel
31 This package provides the support files which can be used to 
32 build applications using the APR utility library.  The mission 
33 of the Apache Portable Runtime (APR) is to provide a free 
34 library of C data structures and routines.
35
36 %prep
37 %setup -q
38
39 %build
40 %configure --with-apr=%{_prefix} \
41         --includedir=%{_includedir}/apr-%{apuver} \
42         --with-ldap --without-gdbm
43 make %{?_smp_mflags} && make dox
44
45 %check
46 # Run non-interactive tests
47 pushd test
48 #make %{?_smp_mflags} testall CFLAGS=-fno-strict-aliasing
49 #./testall -v || exit 1
50 popd
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54 make install DESTDIR=$RPM_BUILD_ROOT
55
56 # Documentation
57 mv docs/dox/html html
58
59 # Unpackaged files
60 rm -f $RPM_BUILD_ROOT%{_libdir}/aprutil.exp
61
62 %clean
63 rm -rf $RPM_BUILD_ROOT
64
65 %post -p /sbin/ldconfig
66
67 %postun -p /sbin/ldconfig
68
69 %files
70 %defattr(-,root,root,-)
71 %doc CHANGES LICENSE NOTICE
72 %{_libdir}/libaprutil-%{apuver}.so.*
73
74 %files devel
75 %defattr(-,root,root,-)
76 #%{_bindir}/apu-%{apuver}-config
77 %{_bindir}/apu-config
78 %{_libdir}/libaprutil-%{apuver}.*a
79 %{_libdir}/libaprutil-%{apuver}.so
80 #%{_libdir}/pkgconfig/apr-util-%{apuver}.pc
81 %{_includedir}/apr-%{apuver}/*.h
82 %doc --parents html
83
84 %changelog
85 * Tue Dec 14 2004 Graham Leggett <minfrin@sharp.fm> 0.9.6-1
86 - backport to support v0.9.6 of APR
87
88 * Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
89 - update to support v1.0.0 of APR
90
91 * Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
92 - derived from Fedora Core apr.spec
93