1 Summary: Kernel dropped packet monitor
5 Source0: https://fedorahosted.org/releases/d/r/dropwatch/%{name}-%{version}.tbz2
6 # Source0-md5: 5145753b3e9255bd9b190251ba4d3bbf
8 Group: Applications/System
9 URL: http://fedorahosted.org/dropwatch
10 BuildRequires: binutils-devel
11 BuildRequires: libnl-devel
12 BuildRequires: linux-libc-headers
13 BuildRequires: pkgconfig
14 BuildRequires: readline-devel
15 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 dropwatch is an utility to interface to the kernel to monitor for
19 dropped network packets.
26 export CFLAGS=$RPM_OPT_FLAGS
30 rm -rf $RPM_BUILD_ROOT
31 install -d $RPM_BUILD_ROOT%{_bindir}
32 install -d $RPM_BUILD_ROOT%{_mandir}/man1
33 install src/dropwatch $RPM_BUILD_ROOT%{_bindir}
34 install doc/dropwatch.1 $RPM_BUILD_ROOT%{_mandir}/man1
37 rm -rf $RPM_BUILD_ROOT
40 %defattr(644,root,root,755)
42 %attr(755,root,root) %{_bindir}/*