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.7.2
-Release: 1
+Version: 0.9.0
+Release: 4
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
+Source0: http://dl.sourceforge.net/etherape/%{name}-%{version}.tar.gz
+# Source0-md5: a712f4cb04897d1a02ce988cffbf254c
+Patch0: %{name}-bdf_h.patch
+Patch1: %{name}-desktop.patch
+Patch2: %{name}-resolv.patch
URL: http://etherape.sourceforge.net/
-BuildRequires: autoconf
+BuildRequires: autoconf >= 2.57
BuildRequires: automake
BuildRequires: gettext-devel
-BuildRequires: gnome-libs-devel
-BuildRequires: gtk+-devel
-BuildRequires: libglade-devel
+BuildRequires: gtk+2-devel
+BuildRequires: libgnomeui-devel >= 2.0
BuildRequires: libpcap-devel
-BuildRequires: libtool
+BuildRequires: pkgconfig
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
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
+zmieniaj± 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
+%patch2 -p1
%build
-libtoolize --copy --force
-gettextize --copy --force
-aclocal -I macros
-autoconf
-automake -a -c
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
%configure
+
%{__make}
%install
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 \
+ pixmapsdir=%{_pixmapsdir} \
+ Developmentdir=%{_desktopdir}
%find_lang %{name}
%files -f %{name}.lang
%defattr(644,root,root,755)
-%doc *.gz
-%attr(755,root,root) %{_sbindir}/*
+%doc AUTHORS ChangeLog FAQ NEWS README* TODO
+%attr(755,root,root) %{_bindir}/etherape
%{_datadir}/etherape
-%{_mandir}/man?/*
+%{_mandir}/man1/etherape.1*
+%{_desktopdir}/etherape.desktop
+%{_pixmapsdir}/etherape.png