iptstate/iptstate.spec

59 lines
1.4 KiB
RPMSpec
Raw Normal View History

2019-09-30 10:53:26 -04:00
Name: iptstate
Summary: A top-like display of IP Tables state table entries
2022-03-21 10:35:22 +08:00
Version: 2.2.7
Release: 3
2022-08-03 09:34:27 +08:00
License: Zlib
2019-09-30 10:53:26 -04:00
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: make gcc-c++ ncurses-devel libnetfilter_conntrack-devel
2019-09-30 10:53:26 -04:00
%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
2019-11-06 19:34:00 +08:00
%license LICENSE
2019-09-30 10:53:26 -04:00
%{_sbindir}/iptstate
%{_mandir}/man8/iptstate.*
%files help
2019-11-06 19:34:00 +08:00
%doc README.md Changelog
2019-09-30 10:53:26 -04:00
%changelog
* Thu Aug 01 2024 yanglu <yanglu72@h-partners.com> - 2.2.7-3
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:add BuildRequires make to fix build problem
2022-08-03 09:34:27 +08:00
* Wed Aug 03 2022 liukuo <liukuo@kylinos.cn> - 2.2.7-2
- License compliance rectification
2022-03-21 10:35:22 +08:00
* Mon Mar 21 2022 xihaochen <xihaochen@huawei.com> - 2.2.7-1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:update iptstate to 2.2.7
2019-11-06 19:34:00 +08:00
* 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
2019-09-30 10:53:26 -04:00
* Wed Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.6-8
- Package init