]> git.pld-linux.org Git - packages/apr.git/blame - apr.spec
- proper desc
[packages/apr.git] / apr.spec
CommitLineData
f3bf17ad
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
cb405164 33Header files and develpment documentation for apr.
f3bf17ad
AM
34
35%package static
36Summary: Static apr library
37Group: Development/Libraries
38Requires: %{name}-devel = %{epoch}:%{version}
39
40%description static
41Static apr library.
42
43%prep
44%setup -q
45
46%build
47%configure \
48 --enable-threads
49%{__make}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53
54%{__make} install \
55 DESTDIR=$RPM_BUILD_ROOT
56
57ln -sf %{_bindir}/libtool $RPM_BUILD_ROOT%{_datadir}/libtool
58
59%post -p /sbin/ldconfig
60%postun -p /sbin/ldconfig
61
62%clean
63rm -rf $RPM_BUILD_ROOT
64
65%files
66%defattr(644,root,root,755)
67%doc CHANGES STATUS docs/*.html
68%attr(755,root,root) %{_libdir}/lib*.so.*.*
69
70%files devel
71%defattr(644,root,root,755)
72%attr(755,root,root) %{_bindir}/*
73%attr(755,root,root) %{_libdir}/lib*.so
74%{_libdir}/lib*.la
75%{_libdir}/apr.exp
76%{_includedir}
77%dir %{_datadir}
78%dir %{_datadir}/build
79%{_datadir}/build/*.mk
80%attr(755,root,root) %{_datadir}/build/libtool
81
82%files static
83%defattr(644,root,root,755)
84%{_libdir}/lib*.a
This page took 0.086052 seconds and 4 git commands to generate.