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: 0a989aeac595db09eae722c350498e40
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 %{?with_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 Requires: pango-modules
40 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
41 Obsoletes: ethereal-gnome
44 Ethereal is the name for powerful graphical network sniffer, traffic
45 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
46 capture and interactively browse the contents of network frames with
47 vast knowledge of more than 100 network protocols. Ethereal has
48 severeal useful features, including a rich display filter language,
49 the ability to view the ASCII contents of a TCP connection and plug-in
53 Analizador de tráfico de red.
56 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
57 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
58 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
59 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
60 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
61 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
65 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
68 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
69 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
72 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
73 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
76 Summary: Network traffic and protocol analyzer - common files
77 Summary(pl): Analizator ruchu i protoko³ów sieciowych - wspólne pliki
81 Ethereal is the name for powerful graphical network sniffer, traffic
82 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
83 capture and interactively browse the contents of network frames with
84 vast knowledge of more than 100 network protocols. Ethereal has
85 severeal useful features, including a rich display filter language,
86 the ability to view the ASCII contents of a TCP connection and plug-in
89 %description common -l es
90 Analizador de tráfico de red.
92 %description common -l pl
93 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
94 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
95 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
96 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
97 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
98 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
101 %description common -l pt_BR
102 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
104 %description common -l ru
105 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
106 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
108 %description common -l uk
109 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
110 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
113 Summary: Tools for manipulating capture files
114 Summary(pl): Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
116 Requires: %{name}-common = %{version}
119 Set of tools for manipulating capture files. Contains:
120 - editcap - Edit and/or translate the format of capture files
121 - mergecap - Merges two capture files into one
122 - text2cap - Generate a capture file from an ASCII hexdump of packets
124 %description tools -l pl
125 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
126 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
127 - mergecap - do ³±czenia dwóch plików w jeden,
128 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
131 %package -n tethereal
132 Summary: Text-mode network traffic and protocol analyzer
133 Summary(pl): Tekstowy analizator ruchu i protoko³ów sieciowych
134 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
136 Requires: %{name}-common = %{version}
137 Requires: libpcap >= 0.4
139 %description -n tethereal
140 Tethereal is a network protocol analyzer. It lets you capture packet
141 data from a live network, or read packets from a previously saved
142 capture file, either printing a decoded form of those packets to the
143 standard output or writing the packets to a file. Tethereal's native
144 capture file format is libpcap format, which is also the format used
145 by tcpdump and various other tools.
147 %description -n tethereal -l pl
148 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
149 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
150 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
151 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
152 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
153 tcpdumpem i innymi podobnymi narzêdziami.
155 %description -n tethereal -l pt_BR
156 Esta é uma versão para modo texto do analisador de tráfego de rede
159 %package -n libwiretap-devel
160 Summary: Packet capture library
161 Summary(pl): Biblioteka do przechwytywania pakietów
162 Group: Development/Libraries
164 Requires: gtk+-devel >= 1.2
166 Requires: gtk+2-devel
169 %description -n libwiretap-devel
170 Wiretap is a library that is being developed as a future replacement for
171 libpcap, the current standard Unix library for packet capturing.
173 %description -n libwiretap-devel -l pl
174 Biblioteka rozwijana jako przysz³y nastepca biblioteki libpcap, obecnie
175 standardu przechwytywania pakietów w systemach Unix.
183 %{__aclocal} -I aclocal-fallback
188 %{__aclocal} -I ../aclocal-fallback
190 # don't use --force here
191 automake -a -c --foreign
193 %{__aclocal} -I ../aclocal-fallback
195 # don't use --force here
196 automake -a -c --foreign
201 %{!?with_gtk1:--enable-gtk2} \
202 --with-plugindir=%{_libdir}/%{name} \
203 %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
208 rm -rf $RPM_BUILD_ROOT
209 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
212 DESTDIR=$RPM_BUILD_ROOT
214 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
215 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
216 install image/ethereal48x48-trans.png \
217 $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
219 install wiretap/*.a $RPM_BUILD_ROOT%{_libdir}
220 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
222 # plugins *.la are useless - *.so are loaded through gmodule
223 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
226 rm -rf $RPM_BUILD_ROOT
229 %defattr(644,root,root,755)
230 %attr(755,root,root) %{_bindir}/ethereal
231 %attr(755,root,root) %{_bindir}/%{name}_su
232 %dir %{_libdir}/%{name}
233 %dir %{_libdir}/%{name}/plugins
234 %dir %{_libdir}/%{name}/plugins/%{version}
235 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
239 %{_mandir}/man1/ethereal.1*
242 %defattr(644,root,root,755)
243 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
244 %{_mandir}/man4/ethereal-filter.4*
247 %defattr(644,root,root,755)
248 %attr(755,root,root) %{_bindir}/dftest
249 %attr(755,root,root) %{_bindir}/editcap
250 %attr(755,root,root) %{_bindir}/idl2eth
251 %attr(755,root,root) %{_bindir}/mergecap
252 %attr(755,root,root) %{_bindir}/text2pcap
253 %attr(755,root,root) %{_bindir}/randpkt
254 %{_mandir}/man1/editcap*
255 %{_mandir}/man1/idl2eth*
256 %{_mandir}/man1/mergecap*
257 %{_mandir}/man1/text2pcap*
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_bindir}/tethereal
262 %{_mandir}/man1/tethereal*
264 %files -n libwiretap-devel
265 %defattr(644,root,root,755)
266 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
267 %{_includedir}/wiretap