iptstate/iptstate.spec
XWwalker 4a60d58f9f License compliance rectification
(cherry picked from commit e4ab6db8fde9f48111d2856285b91610f934a451)
2022-08-15 16:49:37 +08:00

56 lines
1.3 KiB
RPMSpec

Name: iptstate
Summary: A top-like display of IP Tables state table entries
Version: 2.2.7
Release: 2
License: Zlib
URL: http://www.phildev.net/iptstate/
Source: https://github.com/jaymzh/iptstate/releases/download/v%{version}/%{name}-%{version}.tar.bz2
Patch0: iptstate-2.1-man8.patch
Requires: iptables
BuildRequires: gcc-c++ ncurses-devel libnetfilter_conntrack-devel
%description
This package is written to display the top-like in IP Tables
%package_help
%prep
%autosetup -n %{name}-%{version} -p1
%build
%make_build CXXFLAGS="$RPM_OPT_FLAGS $RPM_LD_FLAGS"
%install
make install PREFIX=%{buildroot}%{_prefix} INSTALL="install -p"
%files
%license LICENSE
%{_sbindir}/iptstate
%{_mandir}/man8/iptstate.*
%files help
%doc README.md Changelog
%changelog
* Mon Aug 15 2022 xingwei <xingwei14@h-partners.com> - 2.2.7-2
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:License compliance rectification
* Fri Dec 03 2021 yanglu <yanglu72@huawei.com> - 2.2.7-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update iptstate to 2.2.7
* Sat Oct 19 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.6-9
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:remove the root of LICENSE
* Wed Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.6-8
- Package init