File kodi-noX.spec of Package kodi (Revision 60278a7685799b13429a17a3b6346cef)

Currently displaying revision 60278a7685799b13429a17a3b6346cef , Show latest

730
 
1
#
2
# spec file for package kodi
3
#
4
# Copyright (c) 2015-2023 SUSE LINUX GmbH, Nuernberg, Germany.
5
#
6
# All modifications and additions to the file contributed by third parties
7
# remain the property of their copyright owners, unless otherwise agreed
8
# upon. The license for this file, and modifications and additions to the
9
# file, is the same license as for the pristine package itself (unless the
10
# license for the pristine package is not an Open Source License, in which
11
# case the license is the MIT License). An "Open Source License" is a
12
# license that conforms to the Open Source Definition (Version 1.9)
13
# published by the Open Source Initiative.
14
15
# Please submit bugfixes or comments via http://bugs.opensuse.org/
16
#
17
18
19
# Please edit kodi.spec and kodi.changes only. *-noX.* files are generated from
20
# kodi.* files with the pre_checkin.sh script
21
%define kodi_version Nexus
22
%define ffmpeg_version 4.4.1-Nexus-Alpha1
23
%define _kodi_addons_dir %{_datadir}/kodi/addons
24
# set this parameter to enable building Kodi with ccache, debug information, etc.
25
%define dev_build 0
26
# WARNING: Build with bundled ffmpeg until version 18.0 is reached
27
%bcond_without sysffmpeg
28
# kodi can be built without X support when openGL ES is used (mainly used on ARM boards used as media center)
29
%bcond_with kodi_with_X11
30
# Enable or disable Wayland depending on whether the stack is usable or not:
31
%if 0%{?suse_version} >= 1550
32
%bcond_without kodi_with_wayland
33
%else
34
%bcond_with kodi_with_wayland
35
%endif
36
37
%define kodi_platform none
38
%define kodi_player none
39
40
%if %{with kodi_with_X11}
41
%bcond_without enable_opengl
42
%bcond_with enable_opengles
43
%else
44
# no X build needs openGL ES
45
%bcond_with enable_opengl
46
%bcond_without enable_opengles
47
%endif
48
#
49
%bcond_without kodi_libbluray
50
# 
51
%bcond_without systemd
52
53
ExclusiveArch: does-not-build
54
55
Name:           kodi-noX
56
Version:        20.2
57
Release:        0
58
Summary:        Media center (formerly known as XBMC)
59
License:        GPL-2.0+ and GPL-3.0+
60
Group:          Productivity/Multimedia/Video/Players
61
Url:            http://kodi.tv/
62
Source0:        https://github.com/xbmc/xbmc/archive/%{version}-%{kodi_version}.tar.gz
63
Source1:        kodi.SuSEFirewall2
64
# AUTO-GENERATED using get_version.sh
65
Source3:        kodi.VERSION
66
Source10:       kodi.service
67
Source11:       kodi-noX.service
68
Source20:       http://mirrors.kodi.tv/build-deps/sources/crossguid-ca1bf4b810e2d188d04cb6286f957008ee1b7681.tar.gz
69
# DOWNLOAD from https://codeload.github.com/xbmc/libdvdnav/tar.gz/refs/tags/6.1.1-Next-Nexus-Alpha2-2
70
Source21:   libdvdnav-6.1.1-Next-Nexus-Alpha2-2.tar.gz
71
# DOWNLOAD from https://codeload.github.com/xbmc/libdvdcss/tar.gz/refs/tags/1.4.3-Next-Nexus-Alpha2-2
72
Source22:   libdvdcss-1.4.3-Next-Nexus-Alpha2-2.tar.gz
73
# DOWNLOAD from https://codeload.github.com/xbmc/libdvdread/tar.gz/refs/tags/6.1.3-Next-Nexus-Alpha2-2
74
Source23:       libdvdread-6.1.3-Next-Nexus-Alpha2-2.tar.gz
75
## if %%{without sysffmpeg}
76
Source30:       https://github.com/xbmc/FFmpeg/archive/%{ffmpeg_version}.tar.gz
77
## endif
78
#Patch0:         kodi-sse.patch
79
#Patch0:         kodi.arm.patch
80
#Patch1:         no-xbmc-symbolic-link.patch
81
#Patch2:         kodi-texturepacker.patch
82
#Patch3:         crossguid_build64.patch
83
#Patch4:         kodi.aarch64.patch
84
#Patch5:         kodi-tools-libdir.patch
85
86
Patch6:         kodi-install.patch
87
Patch7:         kodi-apply-dvdrun.patch
88
Patch8:         kodi-libdrm.patch
89
%if %{without kodi_with_wayland}
90
Patch9:         kodi-disable-wayland.patch
91
%endif
92
Patch10:        ffmpeg-4.3.1-ogg.patch
93
Patch11:        kodi-apply-ffmpeg.patch
94
Patch12:        fix_building_with_fmt10.patch
95
96
BuildRequires:  autoconf
97
BuildRequires:  automake
98
BuildRequires:  binutils-gold
99
BuildRequires:  desktop-file-utils
100
BuildRequires:  fdupes
101
BuildRequires:  gawk
102
%if 0%{?suse_version} >= 1550 && 0%{?sle_version} == 0
103
# Use the default compiler on Tumbleweed
104
BuildRequires:  gcc
105
BuildRequires:  gcc-c++
106
%else
107
%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0
108
BuildRequires:  gcc9
109
BuildRequires:  gcc9-c++
110
%else
111
BuildRequires:  gcc8
112
BuildRequires:  gcc8-c++
113
%endif
114
%endif
115
BuildRequires:  ghostscript
116
BuildRequires:  graphviz
117
BuildRequires:  groff-full
118
BuildRequires:  libtool
119
BuildRequires:  pkg-config
120
BuildRequires:  flatbuffers-devel
121
BuildRequires:  fstrcmp-devel
122
BuildRequires:  pkgconfig(fmt)
123
BuildRequires:  pkgconfig(RapidJSON) >= 1.0.2
124
BuildRequires:  python(abi) >= 3.11
125
BuildRequires:  pkgconfig(python-3.11)
126
BuildRequires:  libmysqlclient-devel
127
BuildRequires:  pkgconfig(libass)
128
BuildRequires:  pkgconfig(libcurl)
129
BuildRequires:  pkgconfig(openssl)
130
BuildRequires:  pkgconfig(gnutls)
131
BuildRequires:  libgcrypt-devel
132
BuildRequires:  pkgconfig(bzip2)
133
BuildRequires:  lzo-devel
134
BuildRequires:  pkgconfig(zlib)
135
BuildRequires:  pkgconfig(libcrypto)
136
BuildRequires:  tinyxml-devel
137
BuildRequires:  pkgconfig(uuid)
138
BuildRequires:  libyajl-devel >= 2
139
BuildRequires:  pkgconfig(libidn2)
140
BuildRequires:  pkgconfig(libinput)
141
BuildRequires:  pkgconfig(libxml-2.0)
142
BuildRequires:  pkgconfig(libxslt)
143
BuildRequires:  pkgconfig(fribidi)
144
BuildRequires:  pkgconfig(sqlite3) 
145
BuildRequires:  pkgconfig(libpcrecpp)
146
BuildRequires:  pkgconfig(libpcre)
147
BuildRequires:  pkgconfig(freetype2)
148
BuildRequires:  pkgconfig(taglib) >= 1.9
149
BuildRequires:  pkgconfig(libcdio) >= 2.1.0
150
BuildRequires:  pkgconfig(lirc)
151
BuildRequires:  pkgconfig(RapidJSON)
152
%if %{with kodi_libbluray}
153
BuildRequires:  pkgconfig(libbluray)  >= 0.7.0
154
%endif
155
BuildRequires:  pkgconfig(alsa)
156
BuildRequires:  pkgconfig(dbus-1)
157
# libmicrohttpd > 0.9.30
158
BuildRequires:  pkgconfig(libmicrohttpd)
159
BuildRequires:  pkgconfig(libpulse) >= 1.0
160
BuildRequires:  pkgconfig(avahi-client)
161
BuildRequires:  pkgconfig(gbm)
162
%if %{with kodi_with_X11}
163
BuildRequires:  pkgconfig(x11)
164
BuildRequires:  pkgconfig(xext)
165
BuildRequires:  pkgconfig(xrandr)
166
BuildRequires:  pkgconfig(libdrm)
167
BuildRequires:  pkgconfig(egl)
168
BuildRequires:  pkgconfig(xkbcommon)
169
%endif
170
BuildRequires:  pkgconfig(libssh)
171
BuildRequires:  pkgconfig(smbclient)
172
BuildRequires:  pkgconfig(libnfs) >= 4.0.0
173
%if 0%{?suse_version} >= 1550 || ( 0%{?sle_version} >= 150400 && 0%{?is_opensuse} )
174
BuildRequires:  pkgconfig(libplist-2.0)
175
%else
176
BuildRequires:  pkgconfig(libplist)
177
%endif
178
BuildRequires:  shairplay-devel
179
BuildRequires:  pkgconfig(libudev)
180
BuildRequires:  pkgconfig(libcec) >= 4.0.0
181
BuildRequires:  pkgconfig(lcms2)
182
%if 0%{?suse_version} > 1315
183
BuildRequires:  pkgconfig(bluez)
184
%endif
185
BuildRequires:  libcap-devel
186
%if %{with sysffmpeg}
187
BuildRequires:  (pkgconfig(libavcodec) >= 58.18.100 with pkgconfig(libavcodec) < 59)
188
BuildRequires:  (pkgconfig(libavfilter) >= 6.107.100 with pkgconfig(libavfilter) < 8)
189
BuildRequires:  (pkgconfig(libavformat) >= 58.12.100 with pkgconfig(libavformat) < 59)
190
BuildRequires:  (pkgconfig(libavutil) >= 56.14.100 with pkgconfig(libavutil) < 57)
191
BuildRequires:  (pkgconfig(libpostproc) >= 54.7.100 with pkgconfig(libpostproc) < 56)
192
BuildRequires:  (pkgconfig(libswscale) >= 4.8.100 with pkgconfig(libswscale) < 6)
193
BuildRequires:  (pkgconfig(libswresample) >= 3.1.100 with pkgconfig(libswresample) < 4)
194
%else
195
BuildRequires:  ladspa-devel
196
BuildRequires:  libgsm-devel
197
BuildRequires:  pkg-config
198
BuildRequires:  yasm
199
BuildRequires:  pkgconfig(alsa)
200
BuildRequires:  pkgconfig(bzip2)
201
BuildRequires:  pkgconfig(celt) >= 0.11.0
202
BuildRequires:  pkgconfig(enca)
203
BuildRequires:  pkgconfig(fontconfig) >= 2.4.2
204
BuildRequires:  pkgconfig(freetype2)
205
BuildRequires:  pkgconfig(fribidi) >= 0.19.0
206
BuildRequires:  pkgconfig(gnutls)
207
BuildRequires:  pkgconfig(jack)
208
BuildRequires:  pkgconfig(libass)
209
BuildRequires:  pkgconfig(libbluray)
210
BuildRequires:  pkgconfig(libcdio_paranoia)
211
BuildRequires:  pkgconfig(libdc1394-2)
212
BuildRequires:  pkgconfig(liboil-0.3) >= 0.3.15
213
BuildRequires:  pkgconfig(libopenjpeg)
214
BuildRequires:  pkgconfig(libpulse)
215
BuildRequires:  pkgconfig(libraw1394)
216
BuildRequires:  pkgconfig(libwebp) >= 0.4
217
BuildRequires:  pkgconfig(ogg)
218
BuildRequires:  pkgconfig(opus)
219
BuildRequires:  pkgconfig(schroedinger-1.0)
220
BuildRequires:  pkgconfig(sdl)
221
BuildRequires:  pkgconfig(speex)
222
BuildRequires:  pkgconfig(theora) >= 1.1
223
BuildRequires:  pkgconfig(vorbis)
224
BuildRequires:  pkgconfig(vpx) >= 1.3.0
225
BuildRequires:  pkgconfig(x11)
226
BuildRequires:  pkgconfig(xcb)
227
BuildRequires:  pkgconfig(xcb-render)
228
BuildRequires:  pkgconfig(xcb-shape)
229
BuildRequires:  pkgconfig(xcb-shm)
230
BuildRequires:  pkgconfig(xcb-xfixes)
231
BuildRequires:  pkgconfig(xext)
232
BuildRequires:  pkgconfig(xfixes)
233
BuildRequires:  pkgconfig(zlib)
234
BuildRequires:  pkgconfig(librtmp)
235
BuildRequires:  libmp3lame-devel
236
BuildRequires:  libxvidcore-devel
237
BuildRequires:  pkgconfig(opencore-amrnb)
238
BuildRequires:  pkgconfig(twolame)
239
BuildRequires:  pkgconfig(x264)
240
BuildRequires:  pkgconfig(x265)
241
%endif
242
BuildRequires:  swig
243
BuildRequires:  java < 21
244
BuildRequires:  doxygen
245
%if %{with enable_opengl}
246
BuildRequires:  pkgconfig(gl)
247
BuildRequires:  pkgconfig(glu)
248
BuildRequires:  pkgconfig(vdpau)
249
%if 0%{?suse_version} < 1500
250
BuildRequires:  pkgconfig(libva) >= 0.38
251
BuildRequires:  pkgconfig(libva-x11) >= 0.38
252
%else
253
BuildRequires:  pkgconfig(libva) >= 1.0.0
254
BuildRequires:  pkgconfig(libva-x11) >= 1.0.0
255
%endif
256
%endif
257
%if %{with kodi_with_wayland}
258
BuildRequires:  pkgconfig(libva-wayland)
259
BuildRequires:  pkgconfig(wayland-scanner)
260
BuildRequires:  pkgconfig(wayland-scanner++)
261
BuildRequires:  pkgconfig(wayland-protocols)
262
BuildRequires:  pkgconfig(wayland-client)
263
BuildRequires:  pkgconfig(wayland-client++)
264
BuildRequires:  pkgconfig(wayland-cursor++)
265
BuildRequires:  pkgconfig(wayland-egl++)
266
%endif
267
%if %{with enable_opengles}
268
%if "%{kodi_platform}" == "none"
269
BuildRequires:  Mesa-libEGL-devel
270
BuildRequires:  Mesa-libGLESv2-devel
271
%else
272
%if ("%{kodi_platform}" == "raspberry-pi") || ("%{kodi_platform}" == "raspberry-pi2")
273
BuildRequires:  raspberrypi-userland-devel
274
%endif
275
%endif
276
%endif
277
%if "%{kodi_player}" == "omxplayer"
278
Requires:       omxplayer
279
%endif
280
BuildRequires:  cmake
281
BuildRequires:  gperf
282
BuildRequires:  unzip
283
BuildRequires:  zip
284
BuildRequires:  nasm
285
%if %{dev_build}
286
BuildRequires:  ccache
287
%endif
288
289
# cpluff
290
BuildRequires:  pkgconfig(expat)
291
292
# TexturePacker
293
BuildRequires:  pkgconfig(libpng)
294
BuildRequires:  giflib-devel
295
BuildRequires:  libjpeg8-devel
296
BuildRequires:  lzo-devel
297
#
298
BuildRequires:  pkgconfig(spdlog) > 1.8.0
299
BuildRequires:  libunistring-devel
300
301
%if 0%{?suse_version} > 1510
302
BuildRequires:  pkgconfig(gtest)
303
%else
304
BuildRequires: googletest-devel
305
%endif
306
#
307
# pipewire
308
BuildRequires: pkgconfig(libpipewire-0.3)
309
BuildRequires: pkgconfig(libspa-0.2)
310
#
311
%{?systemd_requires}
312
313
# kodi needs libnfs to access nfs sources, it is not automatically required
314
Requires:       libnfs
315
#
316
Obsoletes:      xbmc < %{version}
317
Provides:       xbmc = %{version}
318
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
319
%if %{with kodi_with_X11}
320
Conflicts:      kodi
321
%else
322
Conflicts:      kodi-noX
323
%endif
324
325
326
%description
327
KODI media center is a free cross-platform media-player jukebox and
328
entertainment hub.  KODI can play a spectrum of of multimedia formats,
329
and featuring playlist, audio visualizations, slideshow, and weather
330
forecast functions, together third-party plugins.
331
332
%package devel
333
Summary:        Kodi Media center devel files
334
Group:          Development/Languages/C and C++
335
Requires:       %{name}
336
BuildArch:      noarch
337
%if %{with kodi_with_X11}
338
Conflicts:      kodi-devel
339
%else
340
Conflicts:      kodi-noX-devel
341
%endif
342
343
%description devel
344
Development files for Kodi Media Center
345
346
%prep
347
%setup -q -n xbmc-%{version}-%{kodi_version}
348
#%setup -q -n xbmc-%{version}
349
350
#%patch0
351
#%patch1
352
#%patch2
353
#%patch3
354
#%patch4
355
#%patch5
356
357
%patch6
358
# %patch7
359
#%patch8 -p1
360
%if %{without sysffmpeg}
361
%patch11
362
%endif
363
%if %{without kodi_with_wayland}
364
%patch9
365
%endif
366
%patch12 -p1
367
368
%build
369
370
# Remove build time references so build-compare can do its work
371
date -u -r version.txt +%%Y%%m%%d | tee BUILDDATE 
372
FAKE_BUILDDATETIME=$(LC_ALL=C date -u -r %{_sourcedir}/%{name}.changes)
373
for file in xbmc/interfaces/python/PythonSwig.cpp.template ; do
374
  sed -i -e "/PyModule_AddStringConstant.*__date__/ s/\${new Date()\.toString()}/$FAKE_BUILDDATETIME/"  $file
375
done
376
377
# Set the final version string
378
cp %{SOURCE3} VERSION
379
380
# avoid long delays when powerkit isn't running
381
sed -i \
382
    -e '/dbus_connection_send_with_reply_and_block/s:-1:3000:' \
383
    xbmc/platform/linux/*.cpp
384
385
%if "%{kodi_platform}" == "raspberry-pi" || "%{kodi_platform}" == "raspberry-pi2"
386
export CXXFLAGS="$CXXFLAGS -I%{_includedir}/interface/vcos/pthreads -I%{_includedir}/interface/vmcs_host/linux"
387
%endif
388
389
%if 0%{?suse_version} >= 1550 && 0%{?sle_version} == 0
390
 export CC=gcc
391
 export CXX=g++
392
%else
393
%if 0%{?suse_version} > 1320 && 0%{?sle_version} == 0
394
 export CC=gcc-9
395
 export CXX=g++-9
396
%else
397
 export CC=gcc-8
398
 export CXX=g++-8
399
%endif
400
%endif
401
402
%cmake \
403
%ifarch i586
404
    -DCMAKE_C_FLAGS='-msse' \
405
%endif
406
%if %{dev_build}
407
    -DVERBOSE=ON \
408
%endif
409
%if %{with kodi_with_wayland}
410
    -DWAYLANDPP_INCLUDE_DIR="$(pkg-config --cflags-only-I wayland-client++ | sed -e 's/^-I//;s/ -I/;/g;s/ $//')" \
411
%endif
412
    -DCMAKE_C_COMPILER=$CC \
413
    -DCMAKE_CXX_COMPILER=$CXX \
414
    -DENABLE_INTERNAL_FMT=OFF \
415
    -DENABLE_INTERNAL_FFMPEG=OFF \
416
    -DFFMPEG_URL=%{SOURCE30} \
417
    -DENABLE_INTERNAL_CDIO=OFF \
418
    -DENABLE_INTERNAL_SPDLOG=OFF \
419
    -DCROSSGUID_URL=%{SOURCE20} \
420
    -DLIBDVDNAV_URL=%{SOURCE21} \
421
    -DLIBDVDCSS_URL=%{SOURCE22} \
422
    -DLIBDVDREAD_URL=%{SOURCE23} \
423
    -DENABLE_INTERNAL_RapidJSON=OFF \
424
    -DENABLE_INTERNAL_FLATBUFFERS=OFF \
425
    -DENABLE_INTERNAL_FSTRCMP=OFF \
426
    -DAPP_RENDER_SYSTEM=gl \
427
    -DX11_RENDER_SYSTEM=gl \
428
    -DBUILD_SHARED_LIBS=1 \
429
    -DPYTHON_VER=3.11 \
430
    ${NULL}
431
432
    #-DRapidJSON_URL=%{SOURCE25}
433
    #-DENABLE_INTERNAL_RapidJSON=ON
434
    #-DENABLE_INTERNAL_FLATBUFFERS=ON
435
    #-DFLATBUFFERS_URL=%{SOURCE26}
436
    #-DENABLE_INTERNAL_FSTRCMP=ON
437
    #-DFSTRCMP_URL=%{SOURCE27}
438
439
make -O %{?_smp_mflags} V=1 CC=$CC CXX=$CXX || ls -alF
440
441
%install
442
pushd build
443
make DESTDIR=%{buildroot} install %{?_smp_mflags}
444
#make -C tools/EventClients DESTDIR=%%{buildroot} install %%{?_smp_mflags}
445
446
# Tumbleweed does not have SuSEfirewall anymore:
447
%if 0%{?is_opensuse} == 0 || 0%{?suse_version} < 1550
448
# SuSEfirewall service description
449
install -D -m 644 %{_sourcedir}/kodi.SuSEFirewall2 %{buildroot}%{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/kodi
450
%endif
451
452
# Systemd service file
453
%if %{without kodi_with_X11}
454
install -m 0644 -D %{SOURCE11} %{buildroot}/%{_unitdir}/kodi-noX.service
455
%else
456
install -m 0644 -D %{SOURCE10} %{buildroot}/%{_unitdir}/kodi.service
457
%endif
458
459
# remove the doc files from unversioned /usr/share/doc/kodi, they should be in versioned docdir
460
rm -r %{buildroot}/%{_datadir}/doc/
461
462
# remove win32 source files
463
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.addon/dlfcn-win32.cpp
464
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.addon/dlfcn-win32.h
465
rm -f %{buildroot}%{_kodi_addons_dir}/library.xbmc.addon/dlfcn-win32.cpp
466
rm -f %{buildroot}%{_kodi_addons_dir}/library.xbmc.addon/dlfcn-win32.h
467
468
# remove duplicate header files
469
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.addon/libXBMC_addon.h
470
rm -f %{buildroot}%{_kodi_addons_dir}/library.xbmc.addon/libXBMC_addon.h
471
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.codec/libXBMC_codec.h
472
rm -f %{buildroot}%{_kodi_addons_dir}/library.xbmc.codec/libXBMC_codec.h
473
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.gui/libXBMC_gui.h
474
rm -f %{buildroot}%{_kodi_addons_dir}/library.xbmc.gui/libXBMC_gui.h
475
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.pvr/libXBMC_pvr.h
476
rm -f %{buildroot}%{_kodi_addons_dir}/library.xbmc.pvr/libXBMC_pvr.h
477
rm -f %{buildroot}%{_kodi_addons_dir}/library.kodi.guilib/libKODI_guilib.h
478
479
# copy manpages
480
popd
481
install -m 644 -D docs/manpages/kodi-standalone.1 %{buildroot}%{_mandir}/man1/kodi-standalone.1
482
install -m 644 -D docs/manpages/kodi.bin.1 %{buildroot}%{_mandir}/man1/kodi.1
483
484
desktop-file-install \
485
 --dir=%{buildroot}%{_datadir}/applications \
486
 %{buildroot}%{_datadir}/applications/kodi.desktop
487
488
%fdupes %{buildroot}
489
490
%pre
491
%service_add_pre kodi.service
492
493
%post
494
%service_add_post kodi.service
495
496
%preun
497
%service_del_preun kodi.service
498
499
%postun
500
%service_del_postun kodi.service
501
502
%files
503
%defattr(-,root,root)
504
%doc version.txt 
505
%if 0%{?is_opensuse} == 0 || 0%{?suse_version} < 1550
506
%config %{_sysconfdir}/sysconfig/SuSEfirewall2.d/services/kodi
507
%endif
508
%{_bindir}/kodi
509
%{_bindir}/kodi-standalone
510
%{_bindir}/kodi-TexturePacker
511
%{_bindir}/JsonSchemaBuilder
512
%dir %{_libdir}/kodi
513
%if %{with kodi_with_X11}
514
%{_libdir}/kodi/kodi-xrandr
515
%{_libdir}/kodi/kodi.bin
516
%endif
517
%{_datadir}/xsessions/kodi.desktop
518
%{_datadir}/applications/kodi.desktop
519
%{_datadir}/metainfo/org.xbmc.kodi.metainfo.xml
520
%{_datadir}/icons/*
521
%dir %{_datadir}/kodi
522
%dir %{_datadir}/kodi/media
523
%dir %{_datadir}/kodi/system
524
%dir %{_libdir}/kodi/system
525
%dir %{_datadir}/kodi/userdata
526
%{_datadir}/kodi/media/*
527
%{_datadir}/kodi/system/*
528
%{_datadir}/kodi/privacy-policy.txt
529
%{_libdir}/kodi/system/*
530
%{_datadir}/kodi/userdata/*
531
%{_mandir}/man1/kodi.1.gz
532
%{_mandir}/man1/kodi-standalone.1.gz
533
%dir %{_kodi_addons_dir}
534
%dir %{_kodi_addons_dir}/game.controller.default
535
%{_kodi_addons_dir}/game.controller.default/*
536
%dir %{_kodi_addons_dir}/game.controller.keyboard
537
%{_kodi_addons_dir}/game.controller.keyboard/*
538
%dir %{_kodi_addons_dir}/game.controller.mouse
539
%{_kodi_addons_dir}/game.controller.mouse/*
540
%dir %{_kodi_addons_dir}/game.controller.snes
541
%{_kodi_addons_dir}/game.controller.snes/*
542
%dir %{_kodi_addons_dir}/metadata.album.universal/
543
%{_kodi_addons_dir}/metadata.album.universal/*
544
%dir %{_kodi_addons_dir}/metadata.artists.universal/
545
%{_kodi_addons_dir}/metadata.artists.universal/*
546
%dir %{_kodi_addons_dir}/metadata.common.allmusic.com/
547
%{_kodi_addons_dir}/metadata.common.allmusic.com/*
548
%dir %{_kodi_addons_dir}/metadata.common.fanart.tv/
549
%{_kodi_addons_dir}/metadata.common.fanart.tv/*
550
%dir %{_kodi_addons_dir}/metadata.common.musicbrainz.org/
551
%{_kodi_addons_dir}/metadata.common.musicbrainz.org/*
552
%dir %{_kodi_addons_dir}/metadata.common.theaudiodb.com/
553
%{_kodi_addons_dir}/metadata.common.theaudiodb.com/*
554
%dir %{_kodi_addons_dir}/metadata.local/
555
%{_kodi_addons_dir}/metadata.local/*
556
%dir %{_kodi_addons_dir}/metadata.themoviedb.org.python/
557
%{_kodi_addons_dir}/metadata.themoviedb.org.python/*
558
%dir %{_kodi_addons_dir}/metadata.tvshows.themoviedb.org.python/
559
%{_kodi_addons_dir}/metadata.tvshows.themoviedb.org.python/*
560
%dir %{_kodi_addons_dir}/repository.xbmc.org/
561
%{_kodi_addons_dir}/repository.xbmc.org/*
562
%dir %{_kodi_addons_dir}/resource.uisounds.kodi/
563
%{_kodi_addons_dir}/resource.uisounds.kodi/*
564
%dir %{_kodi_addons_dir}/screensaver.xbmc.builtin.black/
565
%{_kodi_addons_dir}/screensaver.xbmc.builtin.black/*
566
%dir %{_kodi_addons_dir}/screensaver.xbmc.builtin.dim/
567
%{_kodi_addons_dir}/screensaver.xbmc.builtin.dim/*
568
%dir %{_kodi_addons_dir}/script.module.pil/
569
%{_kodi_addons_dir}/script.module.pil/*
570
%dir %{_kodi_addons_dir}/service.xbmc.versioncheck/
571
%{_kodi_addons_dir}/service.xbmc.versioncheck/*
572
%dir %{_kodi_addons_dir}/webinterface.default/
573
%{_kodi_addons_dir}/webinterface.default/*
574
%dir %{_kodi_addons_dir}/xbmc.addon/
575
%{_kodi_addons_dir}/xbmc.addon/*
576
%dir %{_kodi_addons_dir}/xbmc.core/
577
%{_kodi_addons_dir}/xbmc.core/*
578
%dir %{_kodi_addons_dir}/xbmc.gui/
579
%{_kodi_addons_dir}/xbmc.gui/*
580
%dir %{_kodi_addons_dir}/xbmc.json/
581
%{_kodi_addons_dir}/xbmc.json/*
582
%dir %{_kodi_addons_dir}/xbmc.metadata/
583
%{_kodi_addons_dir}/xbmc.metadata/*
584
%dir %{_kodi_addons_dir}/xbmc.python/
585
%{_kodi_addons_dir}/xbmc.python/*
586
%dir %{_kodi_addons_dir}/audioencoder.kodi.builtin.aac/
587
%{_kodi_addons_dir}/audioencoder.kodi.builtin.aac/*
588
%dir %{_kodi_addons_dir}/audioencoder.kodi.builtin.wma/
589
%{_kodi_addons_dir}/audioencoder.kodi.builtin.wma/*
590
%dir %{_kodi_addons_dir}/kodi.resource/
591
%{_kodi_addons_dir}/kodi.resource/*
592
%dir %{_kodi_addons_dir}/resource.language.en_gb/
593
%{_kodi_addons_dir}/resource.language.en_gb/*
594
%dir %{_kodi_addons_dir}/xbmc.webinterface/
595
%{_kodi_addons_dir}/xbmc.webinterface/*
596
%dir %{_kodi_addons_dir}/resource.images.weathericons.default
597
%{_kodi_addons_dir}/resource.images.weathericons.default/*
598
%dir %{_kodi_addons_dir}/kodi.binary.instance.inputstream/
599
%{_kodi_addons_dir}/kodi.binary.instance.inputstream/*
600
%dir %{_kodi_addons_dir}/kodi.binary.instance.audioencoder/
601
%{_kodi_addons_dir}/kodi.binary.instance.audioencoder/*
602
%dir %{_kodi_addons_dir}/skin.estouchy
603
%{_kodi_addons_dir}/skin.estouchy/*
604
%dir %{_kodi_addons_dir}/skin.estuary
605
%{_kodi_addons_dir}/skin.estuary/*
606
%dir %{_kodi_addons_dir}/kodi.binary.global.audioengine
607
%{_kodi_addons_dir}/kodi.binary.global.audioengine/*
608
%dir %{_kodi_addons_dir}/kodi.binary.global.filesystem
609
%{_kodi_addons_dir}/kodi.binary.global.filesystem/*
610
%dir %{_kodi_addons_dir}/kodi.binary.global.general
611
%{_kodi_addons_dir}/kodi.binary.global.general/*
612
%dir %{_kodi_addons_dir}/kodi.binary.global.gui
613
%{_kodi_addons_dir}/kodi.binary.global.gui/*
614
%dir %{_kodi_addons_dir}/kodi.binary.global.main
615
%{_kodi_addons_dir}/kodi.binary.global.main/*
616
%dir %{_kodi_addons_dir}/kodi.binary.global.network
617
%{_kodi_addons_dir}/kodi.binary.global.network/*
618
%dir %{_kodi_addons_dir}/kodi.binary.instance.audiodecoder
619
%{_kodi_addons_dir}/kodi.binary.instance.audiodecoder/*
620
%dir %{_kodi_addons_dir}/kodi.binary.instance.game
621
%{_kodi_addons_dir}/kodi.binary.instance.game/*
622
%dir %{_kodi_addons_dir}/kodi.binary.instance.imagedecoder
623
%{_kodi_addons_dir}/kodi.binary.instance.imagedecoder/*
624
%dir %{_kodi_addons_dir}/kodi.binary.instance.peripheral
625
%{_kodi_addons_dir}/kodi.binary.instance.peripheral/*
626
%dir %{_kodi_addons_dir}/kodi.binary.instance.pvr
627
%{_kodi_addons_dir}/kodi.binary.instance.pvr/*
628
%dir %{_kodi_addons_dir}/kodi.binary.instance.screensaver
629
%{_kodi_addons_dir}/kodi.binary.instance.screensaver/*
630
%dir %{_kodi_addons_dir}/kodi.binary.instance.vfs
631
%{_kodi_addons_dir}/kodi.binary.instance.vfs/*
632
%dir %{_kodi_addons_dir}/kodi.binary.instance.videocodec
633
%{_kodi_addons_dir}/kodi.binary.instance.videocodec/*
634
%dir %{_kodi_addons_dir}/kodi.binary.instance.visualization
635
%{_kodi_addons_dir}/kodi.binary.instance.visualization/*
636
%dir %{_kodi_addons_dir}/script.module.pycryptodome
637
%{_kodi_addons_dir}/script.module.pycryptodome/*
638
%dir %{_kodi_addons_dir}/metadata.generic.albums
639
%{_kodi_addons_dir}/metadata.generic.albums/*
640
%dir %{_kodi_addons_dir}/metadata.generic.artists
641
%{_kodi_addons_dir}/metadata.generic.artists/*
642
%dir %{_kodi_addons_dir}/kodi.binary.global.tools
643
%{_kodi_addons_dir}/kodi.binary.global.tools/*
644
645
%dir %{_libdir}/firewalld
646
%dir %{_libdir}/firewalld/services
647
%{_libdir}/firewalld/services/kodi-eventserver.xml
648
%{_libdir}/firewalld/services/kodi-http.xml
649
%{_libdir}/firewalld/services/kodi-jsonrpc.xml
650
651
%if %{without kodi_with_X11}
652
%{_unitdir}/kodi-noX.service
653
%else
654
%{_unitdir}/kodi.service
655
%endif
656
657
%dir %{_datadir}/kodi/cmake
658
%{_datadir}/kodi/cmake/AddonHelpers.cmake
659
%{_datadir}/kodi/cmake/AddOptions.cmake
660
%{_datadir}/kodi/cmake/ArchSetup.cmake
661
%{_datadir}/kodi/cmake/CheckCommits.cmake
662
%{_datadir}/kodi/cmake/CheckTargetPlatform.cmake
663
%{_datadir}/kodi/cmake/GenerateVersionedFiles.cmake
664
%{_datadir}/kodi/cmake/GeneratorSetup.cmake
665
%{_datadir}/kodi/cmake/HandleDepends.cmake
666
%{_datadir}/kodi/cmake/Macros.cmake
667
%{_datadir}/kodi/cmake/PrepareEnv.cmake
668
%{_datadir}/kodi/cmake/ProjectMacros.cmake
669
%{_datadir}/kodi/cmake/PathSetup.cmake
670
%dir %{_libdir}/kodi/cmake
671
%{_libdir}/kodi/cmake/KodiConfig.cmake
672
673
%{_datadir}/metainfo/org.xbmc.kodi.metainfo.xml
674
675
%files devel
676
%defattr(-,root,root)
677
%dir %{_includedir}/kodi
678
%dir %{_includedir}/kodi/tools
679
%{_includedir}/kodi/tools/DllHelper.h
680
%{_includedir}/kodi/AddonBase.h
681
%{_includedir}/kodi/AudioEngine.h
682
%{_includedir}/kodi/Filesystem.h
683
%{_includedir}/kodi/General.h
684
%{_includedir}/kodi/Network.h
685
%{_includedir}/kodi/versions.h
686
%dir %{_includedir}/kodi/addon-instance
687
%{_includedir}/kodi/addon-instance/*
688
%dir %{_includedir}/kodi/addon-instance/inputstream
689
%{_includedir}/kodi/addon-instance/inputstream/*
690
%dir %{_includedir}/kodi/addon-instance/peripheral
691
%{_includedir}/kodi/addon-instance/peripheral/*
692
%dir %{_includedir}/kodi/addon-instance/pvr
693
%{_includedir}/kodi/addon-instance/pvr/*
694
%dir %{_includedir}/kodi/c-api
695
%{_includedir}/kodi/c-api/*
696
%dir %{_includedir}/kodi/c-api/addon-instance
697
%{_includedir}/kodi/c-api/addon-instance/*
698
%dir %{_includedir}/kodi/c-api/addon-instance/inputstream
699
%{_includedir}/kodi/c-api/addon-instance/inputstream/*
700
%dir %{_includedir}/kodi/c-api/addon-instance/pvr
701
%{_includedir}/kodi/c-api/addon-instance/pvr/*
702
%dir %{_includedir}/kodi/c-api/gui
703
%{_includedir}/kodi/c-api/gui/*
704
%dir %{_includedir}/kodi/c-api/gui/controls
705
%{_includedir}/kodi/c-api/gui/controls/*
706
%dir %{_includedir}/kodi/c-api/gui/dialogs
707
%{_includedir}/kodi/c-api/gui/dialogs/*
708
%dir %{_includedir}/kodi/c-api/gui/input
709
%{_includedir}/kodi/c-api/gui/input/*
710
%dir %{_includedir}/kodi/c-api/platform
711
%dir %{_includedir}/kodi/c-api/platform/android
712
%{_includedir}/kodi/c-api/platform/android/*
713
%dir %{_includedir}/kodi/gui
714
%{_includedir}/kodi/gui/*
715
%dir %{_includedir}/kodi/gui/controls
716
%{_includedir}/kodi/gui/controls/*
717
%dir %{_includedir}/kodi/gui/dialogs
718
%{_includedir}/kodi/gui/dialogs/*
719
%dir %{_includedir}/kodi/gui/gl
720
%{_includedir}/kodi/gui/gl/*
721
%dir %{_includedir}/kodi/gui/input
722
%{_includedir}/kodi/gui/input/*
723
%dir %{_includedir}/kodi/platform
724
%dir %{_includedir}/kodi/platform/android
725
%{_includedir}/kodi/platform/android/System.h
726
%dir %{_includedir}/kodi/tools
727
%{_includedir}/kodi/tools/*
728
729
%changelog
730