]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.spec
- release 2 (1 is for Ra)
[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 snmp             # builds without snmp support
5 #
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):    áÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ
12 Name:           ethereal
13 Version:        0.10.2
14 Release:        2
15 License:        GPL
16 Group:          Networking
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
25 BuildRequires:  flex
26 %if %{with gtk1}
27 BuildRequires:  gtk+-devel >= 1.2
28 %else
29 BuildRequires:  gtk+2-devel
30 %endif
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
42
43 %description
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
50 capabilities.
51
52 %description -l es
53 Analizador de tráfico de red.
54
55 %description -l pl
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
62 wtyczek (plug-ins).
63
64 %description -l pt_BR
65 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
66
67 %description -l ru
68 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
69 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
70
71 %description -l uk
72 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
73 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
74
75 %package common
76 Summary:        Network traffic and protocol analyzer - common files
77 Summary(pl):    Analizator ruchu i protoko³ów sieciowych - wspólne pliki
78 Group:          Networking
79
80 %description common
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
87 capabilities.
88
89 %description common -l es
90 Analizador de tráfico de red.
91
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
99 wtyczek (plug-ins).
100
101 %description common -l pt_BR
102 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
103
104 %description common -l ru
105 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
106 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
107
108 %description common -l uk
109 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
110 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
111
112 %package tools
113 Summary:        Tools for manipulating capture files
114 Summary(pl):    Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
115 Group:          Networking
116 Requires:       %{name}-common = %{version}
117
118 %description tools
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
123
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
129   pakietów.
130
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)
135 Group:          Networking
136 Requires:       %{name}-common = %{version}
137 Requires:       libpcap >= 0.4
138
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.
146
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.
154
155 %description -n tethereal -l pt_BR
156 Esta é uma versão para modo texto do analisador de tráfego de rede
157 Ethereal.
158
159 %package -n libwiretap-devel
160 Summary:        Packet capture library
161 Summary(pl):    Biblioteka do przechwytywania pakietów
162 Group:          Development/Libraries
163 %if %{with gtk1}
164 Requires:       gtk+-devel >= 1.2
165 %else
166 Requires:       gtk+2-devel
167 %endif
168
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.
172
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.
176
177 %prep
178 %setup -q
179
180 %build
181 rm -f missing
182 %{__libtoolize}
183 %{__aclocal} -I aclocal-fallback
184 %{__autoconf}
185 %{__automake}
186 cd epan
187 rm -f missing
188 %{__aclocal} -I ../aclocal-fallback
189 %{__autoconf}
190 # don't use --force here
191 automake -a -c --foreign
192 cd ../wiretap
193 %{__aclocal} -I ../aclocal-fallback
194 %{__autoconf}
195 # don't use --force here
196 automake -a -c --foreign
197 cd ..
198 %configure \
199         --enable-randpkt \
200         --enable-dftest \
201         %{!?with_gtk1:--enable-gtk2} \
202         --with-plugindir=%{_libdir}/%{name} \
203         %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
204
205 %{__make}
206
207 %install
208 rm -rf $RPM_BUILD_ROOT
209 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wiretap}
210
211 %{__make} install \
212         DESTDIR=$RPM_BUILD_ROOT
213
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
218
219 install wiretap/*.a $RPM_BUILD_ROOT%{_libdir}
220 install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wiretap
221
222 # plugins *.la are useless - *.so are loaded through gmodule
223 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
224
225 %clean
226 rm -rf $RPM_BUILD_ROOT
227
228 %files
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
236 %{_datadir}/%{name}
237 %{_desktopdir}/*
238 %{_pixmapsdir}/*
239 %{_mandir}/man1/ethereal.1*
240
241 %files common
242 %defattr(644,root,root,755)
243 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
244 %{_mandir}/man4/ethereal-filter.4*
245
246 %files tools
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*
258
259 %files -n tethereal
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_bindir}/tethereal
262 %{_mandir}/man1/tethereal*
263
264 %files -n libwiretap-devel
265 %defattr(644,root,root,755)
266 %doc wiretap/{README*,AUTHORS,NEWS,ChangeLog}
267 %{_includedir}/wiretap
268 %{_libdir}/lib*.a
This page took 0.045717 seconds and 4 git commands to generate.