File vlc-beta.spec of Package vlc-beta

#
# spec file for package vlc-beta
#
# Copyright (c) 2017 Packman team: http://packman.links2linux.org/
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via https://bugs.links2linux.org/
#


%global  _buildshell /bin/bash
%global __provides_exclude_from ^%_libdir/%name/[^/]+/.*\\.so(|\\.[0-9].*)$
%bcond_with    vlc_opencv
%bcond_with    fdk_aac
%ifarch %arm
%bcond_without opengles
%else
%bcond_with opengles
%endif
%bcond_with     vlc_medialibrary
Name:           vlc-beta
Version:        0
Release:        0
Summary:        Snapshot of vlc.git#master
License:        GPL-2.0+ and LGPL-2.1+
URL:            https://code.videolan.org/videolan/vlc
Source0:        %name-%version.tar
Source1:        %name.changes
Source3:        %name-rpmlintrc
Patch0:         vlc-beta.patch

# avoid stale debug.rpm
Conflicts:      %name-debuginfo < %version-%release 
Conflicts:      %name-debugsource < %version-%release 
#
Conflicts:      vlc
Conflicts:      vlc-codec-fluidsynth
Conflicts:      vlc-codec-fluidsynth-debuginfo
Conflicts:      vlc-codec-gstreamer
Conflicts:      vlc-codec-gstreamer-debuginfo
Conflicts:      vlc-codecs
Conflicts:      vlc-codecs-debuginfo
Conflicts:      vlc-debuginfo
Conflicts:      vlc-debugsource
Conflicts:      vlc-devel
Conflicts:      vlc-jack
Conflicts:      vlc-jack-debuginfo
Conflicts:      vlc-lang
Conflicts:      vlc-noX
Conflicts:      vlc-noX-debuginfo
Conflicts:      vlc-opencv
Conflicts:      vlc-opencv-debuginfo
Conflicts:      vlc-qt
Conflicts:      vlc-qt-debuginfo
Conflicts:      vlc-vdpau
Conflicts:      vlc-vdpau-debuginfo
#
Obsoletes:      libvlc123 < %version-%release
Obsoletes:      libvlc123-debuginfo < %version-%release
Obsoletes:      libvlccore123 < %version-%release
Obsoletes:      libvlccore123-debuginfo < %version-%release
Obsoletes:      vlc-beta-devel < %version-%release
Obsoletes:      vlc-beta-noX < %version-%release
Obsoletes:      vlc-beta-noX-debuginfo < %version-%release
Obsoletes:      vlc-beta-noX-lang < %version-%release
Obsoletes:      vlc-beta-qt < %version-%release
Obsoletes:      vlc-beta-qt-debuginfo < %version-%release
Provides:       libvlc123 = %version-%release
Provides:       libvlc123-debuginfo = %version-%release
Provides:       libvlccore123 = %version-%release
Provides:       libvlccore123-debuginfo = %version-%release
Provides:       vlc-beta-devel = %version-%release
Provides:       vlc-beta-noX = %version-%release
Provides:       vlc-beta-noX-debuginfo = %version-%release
Provides:       vlc-beta-noX-lang = %version-%release
Provides:       vlc-beta-qt = %version-%release
Provides:       vlc-beta-qt-debuginfo = %version-%release

BuildRequires:  bash
BuildRequires:  flex
BuildRequires:  bison
%if 0%{?suse_version} > 1500
BuildRequires:  gettext-devel >= 0.21
BuildRequires:  gettext-tools
%endif
BuildRequires:  libtool
BuildRequires:  pkg-config
%if %{with vlc_medialibrary}
BuildRequires:  pkgconfig(medialibrary)
%endif
BuildRequires:  pkgconfig(zlib)
BuildRequires:  pkgconfig(libidn)
BuildRequires:  pkgconfig(dbus-1) >= 1.6.0
BuildRequires:  pkgconfig(libsystemd)
BuildRequires:  pkgconfig(lua) >= 5.1
BuildRequires:  pkgconfig(libarchive) >= 3.1.0
BuildRequires:  pkgconfig(live555) >= 2015.01.27
BuildRequires:  pkgconfig(libdc1394-2) >= 2.1.0
BuildRequires:  pkgconfig(libraw1394) >= 2.0.1
BuildRequires:  pkgconfig(libavc1394) >= 0.5.3
BuildRequires:  pkgconfig(zvbi-0.2) >= 0.2.28
BuildRequires:  pkgconfig(dvdnav) >= 6.0.0
BuildRequires:  pkgconfig(dvdread) >= 6.0.0
BuildRequires:  pkgconfig(libplacebo)
BuildRequires:  pkgconfig(vulkan) >= 1.0.26
BuildRequires:  pkgconfig(libbluray)
%if %{with vlc_opencv}
BuildRequires:  pkgconfig(opencv) > 2.0
%endif
BuildRequires:  pkgconfig(smbclient)
BuildRequires:  pkgconfig(libssh2)
BuildRequires:  pkgconfig(libnfs) >= 1.10.0
BuildRequires:  pkgconfig(libv4l2)
#uildRequires:  pkgconfig(ffnvcodec)
BuildRequires:  pkgconfig(libcddb) >= 0.9.5
BuildRequires:  pkgconfig(libvncclient) >= 0.9.9
BuildRequires:  pkgconfig(freerdp2)
BuildRequires:  pkgconfig(libdvbpsi) >= 1.2.0
BuildRequires:  pkgconfig(libgme)
BuildRequires:  pkgconfig(ogg) >= 1.0
BuildRequires:  pkgconfig(vorbis) >= 1.1
BuildRequires:  pkgconfig(shout) >= 2.1
BuildRequires:  pkgconfig(libebml) >= 1.3.6
BuildRequires:  pkgconfig(libmatroska)
BuildRequires:  pkgconfig(libmodplug)
BuildRequires:  pkgconfig(shine) >= 3.0.0
BuildRequires:  pkgconfig(mad)
BuildRequires:  pkgconfig(libmpg123)
BuildRequires:  ffmpeg-6-libavutil-devel
BuildRequires:  ffmpeg-6-libavcodec-devel
BuildRequires:  pkgconfig(libva) >= 0.38
BuildRequires:  pkgconfig(libva-drm)
BuildRequires:  pkgconfig(libva-x11)
BuildRequires:  ffmpeg-6-libavformat-devel
BuildRequires:  ffmpeg-6-libswscale-devel
BuildRequires:  ffmpeg-6-libpostproc-devel
BuildRequires:  pkgconfig(faad2)
BuildRequires:  pkgconfig(rav1e)
BuildRequires:  pkgconfig(dav1d)
BuildRequires:  pkgconfig(vpx) >= 1.5.0
BuildRequires:  pkgconfig(twolame)
%if %{with fdk_aac}
BuildRequires:  pkgconfig(fdk-aac)
%endif
BuildRequires:  pkgconfig(flac)
BuildRequires:  pkgconfig(vorbisenc) >= 1.1
BuildRequires:  pkgconfig(speex) >= 1.0.5
BuildRequires:  pkgconfig(opus) >= 1.0.3
BuildRequires:  pkgconfig(theoradec) >= 1.0
BuildRequires:  pkgconfig(theoraenc)
BuildRequires:  pkgconfig(schroedinger-1.0) >= 1.0.10
BuildRequires:  pkgconfig(libpng)
BuildRequires:  pkgconfig(libjpeg)
BuildRequires:  pkgconfig(x265)
BuildRequires:  pkgconfig(x264) >= 0.86
BuildRequires:  pkgconfig(fluidsynth) >= 1.1.2
BuildRequires:  pkgconfig(libass) >= 0.9.8
BuildRequires:  pkgconfig(kate) >= 0.3.0
BuildRequires:  pkgconfig(gbm)
BuildRequires:  pkgconfig(gl)
BuildRequires:  pkgconfig(egl)
BuildRequires:  pkgconfig(xcb) >= 1.6
BuildRequires:  pkgconfig(xcb-render)
BuildRequires:  pkgconfig(xcb-shm) >= 1.9.2
BuildRequires:  pkgconfig(xcb-composite)
BuildRequires:  pkgconfig(xproto)
BuildRequires:  pkgconfig(xcursor)
BuildRequires:  pkgconfig(xcb-randr) >= 1.3
BuildRequires:  pkgconfig(xcb-keysyms) >= 0.3.4
BuildRequires:  pkgconfig(xcb-damage)
BuildRequires:  pkgconfig(xcb-xfixes)
BuildRequires:  pkgconfig(vdpau) >= 0.6
BuildRequires:  pkgconfig(libva-wayland)
BuildRequires:  pkgconfig(wayland-client)
BuildRequires:  pkgconfig(wayland-cursor)
BuildRequires:  pkgconfig(wayland-egl)
BuildRequires:  pkgconfig(wayland-protocols) >= 1.15
BuildRequires:  pkgconfig(wayland-scanner) >= 1.15
BuildRequires:  pkgconfig(xkbcommon)
BuildRequires:  pkgconfig(freetype2)
BuildRequires:  pkgconfig(fontconfig) >= 2.11
BuildRequires:  pkgconfig(fribidi)
BuildRequires:  pkgconfig(harfbuzz)
BuildRequires:  pkgconfig(librsvg-2.0) >= 2.9.0
BuildRequires:  pkgconfig(cairo) >= 1.13.1
BuildRequires:  pkgconfig(libdrm) >= 2.4.83
BuildRequires:  pkgconfig(caca) >= 0.99.beta14
BuildRequires:  pkgconfig(libpipewire-0.3)
BuildRequires:  pkgconfig(libpulse) >= 6.0
BuildRequires:  pkgconfig(alsa) >= 1.0.24
BuildRequires:  pkgconfig(jack) >= 1.9.7
BuildRequires:  pkgconfig(samplerate)
BuildRequires:  pkgconfig(soxr) >= 0.1.2
BuildRequires:  pkgconfig(libebur128) >= 1.2.4
BuildRequires:  pkgconfig(libchromaprint) >= 0.6.0
%if 0%{?suse_version} > 1500
BuildRequires:  pkgconfig(KF6WindowSystem)
%endif
BuildRequires:  pkgconfig(Qt6Core)
BuildRequires:  pkgconfig(Qt6Gui)
BuildRequires:  pkgconfig(Qt6Qml)
BuildRequires:  pkgconfig(Qt6QmlModels)
BuildRequires:  pkgconfig(Qt6QmlWorkerScript)
BuildRequires:  pkgconfig(Qt6Quick)
BuildRequires:  pkgconfig(Qt6QuickControls2)
BuildRequires:  pkgconfig(Qt6QuickLayouts)
BuildRequires:  pkgconfig(Qt6QuickTemplates2)
BuildRequires:  pkgconfig(Qt6ShaderTools)
BuildRequires:  pkgconfig(Qt6Svg)
BuildRequires:  pkgconfig(Qt6WaylandClient)
BuildRequires:  pkgconfig(Qt6Widgets)
BuildRequires:  qt6qmlimport(Qt5Compat.GraphicalEffects.1)
#uildRequires:  qt6qmlimport(QtQml.Models)
BuildRequires:  qt6qmlimport(QtQuick.Controls.6)
#uildRequires:  qt6qmlimport(QtQuick.Layouts)
BuildRequires:  qt6qmlimport(QtQuick.Window.2)
BuildRequires:  pkgconfig(xpm)
BuildRequires:  pkgconfig(xinerama)
BuildRequires:  pkgconfig(xext)
BuildRequires:  pkgconfig(xcb-xkb)
BuildRequires:  pkgconfig(xkbcommon-x11)
BuildRequires:  pkgconfig(ncursesw)
BuildRequires:  pkgconfig(lirc)
BuildRequires:  pkgconfig(avahi-client) >= 0.6
BuildRequires:  pkgconfig(libudev) >= 142
BuildRequires:  pkgconfig(libmtp) >= 1.0.0
BuildRequires:  pkgconfig(libupnp)
BuildRequires:  pkgconfig(libxml-2.0) >= 2.5
BuildRequires:  libgcrypt-devel >= 1.6.0
BuildRequires:  pkgconfig(gnutls) >= 3.5.0
BuildRequires:  pkgconfig(taglib) >= 1.11
BuildRequires:  pkgconfig(libsecret-1) >= 0.18
BuildRequires:  pkgconfig(libnotify)
BuildRequires:  pkgconfig(gtk+-3.0)
%if 0%{?suse_version} > 1500
BuildRequires:  pkgconfig(protobuf-lite)
%endif

BuildRequires:  fdupes
BuildRequires:  update-desktop-files

Requires:       qt6qmlimport(Qt5Compat.GraphicalEffects.1)
Requires:       qt6qmlimport(QtQuick.Controls.6)
Requires:       qt6qmlimport(QtQuick.Window.2)

%description
VLC media player is a multimedia player.
It can also be used as a server to stream in unicast or multicast.

%prep
%autosetup -p1

%build
head -n 123 /proc/cpuinfo /proc/cmdline || :
uname -a
VERSION=%version
echo "${VERSION##*.}" > ./src/revision.txt
VERSION_MAJOR=${VERSION:0:2}
VERSION_MINOR=${VERSION:2:2}
VERSION_REVISION=${VERSION:4:2}
VERSION_REVISION=${VERSION_REVISION#0*}
VERSION_EXTRA=${VERSION:6:2}
VERSION_EXTRA=${VERSION_EXTRA#0*}
VERSION_DEV=${VERSION#*.}
sed -i~ "
s@^AC_INIT.*@AC_INIT([%name], [${VERSION%%.*}])@
s@^VERSION_MAJOR=.@VERSION_MAJOR=${VERSION_MAJOR}@
s@^VERSION_MINOR=.@VERSION_MINOR=${VERSION_MINOR}@
s@^VERSION_REVISION=.@VERSION_REVISION=${VERSION_REVISION}@
s@^VERSION_EXTRA=.@VERSION_EXTRA=${VERSION_EXTRA}@
s@^VERSION_DEV=.@VERSION_DEV=${VERSION_DEV}@
" configure.ac
diff -u "$_"~ "$_" && exit 1
sed -i~ "
/define[[:blank:]]\\+LIBVLC_VERSION_MAJOR/s@^.*@#define LIBVLC_VERSION_MAJOR ${VERSION_MAJOR}@
/define[[:blank:]]\\+LIBVLC_VERSION_MINOR/s@^.*@#define LIBVLC_VERSION_MINOR ${VERSION_MINOR}@
/define[[:blank:]]\\+LIBVLC_VERSION_REVISION/s@^.*@#define LIBVLC_VERSION_REVISION ${VERSION_REVISION}@
/define[[:blank:]]\\+LIBVLC_VERSION_EXTRA/s@^.*@#define LIBVLC_VERSION_EXTRA ${VERSION_EXTRA}@
" include/vlc/libvlc_version.h
diff -u "$_"~ "$_" && exit 1
# fix builddate info
# Remove build time references so build-compare can do its work
FAKE_BUILDTIME=$(LC_ALL=C date -u -r %{SOURCE1} '+%%H:%%M')
FAKE_BUILDDATE=$(LC_ALL=C date -u -r %{SOURCE1} '+%%b %%e %%Y')
sed -i~ "
s/__TIME__/\"$FAKE_BUILDTIME\"/
s/__DATE__/\"$FAKE_BUILDDATE\"/
" src/config/help.c modules/gui/qt/dialogs/help/help.cpp
#
#
export VLC_COMPILE_BY='X'
export VLC_COMPILE_HOST='X'
test -x "$(type -p gcc)"    && BUILDCC="$_"
test -x "$(type -p gcc)"    && CC="$_"
test -x "$(type -p g++)"    && CXX="$_"
test -x "$(type -p gcc-10)" && BUILDCC="$_"
test -x "$(type -p gcc-10)" && CC="$_"
test -x "$(type -p g++-10)" && CXX="$_"
test -x "$(type -p gcc-13)" && BUILDCC="$_"
test -x "$(type -p gcc-13)" && CC="$_"
test -x "$(type -p g++-13)" && CXX="$_"
export BUILDCC="$(readlink -f ${BUILDCC})"
export CC="$(readlink -f ${CC})"
export CXX="$(readlink -f ${CXX})"
CFLAGS='%optflags -Wno-unused-variable -Wno-unused-parameter -Wno-deprecated-declarations -Wno-unused-but-set-variable'
CXXFLAGS='%optflags -Wno-unused-variable -Wno-unused-parameter -Wno-deprecated-declarations -Wno-unused-but-set-variable'
./bootstrap
%configure --help
%configure \
	--without-contrib \
	--without-libfuzzer \
	--enable-shared \
	--enable-dbus \
	--disable-avx \
	--disable-chromecast \
	--disable-debug \
	--disable-gprof \
	--disable-cprof \
	--disable-coverage \
	--disable-mod \
	--disable-nls \
	--disable-opencv \
	--without-sanitizer \
	--enable-optimizations \
	--disable-fdkaac \
	--disable-sse \
	--disable-neon \
	--disable-altivec \
%ifarch %ix86 x86_64
	--enable-sse \
%endif
%ifarch aarch64
	--enable-arm64 \
%endif
	--disable-optimize-memory \
	--disable-run-as-root \
	--enable-sout \
	--enable-lua \
	--enable-vlm \
	--enable-addonmanagermodules \
	--enable-archive \
	--enable-live555 \
	--enable-dc1394 \
	--enable-dv1394 \
	--enable-linsys \
	--enable-dvdread \
	--enable-dvdnav \
	--enable-bluray \
%if %{with vlc_opencv}
	--enable-opencv \
%endif
	--enable-smbclient \
	--disable-dsm \
	--enable-sftp \
	--enable-nfs \
	--enable-v4l2 \
	--disable-decklink \
	--enable-vcd \
	--enable-libcddb \
	--disable-screen \
	--enable-vnc \
	--enable-freerdp \
	--disable-macosx-avfoundation \
	--disable-asdcp \
	--enable-dvbpsi \
	--enable-gme \
	--disable-sid \
	--enable-ogg \
%if 0
	--enable-shout \
%endif
	--enable-matroska \
	--enable-mod \
	--disable-mpc \
	--disable-omxil \
	--disable-rpi-omxil \
	--enable-mad \
	--enable-mpg123 \
	--disable-gst-decode \
	--enable-merge-ffmpeg \
	--enable-avcodec \
	--enable-libva \
	--disable-dxva2 \
	--disable-d3d11va \
	--enable-avformat \
	--enable-swscale \
	--enable-postproc \
	--enable-faad \
	--disable-aom \
	--enable-rav1e \
	--enable-dav1d \
	--enable-vpx \
	--enable-twolame \
%if %{with fdk_aac}
	--enable-fdkaac \
%endif
	--enable-flac \
	--enable-vorbis \
	--disable-tremor \
	--enable-speex \
	--enable-opus \
	--disable-spatialaudio \
	--enable-theora \
	--enable-oggspots \
	--disable-daala \
	--enable-schroedinger \
	--enable-png \
	--enable-jpeg \
	--disable-x262 \
	--enable-x265 \
	--disable-x26410b \
	--enable-x264 \
	--disable-mfx \
	--enable-fluidsynth \
	--disable-fluidlite \
	--enable-zvbi \
	--disable-telx \
	--enable-libass \
	--disable-aribsub \
	--disable-aribb25 \
	--enable-kate \
	--disable-tiger \
	--enable-css \
	--disable-gles2 \
%if %{with opengles}
	--enable-gles2 \
%endif
	--enable-xcb \
	--enable-vdpau \
%if 0
	--enable-wayland \
%endif
	--enable-freetype \
	--enable-fribidi \
	--enable-harfbuzz \
	--enable-fontconfig \
	--with-default-font=%_datadir/fonts/truetype/FreeSerifBold.ttf \
	--with-default-monospace-font=%_datadir/fonts/truetype/FreeMono.ttf \
	--enable-svg \
	--enable-svgdec \
	--disable-directx \
	--enable-caca \
	--disable-kva \
	--disable-mmal \
	--enable-pipewire \
	--enable-pulse \
	--enable-alsa \
	--disable-oss \
	--disable-sndio \
	--disable-wasapi \
	--enable-jack \
	--disable-opensles \
	--enable-samplerate \
	--enable-soxr \
	--disable-kai \
	--enable-chromaprint \
%if 0%{?suse_version} > 1500
	--enable-chromecast \
%endif
	--enable-qt \
	--enable-qt \
	--enable-skins2 \
	--disable-macosx \
	--disable-sparkle \
	--without-breakpad \
	--disable-minimal-macosx \
	--disable-ncurses \
	--enable-ncurses \
	--enable-lirc \
	--disable-srt \
	--disable-goom \
	--disable-projectm \
	--disable-vsxu \
	--enable-avahi \
	--enable-udev \
	--enable-mtp \
	--enable-upnp \
	--disable-microdns \
	--enable-libxml2 \
	--enable-libgcrypt \
	--enable-gnutls \
	--enable-taglib \
	--enable-secret \
	--enable-kwallet \
	--disable-update-check \
	--disable-osx-notifications \
	--enable-gbm \
	--enable-notify \
	--disable-vulkan \
%if 0
	--enable-libplacebo \
%endif
	--enable-vulkan \
%if %{with vlc_medialibrary}
	--enable-medialibrary \
%else
	--disable-medialibrary \
%endif
	--with-kde-solid=%_datadir/kde4/apps/solid \
	--enable-vlc \
%if 0%{?suse_version} > 1500
	--enable-nls \
%endif
	%nil

%make_build --no-print-directory

%install
%make_install
mkdir -p %buildroot/%_datadir/pixmaps
ln -s %_datadir/icons/hicolor/48x48/apps/vlc.png %buildroot/%_datadir/pixmaps/vlc.png
find %buildroot -type f -name "*.la" -delete -print
find %buildroot -type f -name "*.a" -delete -print
rm -rfv %buildroot%_datadir/macosx
rm -rfv %buildroot%_datadir/doc
%suse_update_desktop_file vlc AudioVideo Audio Video Player
%fdupes %buildroot
# add missing manfiles
for i in ?vlc; do
    pushd %buildroot/%_mandir/man1
    ln -s vlc.1 $i.1
    popd
done
> %name.lang
%if 0%{?suse_version} > 1500
%find_lang %name
%endif
ls -l %buildroot/%_libdir/%name/plugins/plugins.dat
> %buildroot/%_libdir/%name/plugins/plugins.dat

%post -p /sbin/ldconfig

%postun -p /sbin/ldconfig

%posttrans
%_libexecdir/%name/vlc-cache-gen %_libdir/%name/plugins

%files -f %name.lang
%dir %_libdir/%name/
%dir %_libdir/%name/plugins
%ifarch aarch64
%dir %_libdir/%name/plugins/aarch64
%endif
%dir %_libdir/%name/plugins/access
%dir %_libdir/%name/plugins/access/rtp
%dir %_libdir/%name/plugins/access_output
%dir %_libdir/%name/plugins/audio_filter
%dir %_libdir/%name/plugins/audio_mixer
%dir %_libdir/%name/plugins/audio_output
%dir %_libdir/%name/plugins/codec
%dir %_libdir/%name/plugins/control
%dir %_libdir/%name/plugins/demux
%dir %_libdir/%name/plugins/gui
%dir %_libdir/%name/plugins/keystore
%dir %_libdir/%name/plugins/logger
%dir %_libdir/%name/plugins/lua
%dir %_libdir/%name/plugins/meta_engine
%dir %_libdir/%name/plugins/misc
%dir %_libdir/%name/plugins/mux
%dir %_libdir/%name/plugins/notify
%dir %_libdir/%name/plugins/packetizer
%dir %_libdir/%name/plugins/services_discovery
%dir %_libdir/%name/plugins/spu
%dir %_libdir/%name/plugins/stream_extractor
%dir %_libdir/%name/plugins/stream_filter
%dir %_libdir/%name/plugins/stream_out
%dir %_libdir/%name/plugins/text_renderer
%dir %_libdir/%name/plugins/vaapi
%dir %_libdir/%name/plugins/vdpau
%dir %_libdir/%name/plugins/video_chroma
%dir %_libdir/%name/plugins/video_filter
%dir %_libdir/%name/plugins/video_output
%dir %_libdir/%name/plugins/video_splitter
%dir %_libdir/%name/plugins/visualization
%ghost %_libdir/%name/plugins/*.dat
%_bindir/*
%_datadir/%name/
%_datadir/applications/*
%_datadir/icons/*
%_datadir/kde4
%_datadir/metainfo/*
%_datadir/pixmaps/*
%_includedir/*
%_libdir/%name/*.so
%_libdir/%name/*.so.*
%_libdir/%name/plugins/*/*.so
%_libdir/%name/plugins/*/*/*.so
%_libdir/*.so
%_libdir/*.so.*
%_libdir/pkgconfig/*.pc
%_libexecdir/%name
%_mandir/*/*

%changelog