3 # _with_gtk1 - builds gtk+1 (not gtk+2) based ethereal binary
4 # _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/%{name}-%{version}.tar.bz2
18 # Source0-md5: ab33d191f3cca324e5c819e9e4c034e1
19 Source1: %{name}.desktop
20 Source2: %{name}.su-start-script
21 URL: http://www.ethereal.com/
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: elfutils-devel
27 BuildRequires: gtk+-devel >= 1.2
29 BuildRequires: gtk+2-devel
31 BuildRequires: libpcap-devel >= 0.4
32 BuildRequires: libtool
33 %{!?_without_snmp:BuildRequires: net-snmp-devel}
34 BuildRequires: openssl-devel >= 0.9.7c
35 BuildRequires: perl-devel
36 BuildRequires: zlib-devel
37 Requires: libpcap >= 0.4
38 Requires: %{name}-common = %{version}
39 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40 Obsoletes: ethereal-gnome
43 Ethereal is the name for powerful graphical network sniffer, traffic
44 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
45 capture and interactively browse the contents of network frames with
46 vast knowledge of more than 100 network protocols. Ethereal has
47 severeal useful features, including a rich display filter language,
48 the ability to view the ASCII contents of a TCP connection and plug-in
52 Analizador de tráfico de red.
55 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
56 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
57 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
58 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
59 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
60 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
64 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
67 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
68 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
71 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
72 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
75 Summary: Network traffic and protocol analyzer - common files
76 Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
80 Ethereal is the name for powerful graphical network sniffer, traffic
81 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
82 capture and interactively browse the contents of network frames with
83 vast knowledge of more than 100 network protocols. Ethereal has
84 severeal useful features, including a rich display filter language,
85 the ability to view the ASCII contents of a TCP connection and plug-in
88 %description common -l es
89 Analizador de tráfico de red.
91 %description common -l pl
92 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
93 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
94 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
95 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
96 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
97 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
100 %description common -l pt_BR
101 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
103 %description common -l ru
104 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
105 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
107 %description common -l uk
108 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
109 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
112 Summary: Tools for manipulating capture files
113 Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
115 Requires: %{name}-common = %{version}
118 Set of tools for manipulating capture files. Contains:
119 - editcap - Edit and/or translate the format of capture files
120 - mergecap - Merges two capture files into one
121 - text2cap - Generate a capture file from an ASCII hexdump of packets
123 %description tools -l pl
124 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
125 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
126 - mergecap - do ³±czenia dwóch plików w jeden,
127 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
130 %package -n tethereal
131 Summary: Text-mode network traffic and protocol analyzer
132 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
133 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
135 Requires: %{name}-common = %{version}
136 Requires: libpcap >= 0.4
138 %description -n tethereal
139 Tethereal is a network protocol analyzer. It lets you capture packet
140 data from a live network, or read packets from a previously saved
141 capture file, either printing a decoded form of those packets to the
142 standard output or writing the packets to a file. Tethereal's native
143 capture file format is libpcap format, which is also the format used
144 by tcpdump and various other tools.
146 %description -n tethereal -l pl
147 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
148 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
149 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
150 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
151 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
152 tcpdumpem i innymi podobnymi narzêdziami.
154 %description -n tethereal -l pt_BR
155 Esta é uma versão para modo texto do analisador de tráfego de rede
164 %{__aclocal} -I aclocal-fallback
169 %{__aclocal} -I ../aclocal-fallback
171 # don't use --force here
172 automake -a -c --foreign
174 %{__aclocal} -I ../aclocal-fallback
176 # don't use --force here
177 automake -a -c --foreign
181 %{!?_with_gtk1:--enable-gtk2} \
182 --with-plugindir=%{_libdir}/%{name} \
183 %{?_without_snmp:--without-net-snmp --without-ucdsnmp}
188 rm -rf $RPM_BUILD_ROOT
189 install -d $RPM_BUILD_ROOT{%{_applnkdir}/Network/Misc,%{_pixmapsdir}}
192 DESTDIR=$RPM_BUILD_ROOT
194 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Network/Misc
195 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
196 install image/ethereal48x48-trans.png \
197 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
199 # plugins *.la are useless - *.so are loaded through gmodule
200 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
203 rm -rf $RPM_BUILD_ROOT
206 %defattr(644,root,root,755)
207 %attr(755,root,root) %{_bindir}/ethereal
208 %dir %{_libdir}/%{name}
209 %dir %{_libdir}/%{name}/plugins
210 %dir %{_libdir}/%{name}/plugins/%{version}
211 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
213 %{_applnkdir}/Network/Misc/*
215 %{_mandir}/man1/ethereal.1*
218 %defattr(644,root,root,755)
219 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
220 %{_mandir}/man4/ethereal-filter.4*
223 %defattr(644,root,root,755)
224 %attr(755,root,root) %{_bindir}/editcap
225 %attr(755,root,root) %{_bindir}/mergecap
226 %attr(755,root,root) %{_bindir}/randpkt
227 %attr(755,root,root) %{_bindir}/text2pcap
228 %attr(755,root,root) %{_bindir}/ethereal_su
229 %attr(755,root,root) %{_bindir}/idl2eth
230 %{_mandir}/man1/editcap*
231 %{_mandir}/man1/mergecap*
232 %{_mandir}/man1/text2pcap*
233 %{_mandir}/man1/idl2eth*
236 %defattr(644,root,root,755)
237 %attr(755,root,root) %{_bindir}/tethereal
238 %{_mandir}/man1/tethereal*