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: libelf-devel
29 BuildRequires: gtk+-devel >= 1.2
31 BuildRequires: gtk+2-devel
33 BuildRequires: libpcap-devel >= 0.4
34 BuildRequires: libtool
35 BuildRequires: openssl-devel >= 0.9.6k
36 BuildRequires: perl-devel
37 %{!?_without_snmp:BuildRequires: ucd-snmp-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
45 %define _prefix /usr/X11R6
46 %define _mandir /usr/X11R6/man
47 %define _desktopdir %{_applnkdir}/Network/Misc
50 Ethereal is the name for powerful graphical network sniffer, traffic
51 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
52 capture and interactively browse the contents of network frames with
53 vast knowledge of more than 100 network protocols. Ethereal has
54 severeal useful features, including a rich display filter language,
55 the ability to view the ASCII contents of a TCP connection and plug-in
59 Analizador de tráfico de red.
62 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
63 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
64 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
65 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
66 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
67 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
71 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
74 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
75 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
78 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
79 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
82 Summary: Network traffic and protocol analyzer - common files
83 Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
87 Ethereal is the name for powerful graphical network sniffer, traffic
88 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
89 capture and interactively browse the contents of network frames with
90 vast knowledge of more than 100 network protocols. Ethereal has
91 severeal useful features, including a rich display filter language,
92 the ability to view the ASCII contents of a TCP connection and plug-in
95 %description common -l es
96 Analizador de tráfico de red.
98 %description common -l pl
99 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
100 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
101 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
102 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
103 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
104 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
107 %description common -l pt_BR
108 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
110 %description common -l ru
111 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
112 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
114 %description common -l uk
115 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
116 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
119 Summary: Tools for manipulating capture files
120 Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
122 Requires: %{name}-common = %{version}
125 Set of tools for manipulating capture files. Contains:
126 - editcap - Edit and/or translate the format of capture files
127 - mergecap - Merges two capture files into one
128 - text2cap - Generate a capture file from an ASCII hexdump of packets
130 %description tools -l pl
131 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
132 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
133 - mergecap - do ³±czenia dwóch plików w jeden,
134 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
137 %package -n tethereal
138 Summary: Text-mode network traffic and protocol analyzer
139 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
140 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
142 Requires: %{name}-common = %{version}
143 Requires: libpcap >= 0.4
145 %description -n tethereal
146 Tethereal is a network protocol analyzer. It lets you capture packet
147 data from a live network, or read packets from a previously saved
148 capture file, either printing a decoded form of those packets to the
149 standard output or writing the packets to a file. Tethereal's native
150 capture file format is libpcap format, which is also the format used
151 by tcpdump and various other tools.
153 %description -n tethereal -l pl
154 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
155 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
156 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
157 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
158 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
159 tcpdumpem i innymi podobnymi narzêdziami.
161 %description -n tethereal -l pt_BR
162 Esta é uma versão para modo texto do analisador de tráfego de rede
171 %{__aclocal} -I aclocal-fallback
176 %{__aclocal} -I ../aclocal-fallback
178 # don't use --force here
179 automake -a -c --foreign
181 %{__aclocal} -I ../aclocal-fallback
183 # don't use --force here
184 automake -a -c --foreign
189 %{!?with_gtk1:--enable-gtk2} \
190 --with-plugindir=%{_libdir}/%{name} \
191 %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
196 rm -rf $RPM_BUILD_ROOT
197 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
200 DESTDIR=$RPM_BUILD_ROOT
202 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
203 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
204 install image/ethereal48x48-trans.png \
205 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
207 # plugins *.la are useless - *.so are loaded through gmodule
208 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
211 rm -rf $RPM_BUILD_ROOT
214 %defattr(644,root,root,755)
215 %attr(755,root,root) %{_bindir}/ethereal
216 %dir %{_libdir}/%{name}
217 %dir %{_libdir}/%{name}/plugins
218 %dir %{_libdir}/%{name}/plugins/%{version}
219 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
223 %{_mandir}/man1/ethereal.1*
226 %defattr(644,root,root,755)
227 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
228 %{_mandir}/man4/ethereal-filter.4*
231 %defattr(644,root,root,755)
232 %attr(755,root,root) %{_bindir}/dftest
233 %attr(755,root,root) %{_bindir}/editcap
234 %attr(755,root,root) %{_bindir}/ethereal_su
235 %attr(755,root,root) %{_bindir}/idl2eth
236 %attr(755,root,root) %{_bindir}/mergecap
237 %attr(755,root,root) %{_bindir}/text2pcap
238 %attr(755,root,root) %{_bindir}/randpkt
239 %{_mandir}/man1/editcap*
240 %{_mandir}/man1/idl2eth*
241 %{_mandir}/man1/mergecap*
242 %{_mandir}/man1/text2pcap*
245 %defattr(644,root,root,755)
246 %attr(755,root,root) %{_bindir}/tethereal
247 %{_mandir}/man1/tethereal*