]> git.pld-linux.org Git - packages/libnl1.git/blob - libnl1.spec
- updated to 1.0-pre6, removed obsolete no_root patch and .pc file
[packages/libnl1.git] / libnl1.spec
1 Summary:        Netlink library
2 Summary(pl):    Biblioteka do obs³ugi gniazd netlink
3 Name:           libnl
4 Version:        1.0
5 %define pre pre6
6 Release:        0.%{pre}.1
7 License:        LGPL v2.1
8 Group:          Libraries
9 Source0:        http://people.suug.ch/~tgr/libnl/files/%{name}-%{version}-%{pre}.tar.gz
10 # Source0-md5:  0f57cb7085dc27e054691bff858613c9
11 Patch0:         %{name}-llh.patch
12 URL:            http://people.suug.ch/~tgr/libnl/
13 BuildRequires:  autoconf
14 BuildRequires:  automake
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 libnl is a library for applications dealing with netlink socket. It
19 provides an easy to use interface for raw netlink message but also
20 netlink family specific APIs.
21
22 %description -l pl
23 libnl jest bibliotek± dla aplikacji rozmawiaj±cych z gniazdem
24 netlink. Udostêpnia ³atwy w u¿yciu interfejs do korzystania z
25 surowych wiadomo¶ci netlink, a tak¿e API specyficzne dla rodziny
26 gniazd netlink.
27
28 %package devel
29 Summary:        Header files for libnl library
30 Summary(pl):    Pliki nag³ówkowe biblioteki libnl
31 Group:          Development/Libraries
32 Requires:       %{name} = %{version}-%{release}
33
34 %description devel
35 Header files for libnl library.
36
37 %description devel -l pl
38 Pliki nag³ówkowe biblioteki libnl.
39
40 %package static
41 Summary:        Static libnl library
42 Summary(pl):    Statyczna biblioteka libnl
43 Group:          Development/Libraries
44 Requires:       %{name}-devel = %{version}-%{release}
45
46 %description static
47 Static libnl library.
48
49 %description static -l pl
50 Statyczna biblioteka libnl.
51
52 %prep
53 %setup -q -n %{name}-%{version}-%{pre}
54 %patch0 -p1
55
56 %build
57 %{__aclocal}
58 %{__autoconf}
59
60 %configure \
61         --enable-verbose-errors
62
63 %{__make}
64
65 %install
66 rm -rf $RPM_BUILD_ROOT
67
68 %{__make} install \
69         DESTDIR=$RPM_BUILD_ROOT
70
71 %clean
72 rm -rf $RPM_BUILD_ROOT
73
74 %post   -p /sbin/ldconfig
75 %postun -p /sbin/ldconfig
76
77 %files
78 %defattr(644,root,root,755)
79 %doc ChangeLog
80 %attr(755,root,root) %{_libdir}/libnl.so.*.*
81
82 %files devel
83 %defattr(644,root,root,755)
84 %attr(755,root,root) %{_libdir}/libnl.so
85 %{_includedir}/netlink
86 %{_pkgconfigdir}/libnl-1.pc
This page took 0.107705 seconds and 4 git commands to generate.