]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.spec
- updated to 0.10.4 (various security fixes, see:
[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.4
15 Release:        1
16 License:        GPL
17 Group:          Networking
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
27 BuildRequires:  flex
28 %if %{with gtk1}
29 BuildRequires:  gtk+-devel >= 1.2
30 %else
31 BuildRequires:  gtk+2-devel >= 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:  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)
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 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
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 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
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 - 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
127
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
133   pakietów.
134
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)
139 Group:          Networking
140 Requires:       %{name}-common = %{version}-%{release}
141 Requires:       libpcap >= 0.4
142
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.
150
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.
158
159 %description -n tethereal -l pt_BR
160 Esta é uma versão para modo texto do analisador de tráfego de rede
161 Ethereal.
162
163 %package -n libwiretap
164 Summary:        Packet capture and analysis library
165 Summary(pl):    Biblioteka do przechwytywania i analizy pakietów
166 Group:          Libraries
167
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.
171
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.
175
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}
181 %if %{with gtk1}
182 Requires:       gtk+-devel >= 1.2
183 %else
184 Requires:       gtk+2-devel >= 2.0.0
185 %endif
186
187 %description -n libwiretap-devel
188 Header files for libwiretap packet capture library.
189
190 %description -n libwiretap-devel -l pl
191 Pliki nag³ówkowe biblioteki libwiretap s³u¿±cej do przechwytywania
192 pakietów.
193
194 %prep
195 %setup -q
196
197 %build
198 %{__libtoolize}
199 %{__aclocal} -I aclocal-fallback
200 %{__autoconf}
201 %{__automake}
202 #cd epan
203 #%{__aclocal} -I ../aclocal-fallback
204 #%{__autoconf}
205 # don't use --force here
206 #automake -a -c --foreign
207 cd wiretap
208 %{__aclocal} -I ../aclocal-fallback
209 %{__autoconf}
210 # don't use --force here
211 automake -a -c --foreign
212 cd ..
213 %configure \
214         --enable-randpkt \
215         --enable-dftest \
216         --enable-threads \
217         %{!?with_gtk1:--enable-gtk2} \
218         %{?with_krb5:--with-krb5} \
219         %{!?with_snmp:--without-net-snmp --without-ucdsnmp} \
220         --with-plugindir=%{_libdir}/%{name}
221
222 %{__make}
223
224 %install
225 rm -rf $RPM_BUILD_ROOT
226 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
227
228 %{__make} install \
229         DESTDIR=$RPM_BUILD_ROOT
230
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
235
236 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
237
238 # plugins *.la are useless - *.so are loaded through gmodule
239 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
240
241 # no headers installed for this library
242 rm -f $RPM_BUILD_ROOT%{_libdir}/libethereal.{so,la}
243
244 %clean
245 rm -rf $RPM_BUILD_ROOT
246
247 %post   common -p /sbin/ldconfig
248 %postun common -p /sbin/ldconfig
249
250 %post   -n libwiretap -p /sbin/ldconfig
251 %postun -n libwiretap -p /sbin/ldconfig
252
253 %files
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
261 %{_datadir}/%{name}
262 %{_desktopdir}/*
263 %{_pixmapsdir}/*
264 %{_mandir}/man1/ethereal.1*
265
266 %files common
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*
271
272 %files tools
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*
284
285 %files -n tethereal
286 %defattr(644,root,root,755)
287 %attr(755,root,root) %{_bindir}/tethereal
288 %{_mandir}/man1/tethereal*
289
290 %files -n libwiretap
291 %defattr(644,root,root,755)
292 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
293 %attr(755,root,root) %{_libdir}/libwiretap.so.*.*.*
294
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
This page took 0.048713 seconds and 4 git commands to generate.