new package
[packages/dropwatch.git] / dropwatch.spec
CommitLineData
a4964fd5
JK
1Summary: Kernel dropped packet monitor
2Name: dropwatch
3Version: 1.4
4Release: 1
5Source0: https://fedorahosted.org/releases/d/r/dropwatch/%{name}-%{version}.tbz2
6# Source0-md5: 5145753b3e9255bd9b190251ba4d3bbf
7License: GPLv2+
8Group: Applications/System
9URL: http://fedorahosted.org/dropwatch
10BuildRequires: binutils-devel
11BuildRequires: libnl-devel
12BuildRequires: linux-libc-headers
13BuildRequires: pkgconfig
14BuildRequires: readline-devel
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%description
18dropwatch is an utility to interface to the kernel to monitor for
19dropped network packets.
20
21%prep
22%setup -q
23
24%build
25cd src
26export CFLAGS=$RPM_OPT_FLAGS
27%{__make}
28
29%install
30rm -rf $RPM_BUILD_ROOT
31install -d $RPM_BUILD_ROOT%{_bindir}
32install -d $RPM_BUILD_ROOT%{_mandir}/man1
33install src/dropwatch $RPM_BUILD_ROOT%{_bindir}
34install doc/dropwatch.1 $RPM_BUILD_ROOT%{_mandir}/man1
35
36%clean
37rm -rf $RPM_BUILD_ROOT
38
39%files
40%defattr(644,root,root,755)
41%doc README
42%attr(755,root,root) %{_bindir}/*
43%{_mandir}/man1/*
This page took 0.032845 seconds and 4 git commands to generate.