File etherape.spec of Package etherape
#
# spec file for package etherape (Version 0.9.7)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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: 168
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
* Wed Jun 28 2006 meissner@suse.de
- network traffic analysis and display ether-ape 0.9.6.