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