Initial packaging of apr-1.5.0.
[profile/ivi/apr.git] / packaging / apr.spec
1 Name:           apr
2 Version:        1.5.0
3 Release:        0
4 Summary:        Apache Portable Runtime
5 License:        Apache-2.0
6 Group:          Application Framework/Libraries
7 URL:            http://apr.apache.org/
8 Source:         %name-%version.tar.xz
9 Source1001:     apr.manifest
10 BuildRequires:  autoconf >= 2.64, automake >= 1.11
11 BuildRequires:  libtool >= 2.2
12
13 %description
14 Software libraries that provide a predictable and consistent interface
15 to underlying platform-specific implementations. The primary goal is
16 to provide an API to which software developers may code and be assured
17 of predictable if not identical behaviour regardless of the platform
18 on which their software is built, relieving them of the need to code
19 special-case conditions to work around or take advantage of
20 platform-specific deficiencies or features.
21
22 %package devel
23 Summary:        Development files for the Apache Portable Runtime
24 Group:          Application Framework/Libraries
25 Requires:       %name = %version
26
27 %description devel
28 Development files, including headers, for the APR library.
29
30 %prep
31 %setup -q
32 cp %{SOURCE1001} .
33
34 %build
35 autoreconf
36 %configure --disable-static
37 make %{?_smp_mflags}
38
39 %install
40 %make_install
41
42 %post -p /sbin/ldconfig
43 %postun -p /sbin/ldconfig
44
45 %files
46 %manifest %{name}.manifest
47 %license LICENSE
48 %defattr(-,root,root)
49 %{_libdir}/*.so.*
50
51 %files devel
52 %manifest %{name}.manifest
53 %defattr(-,root,root)
54 %{_bindir}/apr-1-config
55 %{_includedir}/*.h
56 %{_libdir}/apr.exp
57 %{_libdir}/*.so
58 %{_libdir}/pkgconfig/*.pc
59 %{_datadir}/build-1/*