]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.spec
- release 2 - merged from RA-branch
[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.0
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:  dea23de328137aef684a7fdaaa7de093
19 Source1:        %{name}.desktop
20 Source2:        %{name}.su-start-script
21 Source3:        %{name}-help.tar.gz
22 # Source3-md5:  a582acf9e473e457ee85a223587545e0
23 URL:            http://www.ethereal.com/
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
32 %endif
33 BuildRequires:  libpcap-devel >= 0.4
34 BuildRequires:  libtool
35 %{?with_snmp:BuildRequires:     net-snmp-devel}
36 BuildRequires:  openssl-devel >= 0.9.7c
37 BuildRequires:  perl-devel
38 BuildRequires:  zlib-devel
39 Requires:       libpcap >= 0.4
40 Requires:       %{name}-common = %{version}
41 Requires:       pango-modules
42 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
43 Obsoletes:      ethereal-gnome
44
45 %description
46 Ethereal is the name for powerful graphical network sniffer, traffic
47 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
48 capture and interactively browse the contents of network frames with
49 vast knowledge of more than 100 network protocols. Ethereal has
50 severeal useful features, including a rich display filter language,
51 the ability to view the ASCII contents of a TCP connection and plug-in
52 capabilities.
53
54 %description -l es
55 Analizador de tráfico de red.
56
57 %description -l pl
58 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
59 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
60 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
61 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
62 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
63 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
64 wtyczek (plug-ins).
65
66 %description -l pt_BR
67 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
68
69 %description -l ru
70 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
71 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
72
73 %description -l uk
74 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
75 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
76
77 %package common
78 Summary:        Network traffic and protocol analyzer - common files
79 Summary(pl):    Analizator ruchu i protoko³ów sieciowych - wspólne pliki
80 Group:          Networking
81
82 %description common
83 Ethereal is the name for powerful graphical network sniffer, traffic
84 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
85 capture and interactively browse the contents of network frames with
86 vast knowledge of more than 100 network protocols. Ethereal has
87 severeal useful features, including a rich display filter language,
88 the ability to view the ASCII contents of a TCP connection and plug-in
89 capabilities.
90
91 %description common -l es
92 Analizador de tráfico de red.
93
94 %description common -l pl
95 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
96 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
97 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
98 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
99 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
100 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
101 wtyczek (plug-ins).
102
103 %description common -l pt_BR
104 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
105
106 %description common -l ru
107 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
108 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
109
110 %description common -l uk
111 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
112 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
113
114 %package tools
115 Summary:        Tools for manipulating capture files
116 Summary(pl):    Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
117 Group:          Networking
118 Requires:       %{name}-common = %{version}
119
120 %description tools
121 Set of tools for manipulating capture files. Contains:
122 - editcap - Edit and/or translate the format of capture files
123 - mergecap - Merges two capture files into one
124 - text2cap - Generate a capture file from an ASCII hexdump of packets
125
126 %description tools -l pl
127 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
128 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
129 - mergecap - do ³±czenia dwóch plików w jeden,
130 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
131   pakietów.
132
133 %package -n tethereal
134 Summary:        Text-mode network traffic and protocol analyzer
135 Summary(pl):    Tekstowy analizator ruchu i protoko³ów sieciowych
136 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
137 Group:          Networking
138 Requires:       %{name}-common = %{version}
139 Requires:       libpcap >= 0.4
140
141 %description -n tethereal
142 Tethereal is a network protocol analyzer. It lets you capture packet
143 data from a live network, or read packets from a previously saved
144 capture file, either printing a decoded form of those packets to the
145 standard output or writing the packets to a file. Tethereal's native
146 capture file format is libpcap format, which is also the format used
147 by tcpdump and various other tools.
148
149 %description -n tethereal -l pl
150 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
151 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
152 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
153 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
154 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
155 tcpdumpem i innymi podobnymi narzêdziami.
156
157 %description -n tethereal -l pt_BR
158 Esta é uma versão para modo texto do analisador de tráfego de rede
159 Ethereal.
160
161 %prep
162 %setup -q -a3
163
164 %build
165 rm -f missing
166 %{__libtoolize}
167 %{__aclocal} -I aclocal-fallback
168 %{__autoconf}
169 %{__automake}
170 cd epan
171 rm -f missing
172 %{__aclocal} -I ../aclocal-fallback
173 %{__autoconf}
174 # don't use --force here
175 automake -a -c --foreign
176 cd ../wiretap
177 %{__aclocal} -I ../aclocal-fallback
178 %{__autoconf}
179 # don't use --force here
180 automake -a -c --foreign
181 cd ..
182 %configure \
183         --enable-randpkt \
184         --enable-dftest \
185         %{!?with_gtk1:--enable-gtk2} \
186         --with-plugindir=%{_libdir}/%{name} \
187         %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
188
189 %{__make}
190
191 %install
192 rm -rf $RPM_BUILD_ROOT
193 install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir}}
194
195 %{__make} install \
196         DESTDIR=$RPM_BUILD_ROOT
197
198 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
199 install %{SOURCE2} $RPM_BUILD_ROOT%{_bindir}/%{name}_su
200 install image/ethereal48x48-trans.png \
201         $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
202
203 # plugins *.la are useless - *.so are loaded through gmodule
204 rm -f $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}/*.la
205
206 %clean
207 rm -rf $RPM_BUILD_ROOT
208
209 %files
210 %defattr(644,root,root,755)
211 %attr(755,root,root) %{_bindir}/ethereal
212 %dir %{_libdir}/%{name}
213 %dir %{_libdir}/%{name}/plugins
214 %dir %{_libdir}/%{name}/plugins/%{version}
215 %attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}/*.so
216 %{_datadir}/%{name}
217 %{_desktopdir}/*
218 %{_pixmapsdir}/*
219 %{_mandir}/man1/ethereal.1*
220
221 %files common
222 %defattr(644,root,root,755)
223 %doc AUTHORS ChangeLog FAQ NEWS README{,.[lv]*} doc/{randpkt.txt,README.*}
224 %{_mandir}/man4/ethereal-filter.4*
225
226 %files tools
227 %defattr(644,root,root,755)
228 %attr(755,root,root) %{_bindir}/dftest
229 %attr(755,root,root) %{_bindir}/editcap
230 %attr(755,root,root) %{_bindir}/%{name}_su
231 %attr(755,root,root) %{_bindir}/idl2eth
232 %attr(755,root,root) %{_bindir}/mergecap
233 %attr(755,root,root) %{_bindir}/text2pcap
234 %attr(755,root,root) %{_bindir}/randpkt
235 %{_mandir}/man1/editcap*
236 %{_mandir}/man1/idl2eth*
237 %{_mandir}/man1/mergecap*
238 %{_mandir}/man1/text2pcap*
239
240 %files -n tethereal
241 %defattr(644,root,root,755)
242 %attr(755,root,root) %{_bindir}/tethereal
243 %{_mandir}/man1/tethereal*
This page took 0.039682 seconds and 4 git commands to generate.