Summary: Graphical network viewer modeled after etherman
+Summary(pl): Graficzny monitor sieci
+Summary(pt_BR): Visualizador gráfico de redes modelado como o etherman
Name: etherape
-Version: 0.5.6
-Release: 1
+Version: 0.8.2
+Release: 3
License: GPL
Group: Applications/Networking
-Group(de): Applikationen/Netzwerkwesen
-Group(pl): Aplikacje/Sieciowe
-Source0: ftp://download.sourceforge.net/pub/sourceforge/etherape/%{name}-%{version}.tar.gz
-Patch0: %{name}-DESTDIR.patch
-Patch1: %{name}-resolv.patch
+Source0: http://dl.sourceforge.net/etherape/%{name}-%{version}.tar.gz
URL: http://etherape.sourceforge.net/
+BuildRequires: autoconf
BuildRequires: automake
BuildRequires: gettext-devel
BuildRequires: gnome-libs-devel
BuildRequires: gtk+-devel
-BuildRequires: libglade-devel
+BuildRequires: libglade-gnome-devel
BuildRequires: libpcap-devel
-BuildRequires: autoconf
-BuildRequires: automake
-BuildRequires: gettext-devel
+BuildRequires: libtool
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _prefix /usr/X11R6
-%define _mandir %{_prefix}/man
%define _sbindir %{_bindir}
%description
devices. It can filter traffic to be shown, and can read traffic from
a file as well as live from the network.
+%description -l pl
+Etherape to graficzny monitor sieci dla uniksów. Ma tryby ether, ip
+oraz tcp, wy¶wietla aktywno¶æ sieci graficznie. Hosty i po³±czenia
+zmienij± rozmiar wraz z ruchem. Protokó³y obrazowane za pomoc±
+kolorów. Obs³uga urz±dzeñ ethernet, ppp i slip. Mo¿e filtrowaæ ruch
+jaki pokazuje, czytaæ z pliku lub bezpo¶rednio z sieci.
+
+%description -l pt_BR
+O etherape é um monitor gráfico de redes modelado como o etherman.
+Contém modos ether, ip e tcp, mostrando de forma gráfica a atividade
+da rede: Máquinas e conexões mudam em tamanho como o tráfego e os
+protocolos são codificados por cores. O Etherape suporta dispositivos
+ethernet, ppp e slip.
+
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
%build
-gettextize --copy --force
-automake -a -c
-aclocal -I macros
-autoconf
+rm -f missing
+%{__libtoolize}
+%{__gettextize}
+%{__aclocal} -I macros
+%{__autoconf}
+%{__automake}
+CFLAGS="%{rpmcflags} `libglade-config --cflags`"
%configure
%{__make}
rm -rf $RPM_BUILD_ROOT
%{__make} install \
- DESTDIR=$RPM_BUILD_ROOT
-
-gzip -9nf AUTHORS ChangeLog NEWS README FAQ README.help README.bugs \
- README.thanks
+ DESTDIR=$RPM_BUILD_ROOT \
+ Developmentdir=%{_applnkdir}/Network/Misc \
+ pixmapsdir="%{_pixmapsdir}"
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
+%doc AUTHORS ChangeLog NEWS README FAQ README.help README.bugs README.thanks
%attr(755,root,root) %{_sbindir}/*
%{_datadir}/etherape
+%{_datadir}/gnome/help/*
%{_mandir}/man?/*
+%{_applnkdir}/Network/Misc/*
+%{_pixmapsdir}/*