]>
Commit | Line | Data |
---|---|---|
a4964fd5 | 1 | Summary: Kernel dropped packet monitor |
cd02b9fb | 2 | Summary(pl.UTF-8): Monitor pakietów odrzuconych przez jądro |
a4964fd5 | 3 | Name: dropwatch |
5a19907b | 4 | Version: 1.5.3 |
3848e5dc | 5 | Release: 2 |
5258d031 ER |
6 | License: GPL v2+ |
7 | Group: Applications/System | |
5a19907b JB |
8 | Source0: https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz |
9 | # Source0-md5: 64527bb669393e45b9b21f0b91c574c0 | |
10 | URL: https://github.com/nhorman/dropwatch | |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
a4964fd5 | 13 | BuildRequires: binutils-devel |
8e58d10b | 14 | BuildRequires: libnl-devel >= 3.2 |
5a19907b | 15 | BuildRequires: libpcap-devel |
98c50c87 | 16 | BuildRequires: libtool |
a4964fd5 JK |
17 | BuildRequires: linux-libc-headers |
18 | BuildRequires: pkgconfig | |
19 | BuildRequires: readline-devel | |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
21 | ||
22 | %description | |
23 | dropwatch is an utility to interface to the kernel to monitor for | |
24 | dropped network packets. | |
25 | ||
cd02b9fb JB |
26 | %description -l pl.UTF-8 |
27 | dropwatch to narzędzie współpracujące z jądrem w celu monitorowania | |
28 | odrzuconych pakietów sieciowych. | |
29 | ||
a4964fd5 JK |
30 | %prep |
31 | %setup -q | |
5258d031 ER |
32 | |
33 | %build | |
5a19907b JB |
34 | %{__libtoolize} |
35 | %{__aclocal} -I m4 | |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
39 | %configure | |
40 | ||
41 | %{__make} | |
a4964fd5 JK |
42 | |
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
5a19907b JB |
45 | |
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
a4964fd5 JK |
48 | |
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
5a19907b | 54 | %doc README.md |
8e58d10b | 55 | %attr(755,root,root) %{_bindir}/dropwatch |
5a19907b | 56 | %attr(755,root,root) %{_bindir}/dwdump |
8e58d10b | 57 | %{_mandir}/man1/dropwatch.1* |