forked from pool/iptraf-ng
run spec-beautifier
OBS-URL: https://build.opensuse.org/package/show/network:utilities/iptraf-ng?expand=0&rev=8
This commit is contained in:
parent
25fb33f7d1
commit
07a67ef5fe
@ -23,7 +23,7 @@ Summary: TCP/IP Network Monitor
|
||||
License: GPL-2.0-or-later
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
URL: https://github.com/iptraf-ng/iptraf-ng/
|
||||
Source: https://github.com/iptraf-ng/iptraf-ng/archive/v%{version}.tar.gz
|
||||
Source: https://github.com/iptraf-ng/iptraf-ng/archive/v%version.tar.gz
|
||||
BuildRequires: automake
|
||||
BuildRequires: ncurses-devel
|
||||
BuildRequires: xz
|
||||
@ -38,21 +38,21 @@ interface statistics and activity indicators, TCP/UDP traffic
|
||||
breakdowns, and LAN station packet and byte counts.
|
||||
|
||||
%prep
|
||||
%autosetup -n %{name}-%{version} -p1
|
||||
%autosetup -n %name-%version -p1
|
||||
|
||||
%build
|
||||
%make_build CFLAGS="%{optflags} -D_GNU_SOURCE"
|
||||
%make_build CFLAGS="%optflags -D_GNU_SOURCE"
|
||||
|
||||
%install
|
||||
%make_install prefix="%{_prefix}" V=1
|
||||
b=%{buildroot}
|
||||
install -dm 0755 "$b/%{_localstatedir}/lib/iptraf-ng"
|
||||
ln -s iptraf-ng "$b/%{_sbindir}/iptraf"
|
||||
ln -s iptraf-ng.8 "$b/%{_mandir}/man8/iptraf.8"
|
||||
%make_install prefix="%_prefix" V=1
|
||||
b=%buildroot
|
||||
install -dm 0755 "$b/%_localstatedir/lib/iptraf-ng"
|
||||
ln -s iptraf-ng "$b/%_sbindir/iptraf"
|
||||
ln -s iptraf-ng.8 "$b/%_mandir/man8/iptraf.8"
|
||||
|
||||
%files
|
||||
%{_sbindir}/iptraf*
|
||||
%{_mandir}/man8/iptraf*
|
||||
%{_localstatedir}/lib/iptraf-ng
|
||||
%_sbindir/iptraf*
|
||||
%_mandir/man8/iptraf*
|
||||
%_localstatedir/lib/iptraf-ng
|
||||
|
||||
%changelog
|
||||
|
Loading…
x
Reference in New Issue
Block a user