]> git.pld-linux.org Git - packages/dropwatch.git/blob - dropwatch.spec
binutils 2.42 rebuild
[packages/dropwatch.git] / dropwatch.spec
1 Summary:        Kernel dropped packet monitor
2 Summary(pl.UTF-8):      Monitor pakietów odrzuconych przez jądro
3 Name:           dropwatch
4 Version:        1.5.3
5 Release:        10
6 License:        GPL v2+
7 Group:          Applications/System
8 Source0:        https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz
9 # Source0-md5:  64527bb669393e45b9b21f0b91c574c0
10 Patch0:         %{name}-no_werror.patch
11 URL:            https://github.com/nhorman/dropwatch
12 BuildRequires:  autoconf >= 2.50
13 BuildRequires:  automake
14 BuildRequires:  binutils-devel
15 BuildRequires:  libnl-devel >= 3.2
16 BuildRequires:  libpcap-devel
17 BuildRequires:  libtool
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
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
31 %prep
32 %setup -q
33 %patch0 -p1
34
35 %build
36 %{__libtoolize}
37 %{__aclocal} -I m4
38 %{__autoconf}
39 %{__autoheader}
40 %{__automake}
41 %configure
42
43 %{__make}
44
45 %install
46 rm -rf $RPM_BUILD_ROOT
47
48 %{__make} install \
49         DESTDIR=$RPM_BUILD_ROOT
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
53
54 %files
55 %defattr(644,root,root,755)
56 %doc README.md
57 %attr(755,root,root) %{_bindir}/dropwatch
58 %attr(755,root,root) %{_bindir}/dwdump
59 %{_mandir}/man1/dropwatch.1*
This page took 0.135061 seconds and 4 git commands to generate.