kmplayer/kmplayer.spec

103 lines
3.1 KiB
RPMSpec

%define prefix %(echo `kde-config --prefix`)
Name: kmplayer
Version: 0.11.3d
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: http://kmplayer.kde.org/pkgs/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: libqt4-devel
BuildRequires: libsoprano-devel
BuildRequires: libstdc++6-devel
## AUTOBUILDREQ-END
BuildRequires: libnspr-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
Video player plugin for Konqueror and basic MPlayer/Xine/ffmpeg/ffserver/VDR frontend for KDE.
%prep
%setup -q
%build
export QTDIR=%{_qt3_prefix} KDEDIR=%{prefix} QTLIBDIR=%{_qt3_libdir}
%cmake_kde4
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%find_lang %{name}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%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
%doc AUTHORS COPYING COPYING.LIB
# ChangeLog README TODO
%changelog
* 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