]> git.pld-linux.org Git - packages/apr-compat.git/commitdiff
- initial pld release
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 13 Sep 2003 11:42:25 +0000 (11:42 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apr-compat.spec -> 1.1

apr-compat.spec [new file with mode: 0644]

diff --git a/apr-compat.spec b/apr-compat.spec
new file mode 100644 (file)
index 0000000..13fcdc6
--- /dev/null
@@ -0,0 +1,93 @@
+Summary:       Apache Portable Runtime
+Name:          apr
+Version:       0.9.3
+Release:       1
+Epoch:         1
+License:       GPL
+Group:         Libraries
+Source0:       http://www.apache.org/dist/apr/%{name}-%{version}.tar.gz
+# Source0-md5: 03b243de20ffcf4f30565bc4771489a6
+URL:           http://apr.apache.org/
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _includedir     /usr/include/apr
+%define                _datadir        /usr/share/apr
+
+%description
+The mission of the Apache Portable Runtime (APR) project is to create
+and maintain software libraries that provide a predictable and
+consistent interface to underlying platform-specific implementations.
+The primary goal is to provide an API to which software developers may
+code and be assured of predictable if not identical behaviour
+regardless of the platform on which their software is built, relieving
+them of the need to code special-case conditions to work around or
+take advantage of platform-specific deficiencies or features.
+
+%package devel
+Summary:       Header files and develpment documentation for apr
+Group:         Development/Libraries
+Requires:      %{name} = %{epoch}:%{version}
+Requires:      libtool
+
+%description devel
+Libpcap provides a portable framework for low-level network
+monitoring. Libpcap can provide network statistics collection,
+security monitoring and network debugging. Since almost every system
+vendor provides a different interface for packet capture, the apr
+authors created this system-independent API to ease in porting and to
+alleviate the need for several system-dependent packet capture modules
+in each application.
+
+Install apr if you need to do low-level network traffic monitoring on
+your network.
+
+%package static
+Summary:       Static apr library
+Group:         Development/Libraries
+Requires:      %{name}-devel = %{epoch}:%{version}
+
+%description static
+Static apr library.
+
+%prep
+%setup  -q
+
+%build
+%configure \
+       --enable-threads
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_datadir}/libtool
+
+%post   -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGES STATUS docs/*.html
+%attr(755,root,root) %{_libdir}/lib*.so.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/*
+%attr(755,root,root) %{_libdir}/lib*.so
+%{_libdir}/lib*.la
+%{_libdir}/apr.exp
+%{_includedir}
+%dir %{_datadir}
+%dir %{_datadir}/build
+%{_datadir}/build/*.mk
+%attr(755,root,root) %{_datadir}/build/libtool
+
+%files static
+%defattr(644,root,root,755)
+%{_libdir}/lib*.a
This page took 0.109157 seconds and 4 git commands to generate.