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