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: 6902272eb5304f57db76bf91abe453d1
19 Source1: %{name}.desktop
20 Source2: %{name}.su-start-script
21 URL: http://www.ethereal.com/
22 BuildRequires: autoconf
23 BuildRequires: automake
24 BuildRequires: libelf-devel
27 BuildRequires: gtk+-devel >= 1.2
29 BuildRequires: gtk+2-devel
31 BuildRequires: libpcap-devel >= 0.4
32 BuildRequires: libtool
33 BuildRequires: openssl-devel >= 0.9.6m
34 BuildRequires: perl-devel
35 %{!?_without_snmp:BuildRequires: ucd-snmp-devel}
36 BuildRequires: zlib-devel
37 Requires: %{name}-common = %{version}-%{release}
38 Requires: libpcap >= 0.4
39 Conflicts: pango = 1.0.5-1
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Obsoletes: ethereal-gnome
43 %define _prefix /usr/X11R6
44 %define _mandir /usr/X11R6/man
45 %define _desktopdir %{_applnkdir}/Network/Misc
48 Ethereal is the name for powerful graphical network sniffer, traffic
49 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
50 capture and interactively browse the contents of network frames with
51 vast knowledge of more than 100 network protocols. Ethereal has
52 severeal useful features, including a rich display filter language,
53 the ability to view the ASCII contents of a TCP connection and plug-in
57 Analizador de tráfico de red.
60 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
61 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
62 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
63 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
64 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
65 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
69 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
72 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
73 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
76 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
77 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
80 Summary: Network traffic and protocol analyzer - common files
81 Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
83 Requires: libwiretap = %{version}-%{release}
86 Ethereal is the name for powerful graphical network sniffer, traffic
87 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
88 capture and interactively browse the contents of network frames with
89 vast knowledge of more than 100 network protocols. Ethereal has
90 severeal useful features, including a rich display filter language,
91 the ability to view the ASCII contents of a TCP connection and plug-in
94 %description common -l es
95 Analizador de tráfico de red.
97 %description common -l pl
98 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
99 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
100 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
101 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
102 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
103 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
106 %description common -l pt_BR
107 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
109 %description common -l ru
110 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
111 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
113 %description common -l uk
114 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
115 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
118 Summary: Tools for manipulating capture files
119 Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
121 Requires: %{name}-common = %{version}-%{release}
124 Set of tools for manipulating capture files. Contains:
125 - editcap - Edit and/or translate the format of capture files
126 - mergecap - Merges two capture files into one
127 - text2cap - Generate a capture file from an ASCII hexdump of packets
129 %description tools -l pl
130 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
131 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
132 - mergecap - do ³±czenia dwóch plików w jeden,
133 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
136 %package -n tethereal
137 Summary: Text-mode network traffic and protocol analyzer
138 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
139 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
141 Requires: %{name}-common = %{version}-%{release}
142 Requires: libpcap >= 0.4
144 %description -n tethereal
145 Tethereal is a network protocol analyzer. It lets you capture packet
146 data from a live network, or read packets from a previously saved
147 capture file, either printing a decoded form of those packets to the
148 standard output or writing the packets to a file. Tethereal's native
149 capture file format is libpcap format, which is also the format used
150 by tcpdump and various other tools.
152 %description -n tethereal -l pl
153 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
154 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
155 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
156 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
157 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
158 tcpdumpem i innymi podobnymi narzêdziami.
160 %description -n tethereal -l pt_BR
161 Esta é uma versão para modo texto do analisador de tráfego de rede
164 %package -n libwiretap
165 Summary: Packet capture and analysis library
166 Summary(pl): Biblioteka do przechwytywania i analizy pakietów
169 %description -n libwiretap
170 Wiretap is a library that is being developed as a future replacement
171 for libpcap, the current standard Unix library for packet capturing.
173 %description -n libwiretap -l pl
174 Biblioteka Wiretap rozwijana jest jako przysz³y nastepca biblioteki
175 libpcap, obecnie standardu przechwytywania pakietów w systemach Unix.
177 %package -n libwiretap-devel
178 Summary: Header files for libwiretap packet capture library
179 Summary(pl): Pliki nag³ówkowe biblioteki libwiretap do przechwytywania pakietów
180 Group: Development/Libraries
182 Requires: gtk+-devel >= 1.2
184 Requires: gtk+2-devel
186 Requires: libwiretap = %{version}-%{release}
188 %description -n libwiretap-devel
189 Wiretap is a library that is being developed as a future replacement
190 for libpcap, the current standard Unix library for packet capturing.
191 Thos package contains files necessary for programming using Wiretap
194 %description -n libwiretap-devel -l pl
195 Biblioteka Wiretap rozwijana jest jako przysz³y nastepca biblioteki
196 libpcap, obecnie standardu przechwytywania pakietów w systemach Unix.
197 Pakiet zawiera pliki dla programistów korzystaj±cych z tej biblioteki.
205 %{__aclocal} -I aclocal-fallback
210 %{__aclocal} -I ../aclocal-fallback
212 # don't use --force here
213 automake -a -c --foreign
215 %{__aclocal} -I ../aclocal-fallback
217 # don't use --force here
218 automake -a -c --foreign
223 %{!?with_gtk1:--enable-gtk2} \
224 --with-plugindir=%{_libdir}/%{name} \
225 %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
230 rm -rf $RPM_BUILD_ROOT
231 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
234 DESTDIR=$RPM_BUILD_ROOT
236 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
237 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
238 install image/ethereal48x48-trans.png \
239 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
241 # plugins *.la are useless - *.so are loaded through gmodule
242 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
244 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
247 rm -rf $RPM_BUILD_ROOT
249 %post common -p /sbin/ldconfig
250 %postun common -p /sbin/ldconfig
252 %post -n libwiretap -p /sbin/ldconfig
253 %postun -n libwiretap -p /sbin/ldconfig
256 %defattr(644,root,root,755)
257 %attr(755,root,root) %{_bindir}/ethereal
258 %attr(755,root,root) %{_bindir}/%{name}_su
259 %dir %{_libdir}/%{name}
260 %dir %{_libdir}/%{name}/plugins
261 %dir %{_libdir}/%{name}/plugins/%{version}
262 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
266 %{_mandir}/man1/ethereal.1*
269 %defattr(644,root,root,755)
270 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
271 %attr(755,root,root) %{_libdir}/libethereal.so.*.*.*
272 %{_mandir}/man4/ethereal-filter.4*
275 %defattr(644,root,root,755)
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/editcap*
283 %{_mandir}/man1/idl2eth*
284 %{_mandir}/man1/mergecap*
285 %{_mandir}/man1/text2pcap*
288 %defattr(644,root,root,755)
289 %attr(755,root,root) %{_bindir}/tethereal
290 %{_mandir}/man1/tethereal*
293 %defattr(644,root,root,755)
294 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
295 %attr(755,root,root) %{_libdir}/libwiretap.so.*.*.*
297 %files -n libwiretap-devel
298 %defattr(644,root,root,755)
299 %{_includedir}/wiretap
300 %{_libdir}/libwiretap.so
301 %{_libdir}/libwiretap.la