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