]> git.pld-linux.org Git - packages/dropwatch.git/blame - dropwatch.spec
binutils 2.42 rebuild
[packages/dropwatch.git] / dropwatch.spec
CommitLineData
a4964fd5 1Summary: Kernel dropped packet monitor
cd02b9fb 2Summary(pl.UTF-8): Monitor pakietów odrzuconych przez jądro
a4964fd5 3Name: dropwatch
5a19907b 4Version: 1.5.3
e34ef892 5Release: 10
5258d031
ER
6License: GPL v2+
7Group: Applications/System
5a19907b
JB
8Source0: https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz
9# Source0-md5: 64527bb669393e45b9b21f0b91c574c0
5cbd1bb6 10Patch0: %{name}-no_werror.patch
5a19907b
JB
11URL: https://github.com/nhorman/dropwatch
12BuildRequires: autoconf >= 2.50
13BuildRequires: automake
a4964fd5 14BuildRequires: binutils-devel
8e58d10b 15BuildRequires: libnl-devel >= 3.2
5a19907b 16BuildRequires: libpcap-devel
98c50c87 17BuildRequires: libtool
a4964fd5
JK
18BuildRequires: linux-libc-headers
19BuildRequires: pkgconfig
20BuildRequires: readline-devel
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
24dropwatch is an utility to interface to the kernel to monitor for
25dropped network packets.
26
cd02b9fb
JB
27%description -l pl.UTF-8
28dropwatch to narzędzie współpracujące z jądrem w celu monitorowania
29odrzuconych 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
46rm -rf $RPM_BUILD_ROOT
5a19907b
JB
47
48%{__make} install \
49 DESTDIR=$RPM_BUILD_ROOT
a4964fd5
JK
50
51%clean
52rm -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*
This page took 0.1476 seconds and 4 git commands to generate.