File etherape.spec of Package etherape
#
# spec file for package etherape (Version 0.9.7)
#
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: etherape
Url: http://etherape.sourceforge.net/
BuildRequires: libglade2-devel libgnomeui-devel libpcap-devel pkgconfig scrollkeeper update-desktop-files
License: GPL v2 or later
Group: Productivity/Networking/Diagnostic
AutoReqProv: on
Summary: A Graphical Network Monitor
Version: 0.9.7
Release: 248
Source0: http://prdownloads.sourceforge.net/etherape/etherape-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
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.
%prep
%setup -q
%build
export CFLAGS="$RPM_OPT_FLAGS"
export LDFLAGS="-Wl,--as-needed"
%configure --with-pic
make
%check
make check
%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file %name System Network
%find_lang %{name}
%clean
rm -rf $RPM_BUILD_ROOT
%files -f %{name}.lang
%defattr(-, root, root)
%doc COPYING TODO NEWS README* AUTHORS ABOUT-NLS
%dir /etc/etherape
/etc/etherape/services
%{_prefix}/bin/*
%{_mandir}/*/*
%{_prefix}/share/%{name}
%{_prefix}/share/applications/etherape.desktop
%{_prefix}/share/omf/etherape
%{_prefix}/share/pixmaps/etherape.png
%changelog
* Sun Feb 24 2008 crrodriguez@suse.de
- use find_lang macro
- link "as-needed" to eliminate a large amount of unused direct dependencies
* Thu Jul 26 2007 prusnak@suse.cz
- changed libpcap to libpcap-devel in BuildRequires
* Tue Oct 17 2006 meissner@suse.de
- etherape 0.9.7
- bugfixes
* Tue Jun 27 2006 meissner@suse.de
- network traffic analysis and display ether-ape 0.9.6.