4 Summary: Apache Portable Runtime library
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
16 The mission of the Apache Portable Runtime (APR) is to provide a
17 free library of C data structures and routines, forming a system
18 portability layer to as many operating systems as possible,
19 including Unices, MS Win32, BeOS and OS/2.
22 Group: Development/Libraries
23 Summary: APR library development kit
24 Requires: apr = %{version}
27 This package provides the support files which can be used to
28 build applications using the APR library. The mission of the
29 Apache Portable Runtime (APR) is to provide a free library of
30 C data structures and routines.
36 # regenerate configure script etc.
40 --includedir=%{_includedir}/apr-%{aprver} \
41 --with-installbuilddir=%{_libdir}/apr/build-%{aprver} \
42 --with-devrandom=/dev/urandom \
44 make %{?_smp_mflags} && make dox
47 # Run non-interactive tests
49 make %{?_smp_mflags} testall CFLAGS=-fno-strict-aliasing
50 #./testall -v || exit 1
54 rm -rf $RPM_BUILD_ROOT
55 make install DESTDIR=$RPM_BUILD_ROOT
57 # Move docs to more convenient location
60 # Copy helper files for apr-util
61 #mkdir $RPM_BUILD_ROOT%{_libdir}/apr/build-%{aprver}
62 cp build/apr_common.m4 build/find_apr.m4 build/install.sh \
63 build/config.guess build/config.sub \
64 $RPM_BUILD_ROOT%{_libdir}/apr/build-%{aprver}
67 rm -f $RPM_BUILD_ROOT%{_libdir}/apr.exp
70 rm -rf $RPM_BUILD_ROOT
72 %post -p /sbin/ldconfig
74 %postun -p /sbin/ldconfig
77 %defattr(-,root,root,-)
78 %doc CHANGES LICENSE NOTICE
79 %{_libdir}/libapr-%{aprver}.so.*
82 %defattr(-,root,root,-)
83 %doc docs/APRDesign.html docs/canonical_filenames.html
84 %doc docs/incomplete_types docs/non_apr_programs
87 %{_libdir}/libapr-%{aprver}.*a
88 %{_libdir}/libapr-%{aprver}.so
90 %dir %{_libdir}/apr/build-%{aprver}
91 %{_libdir}/apr/build-%{aprver}/*
92 #%{_libdir}/pkgconfig/apr-%{aprver}.pc
93 %dir %{_includedir}/apr-%{aprver}
94 %{_includedir}/apr-%{aprver}/*.h
97 * Mon Dec 13 2004 Graham Leggett <minfrin@sharp.fm> 0.9.6-1
98 - backport to support v0.9.6 of APR
100 * Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
101 - update to support v1.0.0 of APR
103 * Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
104 - derived from Fedora Core apr.spec