File etherape.spec of Package etherape

#
# spec file for package etherape (Version 0.9.7)
#
# Copyright (c) 2007 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:        79
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
# Update config.{guess,sub}
%{?suse_update_config}
export CFLAGS="$RPM_OPT_FLAGS" 
./configure --prefix=%{_prefix} \
  --sysconfdir=/etc \
  --infodir=%{_infodir} \
  --mandir=%{_mandir}
  make
  make check

%install
make install DESTDIR=$RPM_BUILD_ROOT
%suse_update_desktop_file %name System Network

%clean
rm -rf $RPM_BUILD_ROOT

%files
%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/locale/*/*/*
%{_prefix}/share/applications/etherape.desktop
%{_prefix}/share/omf/etherape
%{_prefix}/share/pixmaps/etherape.png

%changelog
* 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.
openSUSE Build Service is sponsored by