# Note that this is NOT a relocatable package # scrollkeeper creates additional *private* files on first call, and I # found no way of purging them, so to build correctly, I must disable # the useful unpackaged files check %define _unpackaged_files_terminate_build 0 %define RELEASE 2 %define rel %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE} %define prefix /usr %define confdir /etc Summary: Graphical network viewer modeled after etherman. Name: etherape Version: 0.9.6 Release: %rel License: GPL Group: Applications/Networking URL: http://etherape.sourceforge.net/ Source: http://prdownloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz BuildRoot: /var/tmp/etherape-%{PACKAGE_VERSION}-root Docdir: %{prefix}/doc BuildRequires: scrollkeeper #Requires: gnome-libs >= 1.0.0 #Requires: libglade >= 0.11 Requires(post): scrollkeeper Requires(postun): scrollkeeper %description Etherape is a graphical network monitor for Unix modeled after etherman. Featuring ether, ip and tcp modes, it displays network activity graphically. Hosts and links change in size with traffic. Color coded protocols display. It supports ethernet, ppp and slip devices. It can filter traffic to be shown, and can read traffic from a file as well as live from the network. %changelog * Sat May 6 2006 R.Ghetta - a bit of modernization * Mon Apr 3 2000 Juan Toledo - Initial spec file copied from electric eyes %prep %setup -q %build CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --sysconfdir=%{confdir} --enable-static-pcap make %install rm -rf $RPM_BUILD_ROOT make prefix=$RPM_BUILD_ROOT%{prefix} sysconfdir=$RPM_BUILD_ROOT%{confdir} install strip $RPM_BUILD_ROOT%{prefix}/bin/* ||: %clean rm -rf $RPM_BUILD_ROOT %post if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q || true ; fi %postun if [ -x %{_bindir}/scrollkeeper-update ]; then %{_bindir}/scrollkeeper-update -q|| true ; fi %files %defattr(-, root, root) %doc AUTHORS COPYING ChangeLog NEWS README FAQ README.help README.bugs README.thanks %config %{confdir}/etherape/* %{prefix}/bin/* %{prefix}/share/locale/*/*/* %{prefix}/share/etherape/*/* %{prefix}/share/gnome/*/*/* %{prefix}/share/pixmaps/* %{prefix}/man/man1/*