iptraf-ng/iptraf-ng.spec

49 lines
1.3 KiB
RPMSpec

Name: iptraf-ng
Version: 1.2.1
Release: 2mamba
Summary: A console-based network monitoring program for Linux that displays information about IP traffic
Group: Network/Monitoring
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/iptraf-ng/iptraf-ng
Source: https://github.com/iptraf-ng/iptraf-ng.git/v%{version}/iptraf-ng-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libncurses-devel
## AUTOBUILDREQ-END
Provides: iptraf
Obsoletes: iptraf <= 3.0.1
%description
IPTraf-ng is a console-based network monitoring program for Linux that displays information about IP traffic.
%debug_package
%prep
%setup -q
%build
%make prefix=%{_prefix}
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall prefix=%{_prefix}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_sbindir}/iptraf-ng
%{_mandir}/man8/iptraf-ng.8*
%doc AUTHORS LICENSE
%changelog
* Sat Oct 08 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-2mamba
- provide and obsolete iptraf
* Tue Jun 07 2022 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.1-1mamba
- package created using the webbuild interface