]> git.pld-linux.org Git - packages/wireshark.git/blob - wireshark.spec
- use automake without --force instead of bogus copying of ltmain.sh
[packages/wireshark.git] / wireshark.spec
1 #
2 # --with gtk1   builds gtk+1 based ethereal binary
3 #
4
5 Summary:        Network traffic and protocol analyzer
6 Summary(es):    Analizador de tráfico de red
7 Summary(pl):    Analizator ruchu i protoko³ów sieciowych
8 Summary(pt_BR): Analisador de tráfego de rede
9 Name:           ethereal
10 Version:        0.9.12
11 Release:        3
12 License:        GPL
13 Group:          Networking
14 Source0:        http://www.ethereal.com/distribution/%{name}-%{version}.tar.bz2
15 Source1:        %{name}.desktop
16 Source2:        %{name}.su-start-script
17 Patch0:         %{name}-distcc.patch
18 URL:            http://www.ethereal.com/
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  flex
22 BuildRequires:  glib-devel
23 %if %{?_with_gtk1:1}0
24 BuildRequires:  gtk+-devel >= 1.2
25 %else
26 BuildRequires:  gtk+2-devel
27 %endif
28 BuildRequires:  libpcap-devel >= 0.4
29 BuildRequires:  libtool
30 %{!?_without_snmp:BuildRequires:        net-snmp-devel}
31 BuildRequires:  openssl-devel >= 0.9.7
32 BuildRequires:  perl-devel
33 BuildRequires:  zlib-devel
34 Requires:       libpcap >= 0.4
35 Requires:       %{name}-common
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38
39 %description
40 Ethereal is the name for powerful graphical network sniffer, traffic
41 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
42 capture and interactively browse the contents of network frames with
43 vast knowledge of more than 100 network protocols. Ethereal has
44 severeal useful features, including a rich display filter language,
45 the ability to view the ASCII contents of a TCP connection and plug-in
46 capabilities.
47
48 %description -l es
49 Analizador de tráfico de red.
50
51 %description -l pl
52 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
53 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
54 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
55 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
56 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
57 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
58 wtyczek (plug-ins).
59
60 %description -l pt_BR
61 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
62
63 %package common
64 Summary:        Network traffic and protocol analyzer - common files
65 Summary(pl):    Analizator ruchu i protoko³ów sieciowych - wspólne pliki
66 Group:          Networking
67
68 %description common
69 Ethereal is the name for powerful graphical network sniffer, traffic
70 and protocol analyzer based on GTK+ and libpcap libraries. It lets you
71 capture and interactively browse the contents of network frames with
72 vast knowledge of more than 100 network protocols. Ethereal has
73 severeal useful features, including a rich display filter language,
74 the ability to view the ASCII contents of a TCP connection and plug-in
75 capabilities.
76
77 %description common -l es
78 Analizador de tráfico de red.
79
80 %description common -l pl
81 Ethereal jest potê¿nym, graficznym snifferem, analizatorem ruchu oraz
82 protoko³ów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
83 Umo¿liwia on przechwytywanie oraz intereaktywn± analizê zawarto¶ci
84 ramek oraz ponad stu protoko³ów sieciowych. Ethereal posiada wiele
85 u¿ytecznych cech, takich jak rozbudowany jêzyk filtrów wy¶wietlania,
86 mo¿liwo¶æ ogl±dania przebiegu sesji TCP oraz mo¿liwo¶æ do³±czania
87 wtyczek (plug-ins).
88
89 %description common -l pt_BR
90 O Ethereal é um analisador de protocolo de rede baseado no GTK+.
91
92 %description -l ru
93 Ethereal - ÜÔÏ ÁÎÁÌÉÚÁÔÏÒ ÓÅÔÅ×ÏÇÏ ÔÒÁÆÆÉËÁ ÄÌÑ Unix-ÐÏÄÏÂÎÙÈ ïó. ïÎ
94 ÂÁÚÉÒÕÅÔÓÑ ÎÁ GTK+ É libpcap.
95
96 %description -l uk
97 Ethereal - ÃÅ ÁÎÁ̦ÚÁÔÏÒ ÍÅÒÅÖÅ×ÏÇÏ ÔÒÁƦËÕ ÄÌÑ Unix-ÐÏĦÂÎÉÈ ïó. ÷¦Î
98 ÂÁÚÕ¤ÔØÓÑ ÎÁ GTK+ ÔÁ libpcap.
99
100 %package tools
101 Summary:        Tools for manipulating capture files
102 Summary(pl):    Narzêdzia do obróbki plików z przechwyconymi pakietami sieciowymi
103 Group:          Networking
104 Requires:       ethereal-common = %{version}
105
106 %description tools
107 Set of tools for manipulating capture files. Contains:
108 - editcap - Edit and/or translate the format of capture files
109 - mergecap - Merges two capture files into one
110 - text2cap - Generate a capture file from an ASCII hexdump of packets
111
112 %description tools -l pl
113 Zestaw narzêdzi do obróbki plików z przechwyconymi pakietami. Zawiera:
114 - editcap - do edycji plików i t³umaczenia ich na inne formaty,
115 - mergecap - do ³±czenia dwóch plików w jeden,
116 - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII
117   pakietów.
118
119 %package -n tethereal
120 Summary:        Text-mode network traffic and protocol analyzer
121 Summary(pl):    Tekstowy analizator ruchu i protoko³ów sieciowych
122 Summary(pt_BR): Analisador modo texto de tráfego de rede (sniffer)
123 Group:          Networking
124 Requires:       ethereal-common = %{version}
125 Requires:       libpcap >= 0.4
126
127 %description -n tethereal
128 Tethereal is a network protocol analyzer. It lets you capture packet
129 data from a live network, or read packets from a previously saved
130 capture file, either printing a decoded form of those packets to the
131 standard output or writing the packets to a file. Tethereal's native
132 capture file format is libpcap format, which is also the format used
133 by tcpdump and various other tools.
134
135 %description -n tethereal -l pl
136 Tethereal jest analizatorem protoko³ów sieciowych. Pozwala na
137 przechwytywanie pakietów z sieci lub wczytywanie danych z pliku.
138 Zdekodowany wynik (a tethereal zna ponad 100 rozmaitych protoko³ów
139 sieciowych!) jest wy¶wietlony na ekranie. Natywnym formatem plików
140 tetherala jest format libpcap, tak wiêc jest on kompatybilny z
141 tcpdumpem i innymi podobnymi narzêdziami.
142
143 %description -n tethereal -l pt_BR
144 Esta é uma versão para modo texto do analisador de tráfego de rede
145 Ethereal.
146
147 %prep
148 %setup -q
149 %patch0 -p1
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.051494 seconds and 4 git commands to generate.