kmplayer/kmplayer.spec

116 lines
3.5 KiB
RPMSpec
Raw Normal View History

%define majver %(echo %version | cut -d. -f1-2)
Name: kmplayer
Version: 0.12.0b.20191208git
Release: 1mamba
Summary: Basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE
Group: Graphical Desktop/Applications/Multimedia
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kmplayer.kde.org/
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
BuildRequires: kdelibs-devel
BuildRequires: libX11-devel
BuildRequires: libatk-devel
BuildRequires: libcairo-devel
BuildRequires: libdbus-devel
BuildRequires: libdbus-glib-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libgcc
BuildRequires: libgdk-pixbuf-devel
BuildRequires: libglib-devel
BuildRequires: libgtk2-devel
BuildRequires: libpango-devel
BuildRequires: libphonon-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
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
#% find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
#-f %{name}.lang
%defattr(-,root,root)
%{_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 <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
- update to 0.11.3d
* Wed Oct 19 2011 Automatic Build System <autodist@mambasoft.it> 0.11.3-1mamba
- automatic version update by autodist
* Mon Mar 15 2010 Automatic Build System <autodist@mambasoft.it> 0.11.2-1mamba
- automatic update by autodist
* Sat May 30 2009 Automatic Build System <autodist@mambasoft.it> 0.11.1a-1mamba
- automatic update by autodist
* Fri Mar 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0a-2mamba
- remove oxygen icons conflicting with kdebase4-runtime
* Fri Feb 06 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.11.0a-1mamba
- automatic update by autodist
* Fri Oct 03 2008 gil <puntogil@libero.it> 0.10.0c-1mamba
- update to 0.10.0c
- changed prefix (/opt/kde3)
- edit configure option
* Sun Oct 01 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 0.9.3-1qilnx
- package created by autospec