# Conditional build:
%bcond_without kerberos5 # Kerberos V support
%bcond_without snmp # SNMP support
-%bcond_without gui # any GUI
-%bcond_without gtk # GTK+ (2 or 3) GUI
-%bcond_with gtk2 # GTK+ GUI based on GTK+ 2 instead of GTK+ 3
-%bcond_without qt # Qt GUI
-
-%if %{without gui}
-%undefine with_gtk
-%undefine with_qt
-%endif
+%bcond_without gui # without QT GUI
+%define branch_ver 4.0
+%define qt_ver 5.12
Summary: Network traffic and protocol analyzer
Summary(es.UTF-8): Analizador de tráfico de red
Summary(pl.UTF-8): Analizator ruchu i protokołów sieciowych
Summary(ru.UTF-8): Анализатор сетевого траффика
Summary(uk.UTF-8): Аналізатор мережевого трафіку
Name: wireshark
-Version: 2.4.5
-Release: 2
+Version: 4.0.8
+Release: 1
License: GPL v2+
Group: Networking/Utilities
-Source0: https://www.wireshark.org/download/src/%{name}-%{version}.tar.xz
-# Source0-md5: 2b6f1f37c72fa15a0a1863016a0abcc0
-Patch0: %{name}-Werror.patch
-Patch1: %{name}-ac.patch
-Patch2: %{name}-desktop.patch
+Source0: https://2.na.dl.wireshark.org/src/%{name}-%{version}.tar.xz
+# Source0-md5: 8290f8a148de88665ecbf745a14f2916
URL: https://www.wireshark.org/
-BuildRequires: GeoIP-devel
-BuildRequires: asciidoc
-BuildRequires: autoconf >= 2.64
-BuildRequires: automake >= 1:1.11
-BuildRequires: bison
-BuildRequires: c-ares-devel
+BuildRequires: bcg729-devel
+BuildRequires: c-ares-devel >= 1.13.0
+BuildRequires: cmake >= 3.10
BuildRequires: doxygen
BuildRequires: flex
BuildRequires: gcc >= 5:3.2
-%{?with_gtk:BuildRequires: gdk-pixbuf2-devel >= 2.26}
-BuildRequires: glib2-devel >= 1:2.32
-BuildRequires: gnutls-devel >= 3.1.10
-%if %{with gui}
-%{?with_gtk2:BuildRequires: gtk+2-devel >= 2:2.12.0}
-%{!?with_gtk2:BuildRequires: gtk+3-devel >= 3.0.0}
-%endif
+BuildRequires: gettext-tools
+BuildRequires: glib2-devel >= 1:2.50.0
+BuildRequires: gnutls-devel >= 3.5.8
%{?with_kerberos5:BuildRequires: heimdal-devel}
+BuildRequires: libbrotli-devel
+# libcap-devel doesn't pull libcap, but only libcap-libs
+BuildRequires: libcap
BuildRequires: libcap-devel
-BuildRequires: libgcrypt-devel >= 1.4.2
+BuildRequires: libgcrypt-devel >= 1.8.0
+BuildRequires: libmaxminddb-devel
BuildRequires: libnl-devel >= 3.2
BuildRequires: libpcap-devel >= 2:1.0.0-4
-BuildRequires: libssh-devel >= 0.6.0
BuildRequires: libsmi-devel
-BuildRequires: libstdc++-devel
+BuildRequires: libssh-devel >= 0.6.0
+BuildRequires: libstdc++-devel >= 6:4.7
BuildRequires: libtool >= 2:2.2.2
BuildRequires: libxml2-devel >= 2.0
BuildRequires: libxslt-progs
BuildRequires: lua52-devel
BuildRequires: lz4-devel
+BuildRequires: minizip-devel
%{?with_snmp:BuildRequires: net-snmp-devel}
-BuildRequires: nghttp2-devel
-BuildRequires: perl-tools-pod
+BuildRequires: nghttp2-devel >= 1.11.0
+BuildRequires: opus-devel
+BuildRequires: pcre2-8-devel
+BuildRequires: perl-base
BuildRequires: pkgconfig >= 1:0.7
-%{?with_gui:BuildRequires: portaudio-devel}
-BuildRequires: python >= 1:2.5
-BuildRequires: rpmbuild(macros) >= 1.527
+BuildRequires: python3 >= 1:3.6
+BuildRequires: rpmbuild(macros) >= 1.742
+BuildRequires: ruby-asciidoctor >= 1.5
%{?with_gui:BuildRequires: sbc-devel >= 1.0}
-%{?with_qt:BuildRequires: speexdsp-devel}
BuildRequires: sed >= 4.0
BuildRequires: snappy-devel
BuildRequires: spandsp-devel
+BuildRequires: speexdsp-devel
+BuildRequires: systemd-devel
BuildRequires: tar >= 1:1.22
+BuildRequires: webrtc-libilbc-devel
BuildRequires: w3m
BuildRequires: xz
BuildRequires: zlib-devel
-%if %{with qt}
-BuildRequires: Qt5Core-devel >= 5
-BuildRequires: Qt5Multimedia-devel >= 5
-BuildRequires: Qt5PrintSupport-devel >= 5
-BuildRequires: Qt5Widgets-devel >= 5
-BuildRequires: libstdc++-devel >= 5
-BuildRequires: qt5-build >= 5
-BuildRequires: qt5-linguist >= 5
+BuildRequires: zstd-devel >= 1.0.0
+%if %{with gui}
+BuildRequires: Qt5Concurrent-devel >= %{qt_ver}
+BuildRequires: Qt5Core-devel >= %{qt_ver}
+BuildRequires: Qt5Gui-devel >= %{qt_ver}
+BuildRequires: Qt5Multimedia-devel >= %{qt_ver}
+BuildRequires: Qt5PrintSupport-devel >= %{qt_ver}
+BuildRequires: Qt5Widgets-devel >= %{qt_ver}
+BuildRequires: libstdc++-devel >= 6:5
+BuildRequires: qt5-build >= %{qt_ver}
+BuildRequires: qt5-linguist >= %{qt_ver}
%endif
-Requires: %{name}-gui-common = %{version}-%{release}
+Requires(post,postun): desktop-file-utils
+Requires(post,postun): gtk-update-icon-cache
+Requires(post,postun): shared-mime-info
+Requires: %{name}-common = %{version}-%{release}
+Requires: Qt5Core >= %{qt_ver}
+Requires: Qt5Gui >= %{qt_ver}
+Requires: Qt5Multimedia >= %{qt_ver}
+Requires: Qt5PrintSupport >= %{qt_ver}
+Requires: Qt5Widgets >= %{qt_ver}
Requires: gdk-pixbuf2 >= 2.26
-%if %{with gtk2}
-Requires: gtk+2 >= 2:2.12.0
-%else
-Requires: gtk+3 >= 3.0.0
-%endif
+Requires: hicolor-icon-theme
Suggests: xdg-utils
Provides: ethereal
Provides: ethereal-gnome
-Obsoletes: ethereal
-Obsoletes: ethereal-gnome
+Obsoletes: ethereal < 1
+Obsoletes: ethereal-gnome < 1
+Obsoletes: wireshark-gui-common < 3
+Obsoletes: wireshark-qt < 3
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
Wireshark is the name for powerful graphical network sniffer, traffic
-and protocol analyzer based on GTK+ and libpcap libraries. It lets you
+and protocol analyzer based on QT and libpcap libraries. It lets you
capture and interactively browse the contents of network frames with
vast knowledge of more than 100 network protocols. Wireshark has
severeal useful features, including a rich display filter language,
%description -l pl.UTF-8
Wireshark jest potężnym, graficznym snifferem, analizatorem ruchu oraz
-protokołów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
+protokołów sieciowych opartym na bibliotekach QT oraz libpcap.
Umożliwia on przechwytywanie oraz interaktywną analizę zawartości
ramek oraz ponad stu protokołów sieciowych. Wireshark posiada wiele
użytecznych cech, takich jak rozbudowany język filtrów wyświetlania,
wtyczek (plug-ins).
%description -l pt_BR.UTF-8
-O Wireshark é um analisador de protocolo de rede baseado no GTK+.
+O Wireshark é um analisador de protocolo de rede baseado no QT.
%description -l ru.UTF-8
Wireshark - это анализатор сетевого траффика для Unix-подобных ОС. Он
-базируется на GTK+ и libpcap.
+базируется на QT и libpcap.
%description -l uk.UTF-8
Wireshark - це аналізатор мережевого трафіку для Unix-подібних ОС. Він
-базується на GTK+ та libpcap.
-
-%package gui-common
-Summary: Network traffic and protocol analyzer - GUI common files
-Summary(pl.UTF-8): Analizator ruchu i protokołów sieciowych - wspólne pliki interfejsów graficznych
-Group: Networking/Utilities
-Requires: %{name}-common = %{version}-%{release}
-
-%description gui-common
-Network traffic and protocol analyzer - files common for all Wireshark
-GUIs (GTK+, Qt).
-
-%description gui-common -l pl.UTF-8
-Analizator ruchu i protokołów sieciowych - pliki wspólne dla
-wszystkich interfejsów graficznych Wiresharka (GTK+, Qt).
-
-%package qt
-Summary: Qt-based network traffic and protocol analyzer
-Summary(pl.UTF-8): Analizator ruchu i protokołów sieciowych oparty na Qt
-Group: Networking
-Requires: %{name}-gui-common = %{version}-%{release}
-Requires: Qt5Gui-platform-xcb
-
-%description qt
-An initial port to Qt (aka QtShark).
-
-%description qt -l pl.UTF-8
-Wstępna wersja analizatora wireshark oparta na Qt (znana też pod nazwą
-QtShark).
+базується на QT та libpcap.
%package common
Summary: Network traffic and protocol analyzer - common files
Summary(pl.UTF-8): Analizator ruchu i protokołów sieciowych - wspólne pliki
Group: Networking
+Requires(post,postun): /sbin/setcap
Requires: %{name}-libs = %{version}-%{release}
-Requires: gnutls >= 3.1.10
+Requires: gnutls >= 3.5.8
Requires: libpcap >= 0.4
Requires: libssh >= 0.6.0
Provides: ethereal-common
Provides: group(wireshark)
Provides: wireshark-tools
-Obsoletes: ethereal-common
-Obsoletes: wireshark-tools
-Requires(post,postun): /sbin/setcap
+Obsoletes: ethereal-common < 1
+Obsoletes: wireshark-tools < 1.0.3-3
%description common
Wireshark is the name for powerful graphical network sniffer, traffic
-and protocol analyzer based on GTK+ and libpcap libraries. It lets you
+and protocol analyzer based on QT and libpcap libraries. It lets you
capture and interactively browse the contents of network frames with
vast knowledge of more than 100 network protocols. Wireshark has
severeal useful features, including a rich display filter language,
%description common -l pl.UTF-8
Wireshark jest potężnym, graficznym snifferem, analizatorem ruchu oraz
-protokołów sieciowych opartym na bibliotekach GTK+ oraz libpcap.
+protokołów sieciowych opartym na bibliotekach QT oraz libpcap.
Umożliwia on przechwytywanie oraz interaktywną analizę zawartości
ramek oraz ponad stu protokołów sieciowych. Wireshark posiada wiele
użytecznych cech, takich jak rozbudowany język filtrów wyświetlania,
pakietów.
%description common -l pt_BR.UTF-8
-O Wireshark é um analisador de protocolo de rede baseado no GTK+.
+O Wireshark é um analisador de protocolo de rede baseado no QT.
%description common -l ru.UTF-8
Wireshark - это анализатор сетевого траффика для Unix-подобных ОС. Он
-базируется на GTK+ и libpcap.
+базируется на QT и libpcap.
%description common -l uk.UTF-8
Wireshark - це аналізатор мережевого трафіку для Unix-подібних ОС. Він
-базується на GTK+ та libpcap.
+базується на QT та libpcap.
%package -n twireshark
Summary: Text-mode network traffic and protocol analyzer
Requires: %{name}-common = %{version}-%{release}
Requires: libpcap >= 0.4
Provides: tethereal
-Obsoletes: tethereal
+Obsoletes: tethereal < 1
%description -n twireshark
Twireshark is a network protocol analyzer. It lets you capture packet
Summary: Wireshark packet capture and dissection libraries
Summary(pl.UTF-8): Biblioteki Wiresharka do przechwytywania i sekcji pakietów
Group: Libraries
-Requires: glib2 >= 1:2.32
-Requires: libgcrypt >= 1.4.2
+Requires: c-ares >= 1.13.0
+Requires: glib2 >= 1:2.50.0
+Requires: libgcrypt >= 1.8.0
Requires: libnl >= 3.2
+Requires: zstd >= 1.0.0
Obsoletes: libwiretap < 2.4.0
%description libs
Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Wiresharka
Group: Development/Libraries
Requires: %{name}-libs = %{version}-%{release}
-Requires: glib2-devel >= 1:2.32
-Requires: libgcrypt-devel >= 1.4.2
+Requires: glib2-devel >= 1:2.50.0
+Requires: libgcrypt-devel >= 1.8.0
Requires: libnl-devel >= 3.2
Obsoletes: libwiretap-devel < 2.4.0
%prep
%setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-find -name Makefile.am | xargs sed -i -e 's/-Werror//g'
%build
-%{__libtoolize}
-%{__aclocal} -I aclocal-fallback
-%{__autoconf}
-%{__automake}
-%if %{with qt}
-MOC=moc-qt5 \
-UIC=uic-qt5 \
-%endif
-CPPFLAGS="%{rpmcppflags} $(pkg-config --cflags liblz4)"
-%configure \
- HTML_VIEWER=/usr/bin/xdg-open \
- --enable-dftest \
- --enable-packet-editor \
- --enable-randpkt \
- --enable-tfshark \
- %{__enable_disable gui wireshark} \
- --disable-silent-rules \
- --disable-usr-local \
-%if %{with gtk}
- %{?with_gtk2:--with-gtk=2}%{!?with_gtk2:--with-gtk=3} \
-%endif
-%if %{with kerberos5}
- --with-krb5 \
-%endif
- --with-lua \
- %{__with_without qt} \
- %{!?with_snmp:--without-net-snmp --without-ucdsnmp}
+install -d build
+cd build
+%cmake .. \
+ -DBUILD_androiddump=ON \
+ -DBUILD_corbaidl2wrs=ON \
+ -DBUILD_dcerpcidl2wrs=ON \
+ -DBUILD_mmdbresolve=ON \
+ -DBUILD_randpktdump=ON \
+ -DBUILD_tfshark=OFF \
+ %{cmake_on_off gui BUILD_wireshark} \
+ -DCMAKE_INSTALL_DATADIR:PATH=share/wireshark \
+ -DCMAKE_INSTALL_LIBDIR:PATH=%{_lib} \
+ -DDISABLE_WERROR=ON \
+ -DENABLE_LUA=ON \
+ -DENABLE_NETLINK=ON \
+ -DENABLE_PLUGINS=ON \
+ -DENABLE_PORTAUDIO=ON \
+ -DENABLE_QT5=ON \
+ -DENABLE_SMI=ON
%{__make}
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{_desktopdir},%{_pixmapsdir},%{_includedir}/wireshark}
-%{__make} install \
+%{__make} -C build install \
DESTDIR=$RPM_BUILD_ROOT
-cp -p image/hi48-app-wireshark.png $RPM_BUILD_ROOT%{_pixmapsdir}/%{name}.png
-
-%{__rm} $RPM_BUILD_ROOT%{_desktopdir}/wireshark*.desktop
-%{?with_gtk:cp -p wireshark-gtk.desktop $RPM_BUILD_ROOT%{_desktopdir}/wireshark.desktop}
-%{?with_qt:cp -p wireshark.desktop $RPM_BUILD_ROOT%{_desktopdir}/wireshark-qt.desktop}
-
-# headers (from Fedora, inspired by debian/wireshark-dev.header-files)
-install -d $RPM_BUILD_ROOT%{_includedir}/wireshark/{epan/{crypt,ftypes,dfilter,dissectors,wmem},wiretap,wsutil}
-install config.h register.h $RPM_BUILD_ROOT%{_includedir}/wireshark
-install cfile.h file.h $RPM_BUILD_ROOT%{_includedir}/wireshark
-install ws_diag_control.h $RPM_BUILD_ROOT%{_includedir}/wireshark
-install ws_symbol_export.h $RPM_BUILD_ROOT%{_includedir}/wireshark
-install epan/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/epan
-install epan/crypt/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/epan/crypt
-install epan/ftypes/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/epan/ftypes
-install epan/dfilter/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/epan/dfilter
-install epan/dissectors/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/epan/dissectors
-install epan/wmem/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/epan/wmem
-install wiretap/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/wiretap
-install wsutil/*.h $RPM_BUILD_ROOT%{_includedir}/wireshark/wsutil
-
-# plugins *.la are useless - *.so are loaded through gmodule
-%{__rm} $RPM_BUILD_ROOT%{_libdir}/%{name}/plugins/%{version}*/*.la
-
-%{?with_qt:%{__mv} $RPM_BUILD_ROOT%{_bindir}/wireshark{,-qt}}
-%{?with_gtk:%{__mv} $RPM_BUILD_ROOT%{_bindir}/wireshark{-gtk,}}
+# used by installed headers, but not installed by cmake
+cp -p build/config.h $RPM_BUILD_ROOT%{_includedir}/wireshark
%clean
rm -rf $RPM_BUILD_ROOT
-%pre gui-common
+%post
+%update_icon_cache hicolor
+%update_desktop_database_post
%update_mime_database
-%postun gui-common
+%postun
+%update_icon_cache hicolor
+%update_desktop_database_postun
%update_mime_database
%pre common
%post libs -p /sbin/ldconfig
%postun libs -p /sbin/ldconfig
-%if %{with gtk}
+%if %{with gui}
%files
%defattr(644,root,root,755)
%attr(755,root,root) %{_bindir}/wireshark
-%{_desktopdir}/wireshark.desktop
-%endif
-
-%if %{with gui}
-%files gui-common
-%defattr(644,root,root,755)
+%{_desktopdir}/org.wireshark.Wireshark.desktop
%{_datadir}/%{name}
-%{_datadir}/appdata/wireshark.appdata.xml
-%{_datadir}/mime/packages/wireshark.xml
-%{_pixmapsdir}/%{name}.png
-%{_iconsdir}/hicolor/16x16/apps/%{name}.png
-%{_iconsdir}/hicolor/16x16/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/24x24/apps/%{name}.png
-%{_iconsdir}/hicolor/24x24/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/32x32/apps/%{name}.png
-%{_iconsdir}/hicolor/32x32/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/48x48/apps/%{name}.png
-%{_iconsdir}/hicolor/48x48/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/64x64/apps/%{name}.png
-%{_iconsdir}/hicolor/64x64/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/128x128/apps/%{name}.png
-%{_iconsdir}/hicolor/128x128/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/256x256/apps/%{name}.png
-%{_iconsdir}/hicolor/256x256/mimetypes/application-%{name}-doc.png
-%{_iconsdir}/hicolor/scalable/apps/%{name}.svg
+%{_datadir}/metainfo/org.wireshark.Wireshark.metainfo.xml
+%{_datadir}/mime/packages/org.wireshark.Wireshark.xml
+%{_iconsdir}/hicolor/16x16/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/16x16/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/24x24/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/24x24/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/32x32/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/32x32/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/48x48/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/48x48/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/64x64/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/64x64/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/128x128/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/128x128/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/256x256/apps/org.wireshark.Wireshark.png
+%{_iconsdir}/hicolor/256x256/mimetypes/org.wireshark.Wireshark-mimetype.png
+%{_iconsdir}/hicolor/scalable/apps/org.wireshark.Wireshark.svg
%{_mandir}/man1/wireshark.1*
%endif
-%if %{with qt}
-%files qt
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/wireshark-qt
-%{_desktopdir}/wireshark-qt.desktop
-%endif
-
%files common
%defattr(644,root,root,755)
-%doc AUTHORS* ChangeLog NEWS README README.linux README.vmware doc/README.*
-%dir %{_libdir}/%{name}
+%doc AUTHORS* ChangeLog NEWS README.md README.linux doc/README.*
%dir %{_libdir}/%{name}/extcap
%dir %{_libdir}/%{name}/plugins
-%dir %{_libdir}/%{name}/plugins/%{version}*
-%attr(755,root,root) %{_libdir}/%{name}/extcap/ciscodump
+%dir %{_libdir}/%{name}/plugins/%{branch_ver}
+%dir %{_libdir}/%{name}/plugins/%{branch_ver}/codecs
+%dir %{_libdir}/%{name}/plugins/%{branch_ver}/epan
+%dir %{_libdir}/%{name}/plugins/%{branch_ver}/wiretap
%attr(755,root,root) %{_libdir}/%{name}/extcap/androiddump
+%attr(755,root,root) %{_libdir}/%{name}/extcap/ciscodump
+%attr(755,root,root) %{_libdir}/%{name}/extcap/dpauxmon
%attr(755,root,root) %{_libdir}/%{name}/extcap/randpktdump
%attr(755,root,root) %{_libdir}/%{name}/extcap/sshdump
+%attr(755,root,root) %{_libdir}/%{name}/extcap/sdjournal
%attr(755,root,root) %{_libdir}/%{name}/extcap/udpdump
-%attr(755,root,root) %{_libdir}/%{name}/plugins/%{version}*/*.so
+%attr(755,root,root) %{_libdir}/%{name}/extcap/wifidump
+%attr(755,root,root) %{_libdir}/%{name}/plugins/%{branch_ver}/codecs/*.so
+%attr(755,root,root) %{_libdir}/%{name}/plugins/%{branch_ver}/epan/*.so
+%attr(755,root,root) %{_libdir}/%{name}/plugins/%{branch_ver}/wiretap/*.so
%attr(755,root,root) %{_bindir}/capinfos
%attr(755,root,root) %{_bindir}/captype
-%attr(755,root,root) %{_bindir}/dftest
%attr(750,root,wireshark) %{_bindir}/dumpcap
%attr(755,root,root) %{_bindir}/editcap
%attr(755,root,root) %{_bindir}/idl2wrs
%attr(755,root,root) %{_bindir}/mergecap
+%attr(755,root,root) %{_bindir}/mmdbresolve
%attr(755,root,root) %{_bindir}/randpkt
%attr(755,root,root) %{_bindir}/rawshark
%attr(755,root,root) %{_bindir}/reordercap
%attr(755,root,root) %{_bindir}/sharkd
%attr(755,root,root) %{_bindir}/text2pcap
-%attr(755,root,root) %{_bindir}/tfshark
%{_mandir}/man1/androiddump.1*
%{_mandir}/man1/capinfos.1*
+%{_mandir}/man1/captype.1*
+%{_mandir}/man1/ciscodump.1*
%{_mandir}/man1/dftest.1*
+%{_mandir}/man1/dpauxmon.1*
%{_mandir}/man1/dumpcap.1*
%{_mandir}/man1/editcap.1*
+%{_mandir}/man1/etwdump.1.*
+%{_mandir}/man1/idl2wrs.1*
%{_mandir}/man1/mergecap.1*
+%{_mandir}/man1/mmdbresolve.1*
%{_mandir}/man1/rawshark.1*
%{_mandir}/man1/randpkt.1*
%{_mandir}/man1/randpktdump.1*
%{_mandir}/man1/reordercap.1*
+%{_mandir}/man1/sdjournal.1*
%{_mandir}/man1/sshdump.1*
%{_mandir}/man1/text2pcap.1*
%{_mandir}/man1/udpdump.1*
+%{_mandir}/man1/wifidump.1*
%{_mandir}/man4/extcap.4*
%{_mandir}/man4/wireshark-filter.4*
%files libs
%defattr(644,root,root,755)
-%doc wiretap/README*
%attr(755,root,root) %{_libdir}/libwireshark.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libwireshark.so.9
+%attr(755,root,root) %ghost %{_libdir}/libwireshark.so.16
%attr(755,root,root) %{_libdir}/libwiretap.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libwiretap.so.7
-%attr(755,root,root) %{_libdir}/libwscodecs.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libwscodecs.so.1
+%attr(755,root,root) %ghost %{_libdir}/libwiretap.so.13
%attr(755,root,root) %{_libdir}/libwsutil.so.*.*.*
-%attr(755,root,root) %ghost %{_libdir}/libwsutil.so.8
+%attr(755,root,root) %ghost %{_libdir}/libwsutil.so.14
+%dir %{_libdir}/%{name}
%files devel
%defattr(644,root,root,755)
+%doc wiretap/{README,README.airmagnet}
%attr(755,root,root) %{_libdir}/libwireshark.so
%attr(755,root,root) %{_libdir}/libwiretap.so
-%attr(755,root,root) %{_libdir}/libwscodecs.so
%attr(755,root,root) %{_libdir}/libwsutil.so
-%{_libdir}/libwireshark.la
-%{_libdir}/libwiretap.la
-%{_libdir}/libwscodecs.la
-%{_libdir}/libwsutil.la
%{_includedir}/wireshark
%{_pkgconfigdir}/wireshark.pc
+%{_libdir}/%{name}/cmake