# # Conditional build: # _with_gtk1 - builds gtk+1 (not gtk+2) 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 Summary(ru): áÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ Summary(uk): áÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ Name: ethereal Version: 0.9.16 Release: 2 License: GPL Group: Networking Source0: http://www.ethereal.com/distribution/%{name}-%{version}.tar.bz2 # Source0-md5: ab33d191f3cca324e5c819e9e4c034e1 Source1: %{name}.desktop Source2: %{name}.su-start-script URL: http://www.ethereal.com/ BuildRequires: autoconf BuildRequires: automake BuildRequires: elfutils-devel BuildRequires: flex %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.7c BuildRequires: perl-devel BuildRequires: zlib-devel Requires: libpcap >= 0.4 Requires: %{name}-common = %{version} BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: ethereal-gnome %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+. %description -l ru Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap. %description -l uk Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap. %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 common -l ru Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap. %description common -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: %{name}-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: %{name}-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-net-snmp --without-ucdsnmp} %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Misc,%{_pixmapsdir}} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT 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 # plugins *.la are useless - *.so are loaded through gmodule rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la %clean rm -rf $RPM_BUILD_ROOT %files %defattr(644,root,root,755) %attr(755,root,root) %{_bindir}/ethereal %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/plugins %dir %{_libdir}/%{name}/plugins/%{version} %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so %{_datadir}/%{name} %{_applnkdir}/Network/Misc/* %{_pixmapsdir}/* %{_mandir}/man1/ethereal.1* %files common %defattr(644,root,root,755) %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*} %{_mandir}/man4/ethereal-filter.4* %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*