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+
Group:          Productivity/Multimedia/Video/Players
Url:            http://www.videolan.org
Source0:        %name-%version.tar
Source1:        %name.changes
Source3:        %name-rpmlintrc
Patch0:         vlc-beta.patch

%ifarch x86_64 aarch64
Requires:       libqtquickcontrols2plugin.so()(64bit)
Requires:       libqtgraphicaleffectsplugin.so()(64bit)
%endif

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

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
%if 0%{?suse_version} > 1500
BuildRequires:  gcc
BuildRequires:  gcc-c++
%else
BuildRequires:  gcc10
BuildRequires:  gcc10-c++
%endif
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) >= 0.6.2
%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:  pkgconfig(libavutil) >= 56
BuildRequires:  pkgconfig(libavcodec) >= 58
BuildRequires:  pkgconfig(libva) >= 0.38
BuildRequires:  pkgconfig(libva-drm)
BuildRequires:  pkgconfig(libva-x11)
BuildRequires:  pkgconfig(libavformat) >= 58
BuildRequires:  pkgconfig(libswscale) >= 5
BuildRequires:  pkgconfig(libpostproc) >= 55
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(liba52)
BuildRequires:  pkgconfig(libdca) >= 0.0.5
BuildRequires:  pkgconfig(flac)
BuildRequires:  pkgconfig(libmpeg2)
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(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
BuildRequires:  pkgconfig(Qt5Core) >= 5.12.0
BuildRequires:  pkgconfig(Qt5Gui)
BuildRequires:  pkgconfig(Qt5Quick)
BuildRequires:  pkgconfig(Qt5QuickControls2)
BuildRequires:  pkgconfig(Qt5QuickWidgets)
BuildRequires:  pkgconfig(Qt5Svg)
BuildRequires:  pkgconfig(Qt5WaylandClient)
BuildRequires:  pkgconfig(Qt5Widgets)
BuildRequires:  pkgconfig(Qt5X11Extras)
BuildRequires:  libQt5Gui-private-headers-devel
BuildRequires:  qt5qmlimport(QtGraphicalEffects.1)
BuildRequires:  qt5qmlimport(QtQml.Models.2)
BuildRequires:  qt5qmlimport(QtQuick.Controls.2)
BuildRequires:  qt5qmlimport(QtQuick.Layouts.1)
BuildRequires:  qt5qmlimport(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)
BuildRequires:  pkgconfig(protobuf-lite)

BuildRequires:  fdupes
BuildRequires:  update-desktop-files

Requires:       qt5qmlimport(QtGraphicalEffects.1)
Requires:       qt5qmlimport(QtQml.Models.2)
Requires:       qt5qmlimport(QtQuick.Controls.2)
Requires:       qt5qmlimport(QtQuick.Layouts.1)
Requires:       qt5qmlimport(QtQuick.Window.2)

%description
VLC media player is a highly portable multimedia player for various
audio and video formats (MPEG-1, MPEG-2, MPEG-4, DivX, mp3, ogg, ...)
as well as DVDs, VCDs, and various streaming protocols.
It can also be used as a server to stream in unicast or multicast
in IPv4 or IPv6 on a high-bandwidth network.

%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="$_"
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-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-a52 \
	--enable-dca \
	--enable-flac \
	--enable-libmpeg2 \
	--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-pulse \
	--enable-alsa \
	--disable-oss \
	--disable-sndio \
	--disable-wasapi \
	--enable-jack \
	--disable-opensles \
	--enable-samplerate \
	--enable-soxr \
	--disable-kai \
	--enable-chromaprint \
	--enable-chromecast \
	--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
%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