From 0dba1378b39812115b285a35367777bf0ab77acf Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 02:13:51 +0100 Subject: [PATCH] update to 0.12.0b.20191208git [release 0.12.0b.20191208git-1mamba;Sun Dec 08 2019] --- kmplayer.spec | 63 +++++++++++++++++++++++++++++++-------------------- 1 file changed, 38 insertions(+), 25 deletions(-) diff --git a/kmplayer.spec b/kmplayer.spec index d0a8163..3bc25e3 100644 --- a/kmplayer.spec +++ b/kmplayer.spec @@ -1,6 +1,6 @@ -%define prefix %(echo `kde-config --prefix`) +%define majver %(echo %version | cut -d. -f1-2) Name: kmplayer -Version: 0.11.3d +Version: 0.12.0b.20191208git Release: 1mamba Summary: Basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE Group: Graphical Desktop/Applications/Multimedia @@ -8,7 +8,8 @@ Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://kmplayer.kde.org/ -Source: http://kmplayer.kde.org/pkgs/kmplayer-%{version}.tar.bz2 +Source: https://anongit.kde.org/kmplayer.git/master/kmplayer-%{version}.tar.bz2 +#Source: http://ftp.nluug.nl/pub/windowing/kde/stable/kmplayer/%{majver}/kmplayer-%{version}.tar.bz2 License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -26,55 +27,67 @@ BuildRequires: libglib-devel BuildRequires: libgtk2-devel BuildRequires: libpango-devel BuildRequires: libphonon-devel -BuildRequires: libqt4-devel +BuildRequires: libqt5-devel BuildRequires: libsoprano-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END BuildRequires: libnspr-devel +BuildRequires: libkmediaplayer-devel BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE. +%debug_package + %prep %setup -q %build -export QTDIR=%{_qt3_prefix} KDEDIR=%{prefix} QTLIBDIR=%{_qt3_libdir} -%cmake_kde4 +%cmake_kde5 -d build + %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%makeinstall -C build -%find_lang %{name} +#% find_lang %{name} %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%files -f %{name}.lang +%files +#-f %{name}.lang %defattr(-,root,root) -%{_kde4_bindir}/kmplayer -%{_kde4_bindir}/knpplayer -%{_kde4_bindir}/kphononplayer -%{_kde4_libdir}/kde4/libkmplayerpart.* -%{_kde4_libdir}/libkdeinit4_kmplayer.* -%{_kde4_libdir}/libkmplayercommon.* -%{_kde4_xdgappsdir}/kmplayer.desktop -%{_kde4_datadir}/kmplayer/* -%{_kde4_configdir}/kmplayerrc -#%{_kde4_htmldir}/en/kmplayer/* -%{_kde4_icondir}/hicolor/*/apps/kmplayer.png -%{_kde4_icondir}/hicolor/scalable/apps/kmplayer.svgz -%{_kde4_servicesdir}/kmplayer_part.desktop -%doc %lang(en) %{_kde4_htmldir}/en/kmplayer/common -%doc %lang(en) %{_kde4_htmldir}/en/kmplayer/index.cache.bz2 -%doc %lang(en) %{_kde4_htmldir}/en/kmplayer/index.docbook +%{_kde5_bindir}/kmplayer +%{_kde5_bindir}/knpplayer +%{_kde5_bindir}/kphononplayer +%{_libdir}/libkdeinit5_kmplayer.so +%{_libdir}/libkmplayercommon.so +%{_libdir}/qt5/plugins/kmplayerpart.so +%{_datadir}/applications/org.kde.kmplayer.desktop +%{_datadir}/kxmlgui5/kmplayer/kmplayer*.rc +%{_datadir}/metainfo/org.kde.kmplayer.appdata.xml +%{_kde5_datadir}/kmplayer/* +%{_kde5_configdir}/kmplayerrc +%{_kde5_icondir}/hicolor/*/apps/kmplayer.png +%{_kde5_icondir}/hicolor/scalable/apps/kmplayer.svgz +%{_kde5_servicesdir}/kmplayer_part.desktop +%doc %lang(en) %{_kde5_htmldir}/en/kmplayer %doc AUTHORS COPYING COPYING.LIB # ChangeLog README TODO %changelog +* Sun Dec 08 2019 Silvan Calarco 0.12.0b.20191208git-1mamba +- update to 0.12.0b.20191208git + +* Fri Sep 07 2018 Silvan Calarco 0.12.0b-1mamba +- update to 0.12.0b + +* Sun Jul 31 2016 Silvan Calarco 0.12.0a-1mamba +- update to 0.12.0a + * Wed Apr 23 2014 Silvan Calarco 0.11.3d-1mamba - update to 0.11.3d