40 lines
1.0 KiB
RPMSpec
40 lines
1.0 KiB
RPMSpec
Name: iptstate
|
|
Summary: A top-like display of IP Tables state table entries
|
|
Version: 2.2.6
|
|
Release: 8
|
|
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
|
|
Patch1: iptstate-2.2.6-no_debug.patch
|
|
Patch2: iptstate-2.2.6-rhbz599181.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
|
|
%doc LICENSE
|
|
%{_sbindir}/iptstate
|
|
%{_mandir}/man8/iptstate.*
|
|
|
|
%files help
|
|
%doc README.md
|
|
|
|
%changelog
|
|
* Wed Sep 10 2019 openEuler Buildteam <buildteam@openeuler.org> - 2.2.6-8
|
|
- Package init
|