]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.spec
- updated to 0.10.10 [fixes CAN-2005-0704,CAN-2005-0705,CAN-2005-0699]
[packages/wireshark.git] / wireshark.spec
1 #
2 # Conditional build:
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
6 #
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):    áÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ
13 Name:           ethereal
14 Version:        0.10.10
15 Release:        1
16 License:        GPL
17 Group:          Networking
18 Source0:        ftp://ftp.ethereal.com/pub/ethereal/all-versions/%{name}-%{version}.tar.bz2
19 # Source0-md5:  5addaf1db088a8b51941e4db191b0ab0
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
27 BuildRequires:  flex
28 %if %{with gtk1}
29 BuildRequires:  gtk+-devel >= 1.2
30 %else
31 BuildRequires:  gtk+2-devel >= 1:2.0.0
32 %endif
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:  pkgconfig
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)
45
46 %description
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
53 capabilities.
54
55 %description -l es
56 Analizador de tráfico de red.
57
58 %description -l pl
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 interaktywn± 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
65 wtyczek (plug-ins).
66
67 %description -l pt_BR
68 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
69
70 %description -l ru
71 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
72 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
73
74 %description -l uk
75 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
76 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
77
78 %package common
79 Summary:        Network traffic and protocol analyzer - common files
80 Summary(pl):    Analizator ruchu i protoko³ów sieciowych - wspólne pliki
81 Group:          Networking
82 Requires:       libwiretap = %{version}-%{release}
83
84 %description common
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
91 capabilities.
92
93 %description common -l es
94 Analizador de tráfico de red.
95
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 interaktywn± 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
103 wtyczek (plug-ins).
104
105 %description common -l pt_BR
106 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
107
108 %description common -l ru
109 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
110 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
111
112 %description common -l uk
113 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
114 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
115
116 %package tools
117 Summary:        Tools for manipulating capture files
118 Summary(pl):    Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
119 Group:          Networking
120 Requires:       %{name}-common = %{version}-%{release}
121
122 %description tools
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.
130
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
139   pakietów.
140
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)
145 Group:          Networking
146 Requires:       %{name}-common = %{version}-%{release}
147 Requires:       libpcap >= 0.4
148
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.
156
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.
164
165 %description -n tethereal -l pt_BR
166 Esta é uma versão para modo texto do analisador de tráfego de rede
167 Ethereal.
168
169 %package -n libwiretap
170 Summary:        Packet capture and analysis library
171 Summary(pl):    Biblioteka do przechwytywania i analizy pakietów
172 Group:          Libraries
173
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.
177
178 %description -n libwiretap -l pl
179 Biblioteka Wiretap rozwijana jest jako przysz³y nastêpca biblioteki
180 libpcap, obecnie standardu przechwytywania pakietów w systemach Unix.
181
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}
187 %if %{with gtk1}
188 Requires:       gtk+-devel >= 1.2
189 %else
190 Requires:       gtk+2-devel >= 2.0.0
191 %endif
192
193 %description -n libwiretap-devel
194 Header files for libwiretap packet capture library.
195
196 %description -n libwiretap-devel -l pl
197 Pliki nag³ówkowe biblioteki libwiretap s³u¿±cej do przechwytywania
198 pakietów.
199
200 %prep
201 %setup -q
202
203 %build
204 %{__libtoolize}
205 %{__aclocal} -I aclocal-fallback
206 %{__autoconf}
207 %{__automake}
208 cd wiretap
209 %{__aclocal} -I ../aclocal-fallback
210 %{__autoconf}
211 # don't use --force here
212 automake -a -c --foreign
213 cd ..
214 %configure \
215         --enable-randpkt \
216         --enable-dftest \
217         --enable-threads \
218         %{!?with_gtk1:--enable-gtk2} \
219 %if %{with krb5}
220         --with-krb5 \
221         --with-ssl \
222 %endif
223         %{!?with_snmp:--without-net-snmp --without-ucdsnmp} \
224         --with-plugindir=%{_libdir}/%{name}
225
226 %{__make}
227
228 %install
229 rm -rf $RPM_BUILD_ROOT
230 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
231
232 %{__make} install \
233         DESTDIR=$RPM_BUILD_ROOT
234
235 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
236 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
237 install image/ethereal48x48-trans.png \
238         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
239
240 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
241
242 # plugins *.la are useless - *.so are loaded through gmodule
243 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
244
245 # no headers installed for this library
246 rm -f $RPM_BUILD_ROOT%{_libdir}/libethereal.{so,la}
247
248 %clean
249 rm -rf $RPM_BUILD_ROOT
250
251 %post   common -p /sbin/ldconfig
252 %postun common -p /sbin/ldconfig
253
254 %post   -n libwiretap -p /sbin/ldconfig
255 %postun -n libwiretap -p /sbin/ldconfig
256
257 %files
258 %defattr(644,root,root,755)
259 %attr(755,root,root) %{_bindir}/ethereal
260 %attr(755,root,root) %{_bindir}/%{name}_su
261 %dir %{_libdir}/%{name}
262 %dir %{_libdir}/%{name}/plugins
263 %dir %{_libdir}/%{name}/plugins/%{version}
264 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
265 %{_datadir}/%{name}
266 %{_desktopdir}/*
267 %{_pixmapsdir}/*
268 %{_mandir}/man1/ethereal.1*
269
270 %files common
271 %defattr(644,root,root,755)
272 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
273 %attr(755,root,root) %{_libdir}/libethereal.so.*.*.*
274 %{_mandir}/man4/ethereal-filter.4*
275
276 %files tools
277 %defattr(644,root,root,755)
278 %attr(755,root,root) %{_bindir}/capinfos
279 %attr(755,root,root) %{_bindir}/dftest
280 %attr(755,root,root) %{_bindir}/editcap
281 %attr(755,root,root) %{_bindir}/idl2eth
282 %attr(755,root,root) %{_bindir}/mergecap
283 %attr(755,root,root) %{_bindir}/text2pcap
284 %attr(755,root,root) %{_bindir}/randpkt
285 %{_mandir}/man1/capinfo*
286 %{_mandir}/man1/editcap*
287 %{_mandir}/man1/idl2eth*
288 %{_mandir}/man1/mergecap*
289 %{_mandir}/man1/text2pcap*
290
291 %files -n tethereal
292 %defattr(644,root,root,755)
293 %attr(755,root,root) %{_bindir}/tethereal
294 %{_mandir}/man1/tethereal*
295
296 %files -n libwiretap
297 %defattr(644,root,root,755)
298 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
299 %attr(755,root,root) %{_libdir}/libwiretap.so.*.*.*
300
301 %files -n libwiretap-devel
302 %defattr(644,root,root,755)
303 %attr(755,root,root) %{_libdir}/libwiretap.so
304 %{_libdir}/libwiretap.la
305 %{_includedir}/wiretap
This page took 0.047916 seconds and 4 git commands to generate.