dropwatch/dropwatch.spec

85 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

2022-06-22 11:17:47 +08:00
Name: dropwatch
Version: 1.5.4
2023-09-25 15:35:09 +08:00
Release: 2
2022-06-22 11:17:47 +08:00
Summary: Kernel dropped packet monitor
2019-09-30 10:37:35 -04:00
2022-06-22 11:17:47 +08:00
License: GPLv2+
URL: https://github.com/nhorman/dropwatch
Source0: https://github.com/nhorman/dropwatch/archive/v%{version}/%{name}-%{version}.tar.gz
2019-09-30 10:37:35 -04:00
2022-06-22 11:17:47 +08:00
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
2019-09-30 10:37:35 -04:00
2022-06-22 11:17:47 +08:00
Requires: libnl3
Requires: readline
2019-09-30 10:37:35 -04:00
2022-06-22 11:17:47 +08:00
%description
dropwatch is an utility to interface to the kernel to monitor for dropped
network packets.
2019-09-30 10:37:35 -04:00
%prep
2022-06-22 11:17:47 +08:00
%autosetup -p1
2019-09-30 10:37:35 -04:00
%build
./autogen.sh
%configure
%make_build
%install
2022-06-22 11:17:47 +08:00
%{make_install}
2019-09-30 10:37:35 -04:00
2023-09-25 15:35:09 +08:00
%check
make check
2019-09-30 10:37:35 -04:00
%files
%{_bindir}/dropwatch
2021-01-29 09:46:19 +08:00
%{_bindir}/dwdump
2022-06-22 11:17:47 +08:00
%{_mandir}/man1/dropwatch.1*
%{_mandir}/man1/dwdump.1*
2019-09-30 10:37:35 -04:00
%doc README.md
2022-06-22 11:17:47 +08:00
%license COPYING
2019-09-30 10:37:35 -04:00
%changelog
2023-09-25 15:35:09 +08:00
* Mon Sep 25 2023 yanglu <yanglu72@h-partners.com> - 1.5.4-2
- Type:enhancement
- Id:NA
- SUG:NA
- DESC:enable test
2022-06-22 11:17:47 +08:00
* 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
2021-01-29 09:46:19 +08:00
* 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
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