]>
Commit | Line | Data |
---|---|---|
3eaa205f | 1 | # TODO |
3db19835 ER |
2 | # - use policykit to gain root |
3 | # - use %caps when rpm supports it: %attr(750,root,wireshark) %caps(cap_net_raw,cap_net_admin=eip) %{_sbindir}/dumpcap | |
06ce418f | 4 | # |
681bd53b | 5 | # Conditional build: |
d2bee84f JB |
6 | %bcond_without kerberos5 # Kerberos V support |
7 | %bcond_without snmp # SNMP support | |
ec8bfdcc | 8 | %bcond_without gui # without QT GUI |
f362b44f | 9 | |
16236945 | 10 | %define branch_ver 3.4 |
c06ca841 | 11 | Summary: Network traffic and protocol analyzer |
301eb42a ER |
12 | Summary(es.UTF-8): Analizador de tráfico de red |
13 | Summary(pl.UTF-8): Analizator ruchu i protokołów sieciowych | |
14 | Summary(pt_BR.UTF-8): Analisador de tráfego de rede | |
15 | Summary(ru.UTF-8): Анализатор сетевого траффика | |
16 | Summary(uk.UTF-8): Аналізатор мережевого трафіку | |
3564cfa5 | 17 | Name: wireshark |
16236945 KM |
18 | Version: 3.4.6 |
19 | Release: 1 | |
9c2845b9 | 20 | License: GPL v2+ |
6d55af47 | 21 | Group: Networking/Utilities |
6101a021 | 22 | Source0: https://www.wireshark.org/download/src/%{name}-%{version}.tar.xz |
16236945 | 23 | # Source0-md5: 93e5fca965b7fcd6642aba1f43b80dcd |
6101a021 | 24 | URL: https://www.wireshark.org/ |
eab87a3c | 25 | BuildRequires: bcg729-devel |
00a07a36 | 26 | BuildRequires: bison |
c0f52847 | 27 | BuildRequires: cmake >= 3.5 |
eab87a3c | 28 | BuildRequires: c-ares-devel >= 1.5.0 |
eb0e86a1 | 29 | BuildRequires: doxygen |
ad2318ff | 30 | BuildRequires: flex |
6101a021 | 31 | BuildRequires: gcc >= 5:3.2 |
c0f52847 | 32 | BuildRequires: gettext-tools |
6101a021 | 33 | BuildRequires: glib2-devel >= 1:2.32 |
ec8bfdcc | 34 | BuildRequires: gnutls-devel >= 3.2.0 |
c1939565 | 35 | %{?with_kerberos5:BuildRequires: heimdal-devel} |
c0f52847 | 36 | BuildRequires: libbrotli-devel |
558b2cad | 37 | BuildRequires: libcap-devel |
d2bee84f | 38 | BuildRequires: libgcrypt-devel >= 1.4.2 |
fdb8d76d | 39 | BuildRequires: libmaxminddb-devel |
eb0e86a1 | 40 | BuildRequires: libnl-devel >= 3.2 |
2dee0cf7 | 41 | BuildRequires: libpcap-devel >= 2:1.0.0-4 |
6101a021 | 42 | BuildRequires: libssh-devel >= 0.6.0 |
38791bb5 | 43 | BuildRequires: libsmi-devel |
c0f52847 | 44 | BuildRequires: libstdc++-devel >= 6:4.7 |
6101a021 JB |
45 | BuildRequires: libtool >= 2:2.2.2 |
46 | BuildRequires: libxml2-devel >= 2.0 | |
9f20d4ae | 47 | BuildRequires: libxslt-progs |
5bc49780 | 48 | BuildRequires: lua52-devel |
6101a021 | 49 | BuildRequires: lz4-devel |
c0f52847 | 50 | BuildRequires: minizip-devel |
49540dfb | 51 | %{?with_snmp:BuildRequires: net-snmp-devel} |
6101a021 | 52 | BuildRequires: nghttp2-devel |
00a07a36 | 53 | BuildRequires: perl-tools-pod |
d2bee84f | 54 | BuildRequires: pkgconfig >= 1:0.7 |
ec8bfdcc | 55 | BuildRequires: python3 >= 1:3.4 |
f362b44f | 56 | BuildRequires: rpmbuild(macros) >= 1.527 |
c0f52847 | 57 | BuildRequires: ruby-asciidoctor >= 1.5 |
d2bee84f JB |
58 | %{?with_gui:BuildRequires: sbc-devel >= 1.0} |
59 | BuildRequires: sed >= 4.0 | |
c0f52847 | 60 | %{?with_gui:BuildRequires: speexdsp-devel} |
6101a021 JB |
61 | BuildRequires: snappy-devel |
62 | BuildRequires: spandsp-devel | |
c0f52847 | 63 | BuildRequires: systemd-devel |
6101a021 JB |
64 | BuildRequires: tar >= 1:1.22 |
65 | BuildRequires: w3m | |
66 | BuildRequires: xz | |
c0f52847 | 67 | BuildRequires: zstd-devel >= 1.0.0 |
d2bee84f | 68 | BuildRequires: zlib-devel |
cfa18346 | 69 | %if %{with gui} |
ec8bfdcc AG |
70 | BuildRequires: Qt5Core-devel >= 5.2 |
71 | BuildRequires: Qt5Multimedia-devel >= 5.2 | |
72 | BuildRequires: Qt5PrintSupport-devel >= 5.2 | |
c0f52847 | 73 | BuildRequires: Qt5Svg-devel >= 5.2 |
ec8bfdcc | 74 | BuildRequires: Qt5Widgets-devel >= 5.2 |
c0f52847 | 75 | BuildRequires: libstdc++-devel >= 6:5 |
ec8bfdcc AG |
76 | BuildRequires: qt5-build >= 5.2 |
77 | BuildRequires: qt5-linguist >= 5.2 | |
4d6dc41b | 78 | %endif |
c0f52847 JB |
79 | Requires(post,postun): gtk-update-icon-cache |
80 | Requires(post,postun): shared-mime-info | |
6101a021 | 81 | Requires: gdk-pixbuf2 >= 2.26 |
c0f52847 | 82 | Requires: hicolor-icon-theme |
d2bee84f | 83 | Suggests: xdg-utils |
2fc873c0 | 84 | Provides: ethereal |
3585cc66 | 85 | Provides: ethereal-gnome |
2fc873c0 | 86 | Obsoletes: ethereal |
3585cc66 | 87 | Obsoletes: ethereal-gnome |
ec8bfdcc AG |
88 | Obsoletes: wireshark-gui-common |
89 | Obsoletes: wireshark-qt | |
d1cb25db | 90 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
c06ca841 | 91 | |
c06ca841 | 92 | %description |
3564cfa5 | 93 | Wireshark is the name for powerful graphical network sniffer, traffic |
cfa18346 | 94 | and protocol analyzer based on QT and libpcap libraries. It lets you |
3993f161 | 95 | capture and interactively browse the contents of network frames with |
3564cfa5 | 96 | vast knowledge of more than 100 network protocols. Wireshark has |
3993f161 | 97 | severeal useful features, including a rich display filter language, |
98 | the ability to view the ASCII contents of a TCP connection and plug-in | |
99 | capabilities. | |
c06ca841 | 100 | |
bd5a719c JR |
101 | %description -l es.UTF-8 |
102 | Analizador de tráfico de red. | |
bd307bb2 | 103 | |
bd5a719c JR |
104 | %description -l pl.UTF-8 |
105 | Wireshark jest potężnym, graficznym snifferem, analizatorem ruchu oraz | |
cfa18346 | 106 | protokołów sieciowych opartym na bibliotekach QT oraz libpcap. |
bd5a719c JR |
107 | Umożliwia on przechwytywanie oraz interaktywną analizę zawartości |
108 | ramek oraz ponad stu protokołów sieciowych. Wireshark posiada wiele | |
109 | użytecznych cech, takich jak rozbudowany język filtrów wyświetlania, | |
110 | możliwość oglądania przebiegu sesji TCP oraz możliwość dołączania | |
3993f161 | 111 | wtyczek (plug-ins). |
c06ca841 | 112 | |
bd5a719c | 113 | %description -l pt_BR.UTF-8 |
cfa18346 | 114 | O Wireshark é um analisador de protocolo de rede baseado no QT. |
bd307bb2 | 115 | |
bd5a719c JR |
116 | %description -l ru.UTF-8 |
117 | Wireshark - это анализатор сетевого траффика для Unix-подобных ОС. Он | |
cfa18346 | 118 | базируется на QT и libpcap. |
8cadd9c5 | 119 | |
bd5a719c JR |
120 | %description -l uk.UTF-8 |
121 | Wireshark - це аналізатор мережевого трафіку для Unix-подібних ОС. Він | |
cfa18346 | 122 | базується на QT та libpcap. |
8cadd9c5 | 123 | |
8556fd8d | 124 | %package common |
125 | Summary: Network traffic and protocol analyzer - common files | |
301eb42a | 126 | Summary(pl.UTF-8): Analizator ruchu i protokołów sieciowych - wspólne pliki |
8556fd8d | 127 | Group: Networking |
c0f52847 | 128 | Requires(post,postun): /sbin/setcap |
6101a021 | 129 | Requires: %{name}-libs = %{version}-%{release} |
d2bee84f JB |
130 | Requires: gnutls >= 3.1.10 |
131 | Requires: libpcap >= 0.4 | |
6101a021 | 132 | Requires: libssh >= 0.6.0 |
2fc873c0 | 133 | Provides: ethereal-common |
3db19835 | 134 | Provides: group(wireshark) |
d2bee84f | 135 | Provides: wireshark-tools |
9cdb13ff | 136 | Obsoletes: ethereal-common |
f32e8035 | 137 | Obsoletes: wireshark-tools |
8556fd8d | 138 | |
139 | %description common | |
3564cfa5 | 140 | Wireshark is the name for powerful graphical network sniffer, traffic |
cfa18346 | 141 | and protocol analyzer based on QT and libpcap libraries. It lets you |
8556fd8d | 142 | capture and interactively browse the contents of network frames with |
3564cfa5 | 143 | vast knowledge of more than 100 network protocols. Wireshark has |
8556fd8d | 144 | severeal useful features, including a rich display filter language, |
145 | the ability to view the ASCII contents of a TCP connection and plug-in | |
146 | capabilities. | |
147 | ||
d2bee84f JB |
148 | This package provides the shared library, plugins, data and a set of |
149 | tools for manipulating capture files. It contains: | |
4d6dc41b AO |
150 | - capinfos - prints informatio about binary capture files, |
151 | - captype - prints the file types of capture files, | |
9b0cad4e | 152 | - dftest - shows display filter byte-code, |
ad479611 | 153 | - dumpcap - dumps network traffic to a file, |
9b0cad4e | 154 | - editcap - edit and/or translate the format of capture files, |
9b0cad4e | 155 | - mergecap - merges two capture files into one, |
ad479611 AG |
156 | - randpkt - generates libpcap trace file full of random packets, |
157 | - rawshark - dumps and analyzes raw libpcap data, | |
9b0cad4e AG |
158 | - text2cap - generate a capture file from an ASCII hexdump of packets. |
159 | ||
bd5a719c JR |
160 | %description common -l es.UTF-8 |
161 | Analizador de tráfico de red. | |
8556fd8d | 162 | |
bd5a719c JR |
163 | %description common -l pl.UTF-8 |
164 | Wireshark jest potężnym, graficznym snifferem, analizatorem ruchu oraz | |
cfa18346 | 165 | protokołów sieciowych opartym na bibliotekach QT oraz libpcap. |
bd5a719c JR |
166 | Umożliwia on przechwytywanie oraz interaktywną analizę zawartości |
167 | ramek oraz ponad stu protokołów sieciowych. Wireshark posiada wiele | |
168 | użytecznych cech, takich jak rozbudowany język filtrów wyświetlania, | |
169 | możliwość oglądania przebiegu sesji TCP oraz możliwość dołączania | |
8556fd8d | 170 | wtyczek (plug-ins). |
171 | ||
d2bee84f JB |
172 | Ten pakiet ten zawiera bibliotekę współdzieloną, wtyczki, dane oraz |
173 | zestaw narzędzi do obróbki plików z przechwyconymi pakietami, | |
174 | obejmujący: | |
4d6dc41b AO |
175 | - capinfos - do wyświetlania informacji o binarnych plikach zrzutu, |
176 | - captype - do wyświetlania rodzaju plików zrzutu, | |
a8a05b82 | 177 | - dftest - do pokazywania bajtkodu filtrów wyświetlania, |
ad479611 | 178 | - dumpcap - do zrzucania ruchu sieciowego do pliku, |
9b0cad4e | 179 | - editcap - do edycji plików i tłumaczenia ich na inne formaty, |
9b0cad4e | 180 | - mergecap - do łączenia dwóch plików w jeden, |
ad479611 AG |
181 | - randpkt - do generowania plikow cap z losowymi danymi, |
182 | - rawshark - do obróbki plików cap, | |
9b0cad4e AG |
183 | - text2cap - do generowania pliku cap z szesnastkowego zrzutu ASCII |
184 | pakietów. | |
185 | ||
bd5a719c | 186 | %description common -l pt_BR.UTF-8 |
cfa18346 | 187 | O Wireshark é um analisador de protocolo de rede baseado no QT. |
8556fd8d | 188 | |
bd5a719c JR |
189 | %description common -l ru.UTF-8 |
190 | Wireshark - это анализатор сетевого траффика для Unix-подобных ОС. Он | |
cfa18346 | 191 | базируется на QT и libpcap. |
9a51ce65 | 192 | |
bd5a719c JR |
193 | %description common -l uk.UTF-8 |
194 | Wireshark - це аналізатор мережевого трафіку для Unix-подібних ОС. Він | |
cfa18346 | 195 | базується на QT та libpcap. |
13dcc98b | 196 | |
3564cfa5 | 197 | %package -n twireshark |
87fe533f | 198 | Summary: Text-mode network traffic and protocol analyzer |
301eb42a ER |
199 | Summary(pl.UTF-8): Tekstowy analizator ruchu i protokołów sieciowych |
200 | Summary(pt_BR.UTF-8): Analisador modo texto de tráfego de rede (sniffer) | |
9a51ce65 | 201 | Group: Networking |
d1cb25db | 202 | Requires: %{name}-common = %{version}-%{release} |
9a51ce65 | 203 | Requires: libpcap >= 0.4 |
2fc873c0 | 204 | Provides: tethereal |
9cdb13ff | 205 | Obsoletes: tethereal |
9a51ce65 | 206 | |
3564cfa5 AM |
207 | %description -n twireshark |
208 | Twireshark is a network protocol analyzer. It lets you capture packet | |
9a51ce65 | 209 | data from a live network, or read packets from a previously saved |
210 | capture file, either printing a decoded form of those packets to the | |
3564cfa5 | 211 | standard output or writing the packets to a file. Twireshark's native |
9a51ce65 | 212 | capture file format is libpcap format, which is also the format used |
213 | by tcpdump and various other tools. | |
214 | ||
bd5a719c JR |
215 | %description -n twireshark -l pl.UTF-8 |
216 | Twireshark jest analizatorem protokołów sieciowych. Pozwala na | |
217 | przechwytywanie pakietów z sieci lub wczytywanie danych z pliku. | |
218 | Zdekodowany wynik (a twireshark zna ponad 100 rozmaitych protokołów | |
219 | sieciowych!) jest wyświetlony na ekranie. Natywnym formatem plików | |
220 | tetherala jest format libpcap, tak więc jest on kompatybilny z | |
221 | tcpdumpem i innymi podobnymi narzędziami. | |
9a51ce65 | 222 | |
bd5a719c JR |
223 | %description -n twireshark -l pt_BR.UTF-8 |
224 | Esta é uma versão para modo texto do analisador de tráfego de rede | |
3564cfa5 | 225 | Wireshark. |
9a51ce65 | 226 | |
6101a021 JB |
227 | %package libs |
228 | Summary: Wireshark packet capture and dissection libraries | |
229 | Summary(pl.UTF-8): Biblioteki Wiresharka do przechwytywania i sekcji pakietów | |
3d4f4fbf | 230 | Group: Libraries |
6101a021 | 231 | Requires: glib2 >= 1:2.32 |
d2bee84f | 232 | Requires: libgcrypt >= 1.4.2 |
9c2845b9 | 233 | Requires: libnl >= 3.2 |
6101a021 | 234 | Obsoletes: libwiretap < 2.4.0 |
3d4f4fbf | 235 | |
6101a021 JB |
236 | %description libs |
237 | Wireshark packet capture and dissection libraries. | |
3d4f4fbf | 238 | |
6101a021 JB |
239 | %description libs -l pl.UTF-8 |
240 | Biblioteki Wiresharka do przechwytywania i sekcji pakietów. | |
3d4f4fbf | 241 | |
6101a021 JB |
242 | %package devel |
243 | Summary: Header files for Wireshark libraries | |
244 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Wiresharka | |
2bb0e3ef | 245 | Group: Development/Libraries |
6101a021 JB |
246 | Requires: %{name}-libs = %{version}-%{release} |
247 | Requires: glib2-devel >= 1:2.32 | |
d2bee84f | 248 | Requires: libgcrypt-devel >= 1.4.2 |
eb0e86a1 | 249 | Requires: libnl-devel >= 3.2 |
6101a021 | 250 | Obsoletes: libwiretap-devel < 2.4.0 |
2bb0e3ef | 251 | |
6101a021 JB |
252 | %description devel |
253 | Header files for Wireshark libraries. | |
2bb0e3ef | 254 | |
6101a021 JB |
255 | %description devel -l pl.UTF-8 |
256 | Pliki nagłówkowe bibliotek Wiresharka. | |
2bb0e3ef | 257 | |
c06ca841 | 258 | %prep |
3db19835 | 259 | %setup -q |
6682782e | 260 | |
c06ca841 | 261 | %build |
c0f52847 JB |
262 | install -d build |
263 | cd build | |
264 | %cmake .. \ | |
265 | -DBUILD_androiddump=ON \ | |
266 | -DBUILD_corbaidl2wrs=ON \ | |
267 | -DBUILD_dcerpcidl2wrs=ON \ | |
268 | -DBUILD_mmdbresolve=ON \ | |
269 | -DBUILD_randpktdump=ON \ | |
270 | -DBUILD_tfshark=OFF \ | |
271 | -DBUILD_wireshark=ON \ | |
272 | -DCMAKE_INSTALL_DATADIR:PATH=share/wireshark \ | |
273 | -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \ | |
274 | -DDISABLE_WERROR=ON \ | |
275 | -DENABLE_LUA=ON \ | |
276 | -DENABLE_NETLINK=ON \ | |
277 | -DENABLE_PLUGINS=ON \ | |
278 | -DENABLE_PORTAUDIO=ON \ | |
279 | -DENABLE_QT5=ON \ | |
280 | -DENABLE_SMI=ON | |
6682782e | 281 | |
47b29440 | 282 | %{__make} |
c06ca841 | 283 | |
284 | %install | |
285 | rm -rf $RPM_BUILD_ROOT | |
286 | ||
c0f52847 | 287 | %{__make} -C build install \ |
c335c139 | 288 | DESTDIR=$RPM_BUILD_ROOT |
c06ca841 | 289 | |
c0f52847 JB |
290 | # used by installed headers, but not installed by cmake |
291 | cp -p build/config.h $RPM_BUILD_ROOT%{_includedir}/wireshark | |
d2bee84f | 292 | |
c0f52847 | 293 | %{__rm} $RPM_BUILD_ROOT%{_docdir}/*.html |
4bd1bf6e | 294 | |
c06ca841 | 295 | %clean |
296 | rm -rf $RPM_BUILD_ROOT | |
297 | ||
ec8bfdcc | 298 | %pre |
c0f52847 | 299 | %update_icon_cache hicolor |
d2bee84f JB |
300 | %update_mime_database |
301 | ||
ec8bfdcc | 302 | %postun |
c0f52847 | 303 | %update_icon_cache hicolor |
d2bee84f JB |
304 | %update_mime_database |
305 | ||
eb0e86a1 | 306 | %pre common |
3db19835 ER |
307 | %groupadd -P %{name}-common -g 104 wireshark |
308 | ||
309 | %post common | |
3db19835 ER |
310 | /sbin/setcap 'CAP_NET_RAW+eip CAP_NET_ADMIN+eip' %{_bindir}/dumpcap |
311 | exit 0 | |
312 | ||
313 | %postun common | |
3db19835 ER |
314 | if [ "$1" = "0" ]; then |
315 | %groupremove wireshark | |
316 | fi | |
3d4f4fbf | 317 | |
6101a021 JB |
318 | %post libs -p /sbin/ldconfig |
319 | %postun libs -p /sbin/ldconfig | |
3d4f4fbf | 320 | |
ec8bfdcc | 321 | %if %{with gui} |
681bd53b JB |
322 | %files |
323 | %defattr(644,root,root,755) | |
3564cfa5 | 324 | %attr(755,root,root) %{_bindir}/wireshark |
d2bee84f | 325 | %{_desktopdir}/wireshark.desktop |
c0f52847 | 326 | %{_datadir}/%{name} |
d2bee84f JB |
327 | %{_datadir}/appdata/wireshark.appdata.xml |
328 | %{_datadir}/mime/packages/wireshark.xml | |
4bd1bf6e AO |
329 | %{_iconsdir}/hicolor/16x16/apps/%{name}.png |
330 | %{_iconsdir}/hicolor/16x16/mimetypes/application-%{name}-doc.png | |
331 | %{_iconsdir}/hicolor/24x24/apps/%{name}.png | |
332 | %{_iconsdir}/hicolor/24x24/mimetypes/application-%{name}-doc.png | |
333 | %{_iconsdir}/hicolor/32x32/apps/%{name}.png | |
334 | %{_iconsdir}/hicolor/32x32/mimetypes/application-%{name}-doc.png | |
335 | %{_iconsdir}/hicolor/48x48/apps/%{name}.png | |
336 | %{_iconsdir}/hicolor/48x48/mimetypes/application-%{name}-doc.png | |
337 | %{_iconsdir}/hicolor/64x64/apps/%{name}.png | |
338 | %{_iconsdir}/hicolor/64x64/mimetypes/application-%{name}-doc.png | |
339 | %{_iconsdir}/hicolor/128x128/apps/%{name}.png | |
340 | %{_iconsdir}/hicolor/128x128/mimetypes/application-%{name}-doc.png | |
341 | %{_iconsdir}/hicolor/256x256/apps/%{name}.png | |
342 | %{_iconsdir}/hicolor/256x256/mimetypes/application-%{name}-doc.png | |
343 | %{_iconsdir}/hicolor/scalable/apps/%{name}.svg | |
3564cfa5 | 344 | %{_mandir}/man1/wireshark.1* |
f362b44f | 345 | %endif |
681bd53b | 346 | |
8556fd8d | 347 | %files common |
69177e7d | 348 | %defattr(644,root,root,755) |
3ab5984d | 349 | %doc AUTHORS* ChangeLog NEWS README.md README.linux doc/README.* |
5ab012f2 | 350 | %dir %{_libdir}/%{name}/extcap |
f362b44f | 351 | %dir %{_libdir}/%{name}/plugins |
16236945 KM |
352 | %dir %{_libdir}/%{name}/plugins/%{branch_ver} |
353 | %dir %{_libdir}/%{name}/plugins/%{branch_ver}/codecs | |
354 | %dir %{_libdir}/%{name}/plugins/%{branch_ver}/epan | |
355 | %dir %{_libdir}/%{name}/plugins/%{branch_ver}/wiretap | |
fbffe58a | 356 | %attr(755,root,root) %{_libdir}/%{name}/extcap/androiddump |
6101a021 | 357 | %attr(755,root,root) %{_libdir}/%{name}/extcap/ciscodump |
fbffe58a AG |
358 | %attr(755,root,root) %{_libdir}/%{name}/extcap/dpauxmon |
359 | %attr(755,root,root) %{_libdir}/%{name}/extcap/randpktdump | |
6101a021 | 360 | %attr(755,root,root) %{_libdir}/%{name}/extcap/sshdump |
fbffe58a | 361 | %attr(755,root,root) %{_libdir}/%{name}/extcap/sdjournal |
6101a021 | 362 | %attr(755,root,root) %{_libdir}/%{name}/extcap/udpdump |
16236945 KM |
363 | %attr(755,root,root) %{_libdir}/%{name}/plugins/%{branch_ver}/codecs/*.so |
364 | %attr(755,root,root) %{_libdir}/%{name}/plugins/%{branch_ver}/epan/*.so | |
365 | %attr(755,root,root) %{_libdir}/%{name}/plugins/%{branch_ver}/wiretap/*.so | |
61c15373 | 366 | %attr(755,root,root) %{_bindir}/capinfos |
4d6dc41b | 367 | %attr(755,root,root) %{_bindir}/captype |
3db19835 | 368 | %attr(750,root,wireshark) %{_bindir}/dumpcap |
9a51ce65 | 369 | %attr(755,root,root) %{_bindir}/editcap |
fbffe58a | 370 | %attr(755,root,root) %{_bindir}/idl2wrs |
7d460fd4 | 371 | %attr(755,root,root) %{_bindir}/mergecap |
2b45c3c4 | 372 | %attr(755,root,root) %{_bindir}/mmdbresolve |
7d460fd4 | 373 | %attr(755,root,root) %{_bindir}/randpkt |
38791bb5 | 374 | %attr(755,root,root) %{_bindir}/rawshark |
5bc49780 | 375 | %attr(755,root,root) %{_bindir}/reordercap |
6101a021 | 376 | %attr(755,root,root) %{_bindir}/sharkd |
38791bb5 | 377 | %attr(755,root,root) %{_bindir}/text2pcap |
3d79ff95 | 378 | %{_mandir}/man1/androiddump.1* |
38791bb5 | 379 | %{_mandir}/man1/capinfos.1* |
3ab5984d | 380 | %{_mandir}/man1/captype.1* |
2b45c3c4 | 381 | %{_mandir}/man1/ciscodump.1* |
b314d27d | 382 | %{_mandir}/man1/dftest.1* |
c0f52847 | 383 | %{_mandir}/man1/dpauxmon.1* |
38791bb5 JB |
384 | %{_mandir}/man1/dumpcap.1* |
385 | %{_mandir}/man1/editcap.1* | |
c0f52847 | 386 | %{_mandir}/man1/idl2wrs.1* |
38791bb5 | 387 | %{_mandir}/man1/mergecap.1* |
2b45c3c4 | 388 | %{_mandir}/man1/mmdbresolve.1* |
38791bb5 | 389 | %{_mandir}/man1/rawshark.1* |
b314d27d | 390 | %{_mandir}/man1/randpkt.1* |
5ab012f2 | 391 | %{_mandir}/man1/randpktdump.1* |
5bc49780 | 392 | %{_mandir}/man1/reordercap.1* |
c0f52847 | 393 | %{_mandir}/man1/sdjournal.1* |
6101a021 | 394 | %{_mandir}/man1/sshdump.1* |
38791bb5 | 395 | %{_mandir}/man1/text2pcap.1* |
e8c5abe8 | 396 | %{_mandir}/man1/udpdump.1* |
5ab012f2 | 397 | %{_mandir}/man4/extcap.4* |
9b0cad4e | 398 | %{_mandir}/man4/wireshark-filter.4* |
9a51ce65 | 399 | |
3564cfa5 | 400 | %files -n twireshark |
5077cd31 | 401 | %defattr(644,root,root,755) |
3564cfa5 | 402 | %attr(755,root,root) %{_bindir}/tshark |
b314d27d | 403 | %{_mandir}/man1/tshark*.1* |
2bb0e3ef | 404 | |
6101a021 | 405 | %files libs |
2bb0e3ef | 406 | %defattr(644,root,root,755) |
6101a021 | 407 | %attr(755,root,root) %{_libdir}/libwireshark.so.*.*.* |
16236945 | 408 | %attr(755,root,root) %ghost %{_libdir}/libwireshark.so.14 |
3d4f4fbf | 409 | %attr(755,root,root) %{_libdir}/libwiretap.so.*.*.* |
16236945 | 410 | %attr(755,root,root) %ghost %{_libdir}/libwiretap.so.11 |
eb0e86a1 | 411 | %attr(755,root,root) %{_libdir}/libwsutil.so.*.*.* |
16236945 | 412 | %attr(755,root,root) %ghost %{_libdir}/libwsutil.so.12 |
c0f52847 | 413 | %dir %{_libdir}/%{name} |
3d4f4fbf | 414 | |
6101a021 | 415 | %files devel |
3d4f4fbf | 416 | %defattr(644,root,root,755) |
c0f52847 | 417 | %doc wiretap/{README,README.airmagnet} |
6101a021 | 418 | %attr(755,root,root) %{_libdir}/libwireshark.so |
3d4f4fbf | 419 | %attr(755,root,root) %{_libdir}/libwiretap.so |
d88a1752 | 420 | %attr(755,root,root) %{_libdir}/libwsutil.so |
6101a021 JB |
421 | %{_includedir}/wireshark |
422 | %{_pkgconfigdir}/wireshark.pc | |
c0f52847 | 423 | %{_libdir}/%{name}/cmake |