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