3 %bcond_with gtk1 # builds gtk+1 (not gtk+2) based ethereal binary
4 %bcond_without snmp # builds without snmp support
6 Summary: Network traffic and protocol analyzer
7 Summary(es): Analizador de tráfico de red
8 Summary(pl): Analizator ruchu i protoko³ów sieciowych
9 Summary(pt_BR): Analisador de tráfego de rede
10 Summary(ru): áÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ
11 Summary(uk): áÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ
17 Source0: http://www.ethereal.com/distribution/all-versions/%{name}-%{version}.tar.bz2
18 # Source0-md5: dea23de328137aef684a7fdaaa7de093
19 Source1: %{name}.desktop
20 Source2: %{name}.su-start-script
21 Source3: %{name}-help.tar.gz
22 # Source3-md5: a582acf9e473e457ee85a223587545e0
23 URL: http://www.ethereal.com/
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: elfutils-devel
29 BuildRequires: gtk+-devel >= 1.2
31 BuildRequires: gtk+2-devel
33 BuildRequires: libpcap-devel >= 0.4
34 BuildRequires: libtool
35 %{?with_snmp:BuildRequires: net-snmp-devel}
36 BuildRequires: openssl-devel >= 0.9.7c
37 BuildRequires: perl-devel
38 BuildRequires: zlib-devel
39 Requires: libpcap >= 0.4
40 Requires: %{name}-common = %{version}
41 Requires: pango-modules
42 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 Obsoletes: ethereal-gnome
46 Ethereal is the name for powerful graphical network sniffer, traffic
47 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
48 capture and interactively browse the contents of network frames with
49 vast knowledge of more than 100 network protocols. Ethereal has
50 severeal useful features, including a rich display filter language,
51 the ability to view the ASCII contents of a TCP connection and plug-in
55 Analizador de tráfico de red.
58 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
59 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
60 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
61 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
62 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
63 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
67 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
70 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
71 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
74 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
75 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
78 Summary: Network traffic and protocol analyzer - common files
79 Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
83 Ethereal is the name for powerful graphical network sniffer, traffic
84 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
85 capture and interactively browse the contents of network frames with
86 vast knowledge of more than 100 network protocols. Ethereal has
87 severeal useful features, including a rich display filter language,
88 the ability to view the ASCII contents of a TCP connection and plug-in
91 %description common -l es
92 Analizador de tráfico de red.
94 %description common -l pl
95 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
96 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
97 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
98 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
99 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
100 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
103 %description common -l pt_BR
104 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
106 %description common -l ru
107 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
108 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
110 %description common -l uk
111 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
112 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
115 Summary: Tools for manipulating capture files
116 Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
118 Requires: %{name}-common = %{version}
121 Set of tools for manipulating capture files. Contains:
122 - editcap - Edit and/or translate the format of capture files
123 - mergecap - Merges two capture files into one
124 - text2cap - Generate a capture file from an ASCII hexdump of packets
126 %description tools -l pl
127 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
128 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
129 - mergecap - do ³±czenia dwóch plików w jeden,
130 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
133 %package -n tethereal
134 Summary: Text-mode network traffic and protocol analyzer
135 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
136 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
138 Requires: %{name}-common = %{version}
139 Requires: libpcap >= 0.4
141 %description -n tethereal
142 Tethereal is a network protocol analyzer. It lets you capture packet
143 data from a live network, or read packets from a previously saved
144 capture file, either printing a decoded form of those packets to the
145 standard output or writing the packets to a file. Tethereal's native
146 capture file format is libpcap format, which is also the format used
147 by tcpdump and various other tools.
149 %description -n tethereal -l pl
150 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
151 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
152 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
153 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
154 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
155 tcpdumpem i innymi podobnymi narzêdziami.
157 %description -n tethereal -l pt_BR
158 Esta é uma versão para modo texto do analisador de tráfego de rede
167 %{__aclocal} -I aclocal-fallback
172 %{__aclocal} -I ../aclocal-fallback
174 # don't use --force here
175 automake -a -c --foreign
177 %{__aclocal} -I ../aclocal-fallback
179 # don't use --force here
180 automake -a -c --foreign
185 %{!?with_gtk1:--enable-gtk2} \
186 --with-plugindir=%{_libdir}/%{name} \
187 %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
192 rm -rf $RPM_BUILD_ROOT
193 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
196 DESTDIR=$RPM_BUILD_ROOT
198 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
199 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
200 install image/ethereal48x48-trans.png \
201 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
203 # plugins *.la are useless - *.so are loaded through gmodule
204 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
207 rm -rf $RPM_BUILD_ROOT
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_bindir}/ethereal
212 %dir %{_libdir}/%{name}
213 %dir %{_libdir}/%{name}/plugins
214 %dir %{_libdir}/%{name}/plugins/%{version}
215 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
219 %{_mandir}/man1/ethereal.1*
222 %defattr(644,root,root,755)
223 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
224 %{_mandir}/man4/ethereal-filter.4*
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_bindir}/dftest
229 %attr(755,root,root) %{_bindir}/editcap
230 %attr(755,root,root) %{_bindir}/%{name}_su
231 %attr(755,root,root) %{_bindir}/idl2eth
232 %attr(755,root,root) %{_bindir}/mergecap
233 %attr(755,root,root) %{_bindir}/text2pcap
234 %attr(755,root,root) %{_bindir}/randpkt
235 %{_mandir}/man1/editcap*
236 %{_mandir}/man1/idl2eth*
237 %{_mandir}/man1/mergecap*
238 %{_mandir}/man1/text2pcap*
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_bindir}/tethereal
243 %{_mandir}/man1/tethereal*