]>
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 |
e34ef892 | 5 | Release: 10 |
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 | |
5cbd1bb6 | 10 | Patch0: %{name}-no_werror.patch |
5a19907b JB |
11 | URL: https://github.com/nhorman/dropwatch |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake | |
a4964fd5 | 14 | BuildRequires: binutils-devel |
8e58d10b | 15 | BuildRequires: libnl-devel >= 3.2 |
5a19907b | 16 | BuildRequires: libpcap-devel |
98c50c87 | 17 | BuildRequires: libtool |
a4964fd5 JK |
18 | BuildRequires: linux-libc-headers |
19 | BuildRequires: pkgconfig | |
20 | BuildRequires: readline-devel | |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
22 | ||
23 | %description | |
24 | dropwatch is an utility to interface to the kernel to monitor for | |
25 | dropped network packets. | |
26 | ||
cd02b9fb JB |
27 | %description -l pl.UTF-8 |
28 | dropwatch to narzędzie współpracujące z jądrem w celu monitorowania | |
29 | odrzuconych pakietów sieciowych. | |
30 | ||
a4964fd5 JK |
31 | %prep |
32 | %setup -q | |
5cbd1bb6 | 33 | %patch0 -p1 |
5258d031 ER |
34 | |
35 | %build | |
5a19907b JB |
36 | %{__libtoolize} |
37 | %{__aclocal} -I m4 | |
38 | %{__autoconf} | |
39 | %{__autoheader} | |
40 | %{__automake} | |
41 | %configure | |
42 | ||
43 | %{__make} | |
a4964fd5 JK |
44 | |
45 | %install | |
46 | rm -rf $RPM_BUILD_ROOT | |
5a19907b JB |
47 | |
48 | %{__make} install \ | |
49 | DESTDIR=$RPM_BUILD_ROOT | |
a4964fd5 JK |
50 | |
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %files | |
55 | %defattr(644,root,root,755) | |
5a19907b | 56 | %doc README.md |
8e58d10b | 57 | %attr(755,root,root) %{_bindir}/dropwatch |
5a19907b | 58 | %attr(755,root,root) %{_bindir}/dwdump |
8e58d10b | 59 | %{_mandir}/man1/dropwatch.1* |