1 Summary: Apache Portable Runtime
8 Source0: http://www.apache.org/dist/apr/%{name}-%{version}.tar.gz
9 # Source0-md5: 03b243de20ffcf4f30565bc4771489a6
10 URL: http://apr.apache.org/
11 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
13 %define _includedir /usr/include/apr
14 %define _datadir /usr/share/apr
17 The mission of the Apache Portable Runtime (APR) project is to create
18 and maintain software libraries that provide a predictable and
19 consistent interface to underlying platform-specific implementations.
20 The primary goal is to provide an API to which software developers may
21 code and be assured of predictable if not identical behaviour
22 regardless of the platform on which their software is built, relieving
23 them of the need to code special-case conditions to work around or
24 take advantage of platform-specific deficiencies or features.
27 Summary: Header files and develpment documentation for apr
28 Group: Development/Libraries
29 Requires: %{name} = %{epoch}:%{version}
33 Libpcap provides a portable framework for low-level network
34 monitoring. Libpcap can provide network statistics collection,
35 security monitoring and network debugging. Since almost every system
36 vendor provides a different interface for packet capture, the apr
37 authors created this system-independent API to ease in porting and to
38 alleviate the need for several system-dependent packet capture modules
41 Install apr if you need to do low-level network traffic monitoring on
45 Summary: Static apr library
46 Group: Development/Libraries
47 Requires: %{name}-devel = %{epoch}:%{version}
61 rm -rf $RPM_BUILD_ROOT
64 DESTDIR=$RPM_BUILD_ROOT
66 ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_datadir}/libtool
68 %post -p /sbin/ldconfig
69 %postun -p /sbin/ldconfig
72 rm -rf $RPM_BUILD_ROOT
75 %defattr(644,root,root,755)
76 %doc CHANGES STATUS docs/*.html
77 %attr(755,root,root) %{_libdir}/lib*.so.*.*
80 %defattr(644,root,root,755)
81 %attr(755,root,root) %{_bindir}/*
82 %attr(755,root,root) %{_libdir}/lib*.so
87 %dir %{_datadir}/build
88 %{_datadir}/build/*.mk
89 %attr(755,root,root) %{_datadir}/build/libtool
92 %defattr(644,root,root,755)