# # --with gtk1 builds gtk+1 based ethereal binary # --without snmp builds without snmp support # Summary: Network traffic and protocol analyzer Summary(es): Analizador de tráfico de red Summary(pl): Analizator ruchu i protokołów sieciowych Summary(pt_BR): Analisador de tráfego de rede Name: ethereal Version: 0.9.13 Release: 1 License: GPL Group: Networking Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.bz2 # Source0-md5: a533a13d175be1f8c2be188ac8f4c7ea Source1: %{name}.desktop Source2: %{name}.su-start-script URL: http://www.ethereal.com/ BuildRequires: autoconf BuildRequires: automake BuildRequires: flex BuildRequires: glib-devel %if %{?_with_gtk1:1}0 BuildRequires: gtk+-devel >= 1.2 %else BuildRequires: gtk+2-devel %endif BuildRequires: libpcap-devel >= 0.4 BuildRequires: libtool %{!?_without_snmp:BuildRequires: net-snmp-devel} BuildRequires: openssl-devel >= 0.9.7 BuildRequires: perl-devel BuildRequires: zlib-devel Requires: libpcap >= 0.4 Requires: %{name}-common BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Ethereal is the name for powerful graphical network sniffer, traffic and protocol analyzer based on GTK+ and libpcap libraries. It lets you capture and interactively browse the contents of network frames with vast knowledge of more than 100 network protocols. Ethereal has severeal useful features, including a rich display filter language, the ability to view the ASCII contents of a TCP connection and plug-in capabilities. %description -l es Analizador de tráfico de red. %description -l pl Ethereal jest potężnym, graficznym snifferem, analizatorem ruchu oraz protokołów sieciowych opartym na bibliotekach GTK+ oraz libpcap. Umożliwia on przechwytywanie oraz intereaktywną analizę zawartości ramek oraz ponad stu protokołów sieciowych. Ethereal posiada wiele użytecznych cech, takich jak rozbudowany język filtrów wyświetlania, możliwość oglądania przebiegu sesji TCP oraz możliwość dołączania wtyczek (plug-ins). %description -l pt_BR O Ethereal é um analisador de protocolo de rede baseado no GTK+. %package common Summary: Network traffic and protocol analyzer - common files Summary(pl): Analizator ruchu i protokołów sieciowych - wspólne pliki Group: Networking %description common Ethereal is the name for powerful graphical network sniffer, traffic and protocol analyzer based on GTK+ and libpcap libraries. It lets you capture and interactively browse the contents of network frames with vast knowledge of more than 100 network protocols. Ethereal has severeal useful features, including a rich display filter language, the ability to view the ASCII contents of a TCP connection and plug-in capabilities. %description common -l es Analizador de tráfico de red. %description common -l pl Ethereal jest potężnym, graficznym snifferem, analizatorem ruchu oraz protokołów sieciowych opartym na bibliotekach GTK+ oraz libpcap. Umożliwia on przechwytywanie oraz intereaktywną analizę zawartości ramek oraz ponad stu protokołów sieciowych. Ethereal posiada wiele użytecznych cech, takich jak rozbudowany język filtrów wyświetlania, możliwość oglądania przebiegu sesji TCP oraz możliwość dołączania wtyczek (plug-ins). %description common -l pt_BR O Ethereal é um analisador de protocolo de rede baseado no GTK+. %description -l ru Ethereal - ÜÔĎ ÁÎÁĚÉÚÁÔĎŇ ÓĹÔĹ×ĎÇĎ ÔŇÁĆĆÉËÁ ÄĚŃ Unix-ĐĎÄĎÂÎŮČ ďó. ďÎ ÂÁÚÉŇŐĹÔÓŃ ÎÁ GTK+ É libpcap. %description -l uk Ethereal - ĂĹ ÁÎÁĚŚÚÁÔĎŇ ÍĹŇĹÖĹ×ĎÇĎ ÔŇÁĆŚËŐ ÄĚŃ Unix-ĐĎÄŚÂÎÉČ ďó. ÷ŚÎ ÂÁÚŐ¤ÔŘÓŃ ÎÁ GTK+ ÔÁ libpcap. %package tools Summary: Tools for manipulating capture files Summary(pl): Narzędzia do obróbki plików z przechwyconymi pakietami sieciowymi Group: Networking Requires: ethereal-common = %{version} %description tools Set of tools for manipulating capture files. Contains: - editcap - Edit and/or translate the format of capture files - mergecap - Merges two capture files into one - text2cap - Generate a capture file from an ASCII hexdump of packets %description tools -l pl Zestaw narzędzi do obróbki plików z przechwyconymi pakietami. Zawiera: - editcap - do edycji plików i tłumaczenia ich na inne formaty, - mergecap - do łączenia dwóch plików w jeden, - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII pakietów. %package -n tethereal Summary: Text-mode network traffic and protocol analyzer Summary(pl): Tekstowy analizator ruchu i protokołów sieciowych Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer) Group: Networking Requires: ethereal-common = %{version} Requires: libpcap >= 0.4 %description -n tethereal Tethereal is a network protocol analyzer. It lets you capture packet data from a live network, or read packets from a previously saved capture file, either printing a decoded form of those packets to the standard output or writing the packets to a file. Tethereal's native capture file format is libpcap format, which is also the format used by tcpdump and various other tools. %description -n tethereal -l pl Tethereal jest analizatorem protokołów sieciowych. Pozwala na przechwytywanie pakietów z sieci lub wczytywanie danych z pliku. Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protokołów sieciowych!) jest wyświetlony na ekranie. Natywnym formatem plików tetherala jest format libpcap, tak więc jest on kompatybilny z tcpdumpem i innymi podobnymi narzędziami. %description -n tethereal -l pt_BR Esta é uma versăo para modo texto do analisador de tráfego de rede Ethereal. %prep %setup -q %build rm -f missing %{__libtoolize} %{__aclocal} -I aclocal-fallback %{__autoconf} %{__automake} cd epan rm -f missing %{__aclocal} -I ../aclocal-fallback %{__autoconf} # don't use --force here automake -a -c --foreign cd ../wiretap %{__aclocal} -I ../aclocal-fallback %{__autoconf} # don't use --force here automake -a -c --foreign cd .. %configure \ --enable-randpkt \ %{!?_with_gtk1: --enable-gtk2} \ --with-plugindir=%{_libdir}/%{name} \ %{!?_without_snmp: --without-snmp} %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Misc,%{_pixmapsdir}} %{__make} DESTDIR=$RPM_BUILD_ROOT install install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Misc install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su install image/ethereal48x48-trans.png \ $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png %clean rm -rf $RPM_BUILD_ROOT %files common %defattr(644,root,root,755) %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*} %files tools %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/editcap %attr(755,root,root) %{_bindir}/mergecap %attr(755,root,root) %{_bindir}/randpkt %attr(755,root,root) %{_bindir}/text2pcap %attr(755,root,root) %{_bindir}/ethereal_su %attr(755,root,root) %{_bindir}/idl2eth %{_mandir}/man1/editcap* %{_mandir}/man1/mergecap* %{_mandir}/man1/text2pcap* %{_mandir}/man1/idl2eth* %files -n tethereal %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/tethereal %{_mandir}/man1/tethereal* %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/ethereal %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %dir %{_libdir}/%{name}/plugins/%{version} %{_libdir}/%{name}/plugins/%{version}/*.la %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so %{_datadir}/%{name} %{_applnkdir}/Network/Misc/* %{_pixmapsdir}/* %{_mandir}/man1/ethereal.1*