dropwatch/dropwatch.spec

61 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:37:35 -04:00
Name: dropwatch
Version: 1.5
2020-09-10 18:07:26 +08:00
Release: 8
2019-09-30 10:37:35 -04:00
Summary: Kernel dropped packet monitoring utility
License: GPLv2+
URL: https://linux.die.net/man/1/dropwatch
2020-09-10 18:07:26 +08:00
Source0: https://github.com/nhorman/dropwatch/archive/dropwatch-1.5.tar.gz
2019-09-30 10:37:35 -04:00
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
2019-11-06 19:06:01 +08:00
%license COPYING
2019-09-30 10:37:35 -04:00
%{_bindir}/dropwatch
%files help
%doc README.md
%{_mandir}/man1/dropwatch.1.gz
%changelog
2020-09-10 18:07:26 +08:00
* Thu Sep 10 2020 lunankun <lunankun@huawei.com> - 1.5-8
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:fix source0 url
2019-11-06 19:06:01 +08:00
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5-7
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:change copying file to license
2019-09-30 10:37:35 -04:00
* Fri Aug 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5-6
- Package Init