resetting manifest requested domain to floor
[platform/upstream/libnl1.git] / packaging / libnl1.spec
1 Name:           libnl1
2 Summary:        Convenience library for kernel netlink sockets
3 Group:          System/Network
4 License:        LGPL-2.1
5 Version:        1.1
6 Release:        1
7 Url:            http://people.suug.ch/~tgr/libnl/
8 Source:         http://people.suug.ch/~tgr/libnl/files/libnl-%version.tar.bz2
9 Source99:       baselibs.conf
10 Source1001:     libnl1.manifest
11 BuildRequires:  pkgconfig >= 0.23
12
13 %description
14 This package contains a convenience library to simplify using the Linux
15 kernels netlink sockets interface for network manipulation.
16
17
18 %package devel
19 License:        LGPL-2.1+
20 Summary:        Convenience library for kernel netlink sockets
21 Group:          Development/Libraries
22 Requires:       %name = %version-%release
23 Provides:       libnl-devel = %release-%version
24
25 %description devel
26 This package contains a convenience library to simplify using the Linux
27 kernels netlink sockets interface for network manipulation.
28
29 %prep
30 %setup -q -n libnl-%version
31 cp %{SOURCE1001} .
32
33 %build
34 %configure \
35     --prefix=%_prefix \
36     --libdir=%_libdir \
37     --includedir=%_includedir
38 make %{?_smp_mflags}
39
40 %install
41 %make_install
42 mkdir -p %buildroot/%_libdir/pkgconfig
43
44 %post -p /sbin/ldconfig
45
46 %postun -p /sbin/ldconfig
47
48 %files
49 %manifest %{name}.manifest
50 %defattr(-,root,root)
51 %_libdir/libnl*.so.*
52 %license COPYING 
53
54 %files devel
55 %manifest %{name}.manifest
56 %defattr(-,root,root,0755)
57 %_includedir/netlink/
58 %_libdir/libnl*.so
59 %_libdir/pkgconfig/*.pc
60
61 %changelog