3 %bcond_with gtk1 # builds gtk+1 (not gtk+2) based ethereal binary
4 %bcond_without krb5 # builds without kerberos5 support (via heimdal)
5 %bcond_without snmp # builds without snmp support
7 Summary: Network traffic and protocol analyzer
8 Summary(es): Analizador de tráfico de red
9 Summary(pl): Analizator ruchu i protoko³ów sieciowych
10 Summary(pt_BR): Analisador de tráfego de rede
11 Summary(ru): áÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ
12 Summary(uk): áÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ
18 Source0: ftp://ftp.ethereal.com/pub/ethereal/all-versions/%{name}-%{version}.tar.bz2
19 # Source0-md5: 722a2529c3a19b5b81c825bca444baea
20 Source1: %{name}.desktop
21 Source2: %{name}.su-start-script
22 URL: http://www.ethereal.com/
23 BuildRequires: adns-devel
24 BuildRequires: autoconf
25 BuildRequires: automake
26 BuildRequires: elfutils-devel
29 BuildRequires: gtk+-devel >= 1.2
31 BuildRequires: gtk+2-devel >= 2.0.0
33 %{?with_krb5:BuildRequires: heimdal-devel}
34 BuildRequires: libpcap-devel >= 0.4
35 BuildRequires: libtool
36 %{?with_snmp:BuildRequires: net-snmp-devel}
37 BuildRequires: openssl-devel >= 0.9.7d
38 BuildRequires: perl-devel
39 BuildRequires: xcursor-devel
40 BuildRequires: zlib-devel
41 Requires: %{name}-common = %{version}-%{release}
42 Requires: libpcap >= 0.4
43 Obsoletes: ethereal-gnome
44 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
47 Ethereal is the name for powerful graphical network sniffer, traffic
48 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
49 capture and interactively browse the contents of network frames with
50 vast knowledge of more than 100 network protocols. Ethereal has
51 severeal useful features, including a rich display filter language,
52 the ability to view the ASCII contents of a TCP connection and plug-in
56 Analizador de tráfico de red.
59 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
60 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
61 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
62 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
63 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
64 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
68 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
71 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
72 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
75 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
76 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
79 Summary: Network traffic and protocol analyzer - common files
80 Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
82 Requires: libwiretap = %{version}-%{release}
85 Ethereal is the name for powerful graphical network sniffer, traffic
86 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
87 capture and interactively browse the contents of network frames with
88 vast knowledge of more than 100 network protocols. Ethereal has
89 severeal useful features, including a rich display filter language,
90 the ability to view the ASCII contents of a TCP connection and plug-in
93 %description common -l es
94 Analizador de tráfico de red.
96 %description common -l pl
97 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
98 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
99 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
100 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
101 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
102 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
105 %description common -l pt_BR
106 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
108 %description common -l ru
109 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
110 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
112 %description common -l uk
113 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
114 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
117 Summary: Tools for manipulating capture files
118 Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
120 Requires: %{name}-common = %{version}-%{release}
123 Set of tools for manipulating capture files. Contains:
124 - capinfo - prints informatio about binary capture files,
125 - dftest - shows display filter byte-code,
126 - editcap - edit and/or translate the format of capture files,
127 - idl2eth - corba IDL to Ethereal Plugin Generator,
128 - mergecap - merges two capture files into one,
129 - text2cap - generate a capture file from an ASCII hexdump of packets.
131 %description tools -l pl
132 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
133 - capinfo - wy¶wietla informacje o binarnych plikach zrzutu,
134 - dftest - pokazuje byte-code filtrów wy¶wietlania,
135 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
136 - idl2eth - konwerter Corba IDL do pluginów Ethereal,
137 - mergecap - do ³±czenia dwóch plików w jeden,
138 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
141 %package -n tethereal
142 Summary: Text-mode network traffic and protocol analyzer
143 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
144 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
146 Requires: %{name}-common = %{version}-%{release}
147 Requires: libpcap >= 0.4
149 %description -n tethereal
150 Tethereal is a network protocol analyzer. It lets you capture packet
151 data from a live network, or read packets from a previously saved
152 capture file, either printing a decoded form of those packets to the
153 standard output or writing the packets to a file. Tethereal's native
154 capture file format is libpcap format, which is also the format used
155 by tcpdump and various other tools.
157 %description -n tethereal -l pl
158 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
159 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
160 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
161 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
162 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
163 tcpdumpem i innymi podobnymi narzêdziami.
165 %description -n tethereal -l pt_BR
166 Esta é uma versão para modo texto do analisador de tráfego de rede
169 %package -n libwiretap
170 Summary: Packet capture and analysis library
171 Summary(pl): Biblioteka do przechwytywania i analizy pakietów
174 %description -n libwiretap
175 Wiretap is a library that is being developed as a future replacement
176 for libpcap, the current standard Unix library for packet capturing.
178 %description -n libwiretap -l pl
179 Biblioteka Wiretap rozwijana jest jako przysz³y nastepca biblioteki
180 libpcap, obecnie standardu przechwytywania pakietów w systemach Unix.
182 %package -n libwiretap-devel
183 Summary: Header files for libwiretap packet capture library
184 Summary(pl): Pliki nag³ówkowe biblioteki libwiretap do przechwytywania pakietów
185 Group: Development/Libraries
186 Requires: libwiretap = %{version}-%{release}
188 Requires: gtk+-devel >= 1.2
190 Requires: gtk+2-devel >= 2.0.0
193 %description -n libwiretap-devel
194 Header files for libwiretap packet capture library.
196 %description -n libwiretap-devel -l pl
197 Pliki nag³ówkowe biblioteki libwiretap s³u¿±cej do przechwytywania
205 %{__aclocal} -I aclocal-fallback
209 %{__aclocal} -I ../aclocal-fallback
211 # don't use --force here
212 automake -a -c --foreign
218 %{!?with_gtk1:--enable-gtk2} \
219 %{?with_krb5:--with-krb5} \
220 %{!?with_snmp:--without-net-snmp --without-ucdsnmp} \
221 --with-plugindir=%{_libdir}/%{name}
226 rm -rf $RPM_BUILD_ROOT
227 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
230 DESTDIR=$RPM_BUILD_ROOT
232 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
233 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
234 install image/ethereal48x48-trans.png \
235 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
237 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
239 # plugins *.la are useless - *.so are loaded through gmodule
240 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
242 # no headers installed for this library
243 rm -f $RPM_BUILD_ROOT%{_libdir}/libethereal.{so,la}
246 rm -rf $RPM_BUILD_ROOT
248 %post common -p /sbin/ldconfig
249 %postun common -p /sbin/ldconfig
251 %post -n libwiretap -p /sbin/ldconfig
252 %postun -n libwiretap -p /sbin/ldconfig
255 %defattr(644,root,root,755)
256 %attr(755,root,root) %{_bindir}/ethereal
257 %attr(755,root,root) %{_bindir}/%{name}_su
258 %dir %{_libdir}/%{name}
259 %dir %{_libdir}/%{name}/plugins
260 %dir %{_libdir}/%{name}/plugins/%{version}
261 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
265 %{_mandir}/man1/ethereal.1*
268 %defattr(644,root,root,755)
269 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
270 %attr(755,root,root) %{_libdir}/libethereal.so.*.*.*
271 %{_mandir}/man4/ethereal-filter.4*
274 %defattr(644,root,root,755)
275 %attr(755,root,root) %{_bindir}/capinfo
276 %attr(755,root,root) %{_bindir}/dftest
277 %attr(755,root,root) %{_bindir}/editcap
278 %attr(755,root,root) %{_bindir}/idl2eth
279 %attr(755,root,root) %{_bindir}/mergecap
280 %attr(755,root,root) %{_bindir}/text2pcap
281 %attr(755,root,root) %{_bindir}/randpkt
282 %{_mandir}/man1/capinfo*
283 %{_mandir}/man1/editcap*
284 %{_mandir}/man1/idl2eth*
285 %{_mandir}/man1/mergecap*
286 %{_mandir}/man1/text2pcap*
289 %defattr(644,root,root,755)
290 %attr(755,root,root) %{_bindir}/tethereal
291 %{_mandir}/man1/tethereal*
294 %defattr(644,root,root,755)
295 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
296 %attr(755,root,root) %{_libdir}/libwiretap.so.*.*.*
298 %files -n libwiretap-devel
299 %defattr(644,root,root,755)
300 %attr(755,root,root) %{_libdir}/libwiretap.so
301 %{_libdir}/libwiretap.la
302 %{_includedir}/wiretap