update to 0.12.0b.20191208git [release 0.12.0b.20191208git-1mamba;Sun Dec 08 2019]

This commit is contained in:
Silvan Calarco 2024-01-06 02:13:51 +01:00
parent 25d7a8a5b1
commit 0dba1378b3

View File

@ -1,6 +1,6 @@
%define prefix %(echo `kde-config --prefix`) %define majver %(echo %version | cut -d. -f1-2)
Name: kmplayer Name: kmplayer
Version: 0.11.3d Version: 0.12.0b.20191208git
Release: 1mamba Release: 1mamba
Summary: Basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE Summary: Basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE
Group: Graphical Desktop/Applications/Multimedia Group: Graphical Desktop/Applications/Multimedia
@ -8,7 +8,8 @@ Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kmplayer.kde.org/ 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 License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -26,55 +27,67 @@ BuildRequires: libglib-devel
BuildRequires: libgtk2-devel BuildRequires: libgtk2-devel
BuildRequires: libpango-devel BuildRequires: libpango-devel
BuildRequires: libphonon-devel BuildRequires: libphonon-devel
BuildRequires: libqt4-devel BuildRequires: libqt5-devel
BuildRequires: libsoprano-devel BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: libnspr-devel BuildRequires: libnspr-devel
BuildRequires: libkmediaplayer-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description %description
Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE. Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE.
%debug_package
%prep %prep
%setup -q %setup -q
%build %build
export QTDIR=%{_qt3_prefix} KDEDIR=%{prefix} QTLIBDIR=%{_qt3_libdir} %cmake_kde5 -d build
%cmake_kde4
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall -C build
%find_lang %{name} #% find_lang %{name}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang %files
#-f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_kde4_bindir}/kmplayer %{_kde5_bindir}/kmplayer
%{_kde4_bindir}/knpplayer %{_kde5_bindir}/knpplayer
%{_kde4_bindir}/kphononplayer %{_kde5_bindir}/kphononplayer
%{_kde4_libdir}/kde4/libkmplayerpart.* %{_libdir}/libkdeinit5_kmplayer.so
%{_kde4_libdir}/libkdeinit4_kmplayer.* %{_libdir}/libkmplayercommon.so
%{_kde4_libdir}/libkmplayercommon.* %{_libdir}/qt5/plugins/kmplayerpart.so
%{_kde4_xdgappsdir}/kmplayer.desktop %{_datadir}/applications/org.kde.kmplayer.desktop
%{_kde4_datadir}/kmplayer/* %{_datadir}/kxmlgui5/kmplayer/kmplayer*.rc
%{_kde4_configdir}/kmplayerrc %{_datadir}/metainfo/org.kde.kmplayer.appdata.xml
#%{_kde4_htmldir}/en/kmplayer/* %{_kde5_datadir}/kmplayer/*
%{_kde4_icondir}/hicolor/*/apps/kmplayer.png %{_kde5_configdir}/kmplayerrc
%{_kde4_icondir}/hicolor/scalable/apps/kmplayer.svgz %{_kde5_icondir}/hicolor/*/apps/kmplayer.png
%{_kde4_servicesdir}/kmplayer_part.desktop %{_kde5_icondir}/hicolor/scalable/apps/kmplayer.svgz
%doc %lang(en) %{_kde4_htmldir}/en/kmplayer/common %{_kde5_servicesdir}/kmplayer_part.desktop
%doc %lang(en) %{_kde4_htmldir}/en/kmplayer/index.cache.bz2 %doc %lang(en) %{_kde5_htmldir}/en/kmplayer
%doc %lang(en) %{_kde4_htmldir}/en/kmplayer/index.docbook
%doc AUTHORS COPYING COPYING.LIB %doc AUTHORS COPYING COPYING.LIB
# ChangeLog README TODO # ChangeLog README TODO
%changelog %changelog
* Sun Dec 08 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0b.20191208git-1mamba
- update to 0.12.0b.20191208git
* Fri Sep 07 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0b-1mamba
- update to 0.12.0b
* Sun Jul 31 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 0.12.0a-1mamba
- update to 0.12.0a
* Wed Apr 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.3d-1mamba * Wed Apr 23 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.3d-1mamba
- update to 0.11.3d - update to 0.11.3d