]> git.pld-linux.org Git - packages/etherape.git/commitdiff
- completly rewrited in PLD style and updated to 0.5.1. etherape-0_5_1-1
authorkloczek <kloczek@pld-linux.org>
Fri, 21 Apr 2000 10:47:13 +0000 (10:47 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    etherape.spec -> 1.2

etherape.spec

index d6fda50920e780a1802938138516e4fdd3fda47f..e139f9de3124712d84eb9615fa512d0f8d264a13 100644 (file)
@@ -1,58 +1,63 @@
-# Note that this is NOT a relocatable package
-%define ver      0.4.6
-%define  RELEASE 1
-%define  rel     %{?CUSTOM_RELEASE} %{!?CUSTOM_RELEASE:%RELEASE}
-%define prefix   /usr
-
-Summary: Graphical network viewer modeled after etherman.
-Name: etherape
-Version: %ver
-Release: %rel
-Copyright: GPL
-Group: Applications/Networking
-Source: http://download.sourceforge.net/etherape/etherape-%{ver}.tar.gz
-# Source1: ee-stdimg-new.xpm
-
-BuildRoot: /var/tmp/etherape-%{PACKAGE_VERSION}-root
-URL: http://etherape.sourceforge.net/
-Docdir: %{prefix}/doc
-Requires: gnome-libs >= 1.0.0
+Summary:       Graphical network viewer modeled after etherman
+Name:          etherape
+Version:       0.5.1
+Release:       1
+License:       GPL
+Group:         Applications/Networking
+Group(pl):     Aplikacje/Sieciowe
+Source0:       http://download.sourceforge.net/etherape/%{name}-%{version}.tar.gz
+Patch0:                etherape-DESTDIR.patch
+URL:           http://etherape.sourceforge.net/
+BuildRequires: automake
+BuildRequires: gettext-devel
+BuildRequires: gnome-libs-devel
+BuildRequires: gtk+-devel
+BuildRequires: libglade-devel
+BuildRequires: libpcap-devel
+BuildRequires: XFree86-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                _prefix         /usr/X11R6
+%define                _mandir         %{_prefix}/man
+%define                _sbindir        %{_bindir}
 
 %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
-* Mon Apr 3 2000 Juan Toledo <toledo@sourceforge.net>
-- Initial spec file copied from electric eyes
+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.
 
 %prep
 %setup -q
-
-# insert new rh logo image
-#cp %{SOURCE1} stdimg.xpm
+%patch0 -p1
 
 %build
-( export LINGUAS="$LINGUAS" && unset LINGUAS &&  CFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix --enable-static-pcap )
+automake
+gettextize --copy --force
+LDFLAGS="-s"; export LDFLAGS
+%configure
 make
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-make prefix=$RPM_BUILD_ROOT%{prefix} install
+make install \
+       DESTDIR=$RPM_BUILD_ROOT
 
-strip $RPM_BUILD_ROOT%{prefix}/sbin/* ||:
+gzip -9nf AUTHORS ChangeLog NEWS README FAQ README.help README.bugs \
+       README.thanks \
+       $RPM_BUILD_ROOT%{_mandir}/man?/*
+
+%find_lang %{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%files
-%defattr(-, root, root)
-
-%doc AUTHORS COPYING ChangeLog NEWS README FAQ README.help README.bugs README.thanks
-%{prefix}/sbin/*
-%{prefix}/share/locale/*/*/*
+%files -f %{name}.lang
+%defattr(644,root,root,755)
+%doc *.gz
+%attr(755,root,root) %{_sbindir}/*
+%{_datadir}/etherape
+%{_mandir}/man?/*
This page took 0.082515 seconds and 4 git commands to generate.