85 lines
1.6 KiB
RPMSpec
85 lines
1.6 KiB
RPMSpec
Name: dropwatch
|
|
Version: 1.5.4
|
|
Release: 2
|
|
Summary: Kernel dropped packet monitor
|
|
|
|
License: GPLv2+
|
|
URL: https://github.com/nhorman/dropwatch
|
|
Source0: https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz
|
|
|
|
BuildRequires: autoconf
|
|
BuildRequires: automake
|
|
BuildRequires: gcc
|
|
BuildRequires: make
|
|
BuildRequires: pkgconfig
|
|
BuildRequires: libtool
|
|
BuildRequires: kernel-headers
|
|
BuildRequires: binutils-devel
|
|
BuildRequires: libnl3-devel
|
|
BuildRequires: libpcap-devel
|
|
BuildRequires: readline-devel
|
|
|
|
Requires: libnl3
|
|
Requires: readline
|
|
|
|
%description
|
|
dropwatch is an utility to interface to the kernel to monitor for dropped
|
|
network packets.
|
|
|
|
%prep
|
|
%autosetup -p1
|
|
|
|
%build
|
|
./autogen.sh
|
|
%configure
|
|
%make_build
|
|
|
|
%install
|
|
%{make_install}
|
|
|
|
%check
|
|
make check
|
|
|
|
%files
|
|
%{_bindir}/dropwatch
|
|
%{_bindir}/dwdump
|
|
%{_mandir}/man1/dropwatch.1*
|
|
%{_mandir}/man1/dwdump.1*
|
|
%doc README.md
|
|
%license COPYING
|
|
|
|
%changelog
|
|
* Mon Sep 25 2023 yanglu <yanglu72@h-partners.com> - 1.5.4-2
|
|
- Type:enhancement
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:enable test
|
|
|
|
* Wed Jun 22 2022 tanyulong <tanyulong@kylinos.cn> - 1.5.4-1
|
|
- Type:requirements
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:update dropwatch to 1.5.4
|
|
|
|
* Sat Jan 30 2021 xihaochen <xihaochen@huawei.com> - 1.5.3-1
|
|
- Type:requirements
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:update dropwatch to 1.5.3
|
|
|
|
* Thu Sep 10 2020 lunankun <lunankun@huawei.com> - 1.5-8
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:fix source0 url
|
|
|
|
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5-7
|
|
- Type:bugfix
|
|
- Id:NA
|
|
- SUG:NA
|
|
- DESC:change copying file to license
|
|
|
|
* Fri Aug 16 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.5-6
|
|
- Package Init
|
|
|