File etherape.spec of Package etherape

# spec file for package etherape
# Copyright (c) 2021 SUSE LLC
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           etherape
Version:        0.9.19
Release:        0
Summary:        A Graphical Network Monitor
License:        GPL-2.0-or-later
Group:          Productivity/Networking/Diagnostic
Patch0:         etherape-0.9.12-desktop.patch
BuildRequires:  docbook_4
BuildRequires:  fdupes
BuildRequires:  libpcap-devel
BuildRequires:  pkgconfig
BuildRequires:  update-desktop-files
BuildRequires:  yelp-tools
BuildRequires:  pkgconfig(goocanvas-2.0)
BuildRequires:  pkgconfig(popt)
%if 0%{?is_opensuse}
BuildRequires:  autoconf-archive
Requires(post): update-desktop-files
Requires(postun): update-desktop-files
Recommends:     %{name}-lang

EtherApe is a graphical network monitor for Unix, modeled after
etherman. Featuring link layer, IP, and TCP modes, it displays network
activity graphically. Hosts and links change in size with traffic.
Various protocols are color coded in the display. It supports ethernet,
FDDI, token ring, ISDN, PPP, and SLIP devices. It can filter traffic to
show and can read traffic from a file as well as live from the network.


%setup -q
%patch0 -p1

make %{?_smp_mflags}

make %{?_smp_mflags} check

%suse_update_desktop_file %{name} System Network
%find_lang %{name}
%fdupes -s %{buildroot}

%if 0%{?suse_version} < 1500


%defattr(-, root, root)

%files lang -f %{name}.lang

openSUSE Build Service is sponsored by