~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to srclib/apr-util/build/rpm/apr-util.spec.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
%define apuver 1
 
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
%{_libdir}/libaprutil-%{apuver}.*a
 
78
%{_libdir}/libaprutil-%{apuver}.so
 
79
%{_libdir}/pkgconfig/apr-util-%{apuver}.pc
 
80
%{_includedir}/apr-%{apuver}/*.h
 
81
%doc --parents html
 
82
 
 
83
%changelog
 
84
* Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
 
85
- update to support v1.0.0 of APR
 
86
                                                                                
 
87
* Tue Jun 22 2004 Graham Leggett <minfrin@sharp.fm> 1.0.0-1
 
88
- derived from Fedora Core apr.spec
 
89