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