]> git.pld-linux.org Git - packages/apr-util.git/blame - apr-util.spec
- specify full paths to get apu-config --ldflags working properly
[packages/apr-util.git] / apr-util.spec
CommitLineData
72a05a99
AM
1Summary: A companion library to Apache Portable Runtime
2Name: apr-util
3Version: 0.9.3
4Release: 1
5Epoch: 1
6License: Apache
7Group: Libraries
8Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.gz
9# Source0-md5: 5dbe535cf7c07677e41ef2bf4759fecf
10URL: http://apr.apache.org/
11BuildRequires: apr-devel >= 1:0.9.3
12BuildRequires: openldap-devel
13BuildRequires: expat-devel
14BuildRequires: db-devel
15BuildRequires: gdbm-devel
16BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18%define _includedir /usr/include/apr-util
19
20%description
21A companion library to Apache Portable Runtime.
22
23%package devel
24Summary: Header files and develpment documentation for apr-util
25Group: Development/Libraries
26Requires: %{name} = %{epoch}:%{version}
27
28%description devel
29Header files and develpment documentation for apr-util.
30
31%package static
32Summary: Static apr-util library
33Group: Development/Libraries
34Requires: %{name}-devel = %{epoch}:%{version}
35
36%description static
37Static apr-util library.
38
39%prep
40%setup -q
41
42%build
43%configure \
44 --with-apr=%{_bindir}/apr-config \
429c522f
AM
45 --with-ldap-include=%{_includedir} \
46 --with-ldap-lib=%{_libdir} \
47 --with-iconv=%{_prefix}
72a05a99
AM
48%{__make}
49
50%install
51rm -rf $RPM_BUILD_ROOT
52
53%{__make} install \
54 DESTDIR=$RPM_BUILD_ROOT
55
56%post -p /sbin/ldconfig
57%postun -p /sbin/ldconfig
58
59%clean
60rm -rf $RPM_BUILD_ROOT
61
62%files
63%defattr(644,root,root,755)
64%doc CHANGES STATUS
65%attr(755,root,root) %{_libdir}/lib*.so.*.*
66
67%files devel
68%defattr(644,root,root,755)
69%attr(755,root,root) %{_bindir}/*
70%attr(755,root,root) %{_libdir}/lib*.so
71%{_libdir}/lib*.la
72%{_libdir}/aprutil.exp
73%{_includedir}
74
75%files static
76%defattr(644,root,root,755)
77%{_libdir}/lib*.a
This page took 0.059414 seconds and 4 git commands to generate.