]> git.pld-linux.org Git - packages/apr-compat.git/blame - apr-compat.spec
- initial pld release
[packages/apr-compat.git] / apr-compat.spec
CommitLineData
aa043b3e
AM
1Summary: Apache Portable Runtime
2Name: apr
3Version: 0.9.3
4Release: 1
5Epoch: 1
6License: GPL
7Group: Libraries
8Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.gz
9# Source0-md5: 03b243de20ffcf4f30565bc4771489a6
10URL: http://apr.apache.org/
11BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13%define _includedir /usr/include/apr
14%define _datadir /usr/share/apr
15
16%description
17The mission of the Apache Portable Runtime (APR) project is to create
18and maintain software libraries that provide a predictable and
19consistent interface to underlying platform-specific implementations.
20The primary goal is to provide an API to which software developers may
21code and be assured of predictable if not identical behaviour
22regardless of the platform on which their software is built, relieving
23them of the need to code special-case conditions to work around or
24take advantage of platform-specific deficiencies or features.
25
26%package devel
27Summary: Header files and develpment documentation for apr
28Group: Development/Libraries
29Requires: %{name} = %{epoch}:%{version}
30Requires: libtool
31
32%description devel
33Libpcap provides a portable framework for low-level network
34monitoring. Libpcap can provide network statistics collection,
35security monitoring and network debugging. Since almost every system
36vendor provides a different interface for packet capture, the apr
37authors created this system-independent API to ease in porting and to
38alleviate the need for several system-dependent packet capture modules
39in each application.
40
41Install apr if you need to do low-level network traffic monitoring on
42your network.
43
44%package static
45Summary: Static apr library
46Group: Development/Libraries
47Requires: %{name}-devel = %{epoch}:%{version}
48
49%description static
50Static apr library.
51
52%prep
53%setup -q
54
55%build
56%configure \
57 --enable-threads
58%{__make}
59
60%install
61rm -rf $RPM_BUILD_ROOT
62
63%{__make} install \
64 DESTDIR=$RPM_BUILD_ROOT
65
66ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_datadir}/libtool
67
68%post -p /sbin/ldconfig
69%postun -p /sbin/ldconfig
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%files
75%defattr(644,root,root,755)
76%doc CHANGES STATUS docs/*.html
77%attr(755,root,root) %{_libdir}/lib*.so.*.*
78
79%files devel
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/*
82%attr(755,root,root) %{_libdir}/lib*.so
83%{_libdir}/lib*.la
84%{_libdir}/apr.exp
85%{_includedir}
86%dir %{_datadir}
87%dir %{_datadir}/build
88%{_datadir}/build/*.mk
89%attr(755,root,root) %{_datadir}/build/libtool
90
91%files static
92%defattr(644,root,root,755)
93%{_libdir}/lib*.a
This page took 0.068215 seconds and 4 git commands to generate.