commit 6e9a93e9b99658384f80af2d073c37045f6f6c9b Author: overweight <5324761+overweight@user.noreply.gitee.com> Date: Mon Sep 30 10:37:35 2019 -0400 Package init diff --git a/dropwatch-1.5.tar.gz b/dropwatch-1.5.tar.gz new file mode 100644 index 0000000..ea89c90 Binary files /dev/null and b/dropwatch-1.5.tar.gz differ diff --git a/dropwatch.spec b/dropwatch.spec new file mode 100644 index 0000000..a90b7eb --- /dev/null +++ b/dropwatch.spec @@ -0,0 +1,48 @@ +Name: dropwatch +Version: 1.5 +Release: 6 +Summary: Kernel dropped packet monitoring utility + +License: GPLv2+ +URL: https://linux.die.net/man/1/dropwatch +Source0: https://github.com/nhorman/dropwatch/releases/%{name}-%{version}.tar.gz + +BuildRequires: autoconf automake binutils-devel kernel-headers +BuildRequires: libnl3-devel libtool pkgconfig readline-devel +Requires: libnl3 readline + +%description +Dropwatch is started in an effort to improve the ability for developers +and system administrator to diagnose problems in the Linux Networking +stack, specifically in our ability to diagnose where packets are getting +dropped. + +%package_help + +%prep +%autosetup -n %{name}-%{name}-%{version} -p1 + +%build +./autogen.sh +%configure +%make_build + +%install +make install DESTDIR=%{buildroot} +mkdir -p %{buildroot}%{_bindir} +install -m0755 src/dropwatch %{buildroot}%{_bindir} +mkdir -p %{buildroot}%{_mandir}/man1 +install -m0644 doc/dropwatch.1 %{buildroot}%{_mandir}/man1 + +%files +%doc COPYING +%{_bindir}/dropwatch + +%files help +%doc README.md +%{_mandir}/man1/dropwatch.1.gz + +%changelog +* Fri Aug 16 2019 openEuler Buildteam - 1.5-6 +- Package Init +