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: http://www.ethereal.com/distribution/all-versions/%{name}-%{version}.tar.bz2
19 # Source0-md5: d889d4e6e26047afc5a2b74770c8ac88
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: zlib-devel
40 Requires: %{name}-common = %{version}-%{release}
41 Requires: libpcap >= 0.4
42 Requires: pango-modules
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 - editcap - Edit and/or translate the format of capture files
125 - mergecap - Merges two capture files into one
126 - text2cap - Generate a capture file from an ASCII hexdump of packets
128 %description tools -l pl
129 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
130 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
131 - mergecap - do ³±czenia dwóch plików w jeden,
132 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
135 %package -n tethereal
136 Summary: Text-mode network traffic and protocol analyzer
137 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
138 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
140 Requires: %{name}-common = %{version}-%{release}
141 Requires: libpcap >= 0.4
143 %description -n tethereal
144 Tethereal is a network protocol analyzer. It lets you capture packet
145 data from a live network, or read packets from a previously saved
146 capture file, either printing a decoded form of those packets to the
147 standard output or writing the packets to a file. Tethereal's native
148 capture file format is libpcap format, which is also the format used
149 by tcpdump and various other tools.
151 %description -n tethereal -l pl
152 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
153 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
154 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
155 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
156 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
157 tcpdumpem i innymi podobnymi narzêdziami.
159 %description -n tethereal -l pt_BR
160 Esta é uma versão para modo texto do analisador de tráfego de rede
163 %package -n libwiretap
164 Summary: Packet capture and analysis library
165 Summary(pl): Biblioteka do przechwytywania i analizy pakietów
168 %description -n libwiretap
169 Wiretap is a library that is being developed as a future replacement
170 for libpcap, the current standard Unix library for packet capturing.
172 %description -n libwiretap -l pl
173 Biblioteka Wiretap rozwijana jest jako przysz³y nastepca biblioteki
174 libpcap, obecnie standardu przechwytywania pakietów w systemach Unix.
176 %package -n libwiretap-devel
177 Summary: Header files for libwiretap packet capture library
178 Summary(pl): Pliki nag³ówkowe biblioteki libwiretap do przechwytywania pakietów
179 Group: Development/Libraries
180 Requires: libwiretap = %{version}-%{release}
182 Requires: gtk+-devel >= 1.2
184 Requires: gtk+2-devel >= 2.0.0
187 %description -n libwiretap-devel
188 Header files for libwiretap packet capture library.
190 %description -n libwiretap-devel -l pl
191 Pliki nag³ówkowe biblioteki libwiretap s³u¿±cej do przechwytywania
199 %{__aclocal} -I aclocal-fallback
203 #%{__aclocal} -I ../aclocal-fallback
205 # don't use --force here
206 #automake -a -c --foreign
208 %{__aclocal} -I ../aclocal-fallback
210 # don't use --force here
211 automake -a -c --foreign
217 %{!?with_gtk1:--enable-gtk2} \
218 %{?with_krb5:--with-krb5} \
219 %{!?with_snmp:--without-net-snmp --without-ucdsnmp} \
220 --with-plugindir=%{_libdir}/%{name}
225 rm -rf $RPM_BUILD_ROOT
226 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
229 DESTDIR=$RPM_BUILD_ROOT
231 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
232 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
233 install image/ethereal48x48-trans.png \
234 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
236 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
238 # plugins *.la are useless - *.so are loaded through gmodule
239 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
241 # no headers installed for this library
242 rm -f $RPM_BUILD_ROOT%{_libdir}/libethereal.{so,la}
245 rm -rf $RPM_BUILD_ROOT
247 %post common -p /sbin/ldconfig
248 %postun common -p /sbin/ldconfig
250 %post -n libwiretap -p /sbin/ldconfig
251 %postun -n libwiretap -p /sbin/ldconfig
254 %defattr(644,root,root,755)
255 %attr(755,root,root) %{_bindir}/ethereal
256 %attr(755,root,root) %{_bindir}/%{name}_su
257 %dir %{_libdir}/%{name}
258 %dir %{_libdir}/%{name}/plugins
259 %dir %{_libdir}/%{name}/plugins/%{version}
260 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
264 %{_mandir}/man1/ethereal.1*
267 %defattr(644,root,root,755)
268 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
269 %attr(755,root,root) %{_libdir}/libethereal.so.*.*.*
270 %{_mandir}/man4/ethereal-filter.4*
273 %defattr(644,root,root,755)
274 %attr(755,root,root) %{_bindir}/dftest
275 %attr(755,root,root) %{_bindir}/editcap
276 %attr(755,root,root) %{_bindir}/idl2eth
277 %attr(755,root,root) %{_bindir}/mergecap
278 %attr(755,root,root) %{_bindir}/text2pcap
279 %attr(755,root,root) %{_bindir}/randpkt
280 %{_mandir}/man1/editcap*
281 %{_mandir}/man1/idl2eth*
282 %{_mandir}/man1/mergecap*
283 %{_mandir}/man1/text2pcap*
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_bindir}/tethereal
288 %{_mandir}/man1/tethereal*
291 %defattr(644,root,root,755)
292 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
293 %attr(755,root,root) %{_libdir}/libwiretap.so.*.*.*
295 %files -n libwiretap-devel
296 %defattr(644,root,root,755)
297 %attr(755,root,root) %{_libdir}/libwiretap.so
298 %{_libdir}/libwiretap.la
299 %{_includedir}/wiretap