Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > media > main-backports-src > by-pkgid > 64c2cbcd42dc8cf2feb0c1fd37a6db29 > files > 4

kmplayer-0.10.0a-1mdv2008.0.src.rpm

%define __libtoolize true

Name: kmplayer
Version: 0.10.0a
Release: %mkrel 1
Summary: A multimedia mplayer/gstreamer/libxine frontend for KDE
License: GPL
Group: Video
Url: http://kmplayer.kde.org/
Source:	http://kmplayer.kde.org/pkgs/%{name}-%{version}.tar.bz2
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot
BuildRequires: kdelibs-devel 
BuildRequires: libgstreamer-devel
BuildRequires: libgstreamer-plugins-base-devel
BuildRequires: libxine-devel
BuildRequires: libxv-devel
BuildRequires: libnspr-devel
BuildRequires: gtk2-devel
BuildRequires: dbus-devel
BuildRequires: dbus-glib-devel
BuildRequires: libdbus-qt-1-devel
BuildRequires: desktop-file-utils
Patch0: kmplayer-0.10.0a-mdv-raise-priority.patch
Patch2: kmplayer-0.10.0a-fix-desktop-file.patch

%description
KMPlayer can play all the audio/video supported by mplayer/libxine/Gstreamer from local
file or url, be embedded inside Konqueror and KHTML and play DVD's.

%post
%{update_menus}
/sbin/ldconfig

%postun
%{clean_menus}
/sbin/ldconfig

%files -f %{name}.lang
%defattr(-,root,root)
%doc AUTHORS ChangeLog README
%{_bindir}/*
%{_libdir}/kde3/kmplayer*
%{_libdir}/kde3/libkmplayerpart*
%{_libdir}/libkdeinit_kmplayer*
%{_libdir}/libkmplayercommon*
%{_datadir}/applications/kde/kmplayer.desktop
%{_datadir}/config/*
%{_datadir}/services/*
%{_datadir}/mimelnk/*
%{_datadir}/apps/%{name}
%{_iconsdir}/*/*/*/*
%exclude %_datadir/mimelnk/application/x-mplayer2.desktop
%exclude %_bindir/knpplayer

#--------------------------------------------------------------------

%package npplayer
Group: Video
Summary: Kmplayer netscape plugin player
Requires: %name

%description npplayer
Kmplayer netscape plugin player.

%files npplayer
%defattr(-,root,root)
%doc AUTHORS ChangeLog README
%_bindir/knpplayer

#--------------------------------------------------------------------

%prep
%setup -q -n %{name}-%{version}
%patch0 -p0 -b .orig
%patch2 -p0 -b .orig

%build
make -f admin/Makefile.common

%configure2_5x	\
	--disable-debug \
	--enable-shared \
	--disable-static \
	--disable-rpath \
	--disable-embedded \
	--with-xinerama \
    --enable-npplayer \
	--enable-final 

%make

%install
rm -rf %buildroot
%makeinstall_std

desktop-file-install --vendor='' \
	--dir=%buildroot%_datadir/applications/kde \
	--add-mime-type='video/flv' \
	--add-mime-type='video/x-flv' \
	%buildroot%_datadir/applications/kde/*.desktop

%{find_lang} %{name} --with-html

%clean
rm -rf $RPM_BUILD_ROOT


%changelog
* Sat Oct 20 2007 Funda Wang <fundawang@mandriva.org> 0.10.0a-1mdv2008.1
+ Revision: 100605
- rediff patch2
- drop mime patch as it is too difficult to maintain.
- New version 0.10.0a
- Rediff patch

* Fri Oct 12 2007 Funda Wang <fundawang@mandriva.org> 0.10.0-1mdv2008.1
+ Revision: 97296
- fix file list
- New version 0.10.0

  + Helio Chissini de Castro <helio@mandriva.com>
    - Added x-flv on mimetype associations. video/flv is not enough

* Fri Aug 31 2007 Helio Chissini de Castro <helio@mandriva.com> 0.10.0-0.pre2mdv2008.0
+ Revision: 76506
- Fix mime patch
- kmplayer upstream release 0.10.0 pre2
- Removed invalid video/mediaplayer mime call
- Fixed npplayer

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - Add flv support on kde
    - remove old mandriva menu keywords


* Thu Apr 05 2007 Laurent Montel <lmontel@mandriva.com> 0.9.4-7mdv2007.1
+ Revision: 150674
- 0.9.4a

* Tue Mar 27 2007 Laurent Montel <lmontel@mandriva.com> 0.9.4-6mdv2007.1
+ Revision: 148823
- Fix bug #29462

* Sun Mar 18 2007 Olivier Blin <oblin@mandriva.com> 0.9.4-5mdv2007.1
+ Revision: 146347
- tag lang on HTML doc

* Tue Mar 13 2007 Laurent Montel <lmontel@mandriva.com> 0.9.4-4mdv2007.1
+ Revision: 142467
- Add requires on mplayer

* Sun Mar 04 2007 Laurent Montel <lmontel@mandriva.com> 0.9.4-3mdv2007.1
+ Revision: 132009
- 0.9.4

* Fri Jan 05 2007 Laurent Montel <lmontel@mandriva.com> 0.9.3-3mdv2007.1
+ Revision: 104537
- 0.9.3a
- Don't block close kde session.
  (bug found by Jloup)
  (patch commited into svn)

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - kmplayer-0.9.3-1mdv2007.0 (aka just in time)
           - Include translations and doc

* Wed Sep 13 2006 Helio Chissini de Castro <helio@mandriva.com> 0.9.3-0.rc1.3mdv2007.0
+ Revision: 61107
- Put the corerct priority number

* Wed Sep 13 2006 Helio Chissini de Castro <helio@mandriva.com> 0.9.3-0.rc1.2mdv2007.0
+ Revision: 61095
- Add missin patch
- Raise priority of kmplayer

* Thu Sep 07 2006 Laurent Montel <lmontel@mandriva.com> 0.9.3-0.rc1.1mdv2007.0
+ Revision: 60304
- New package (2006-09-06 0.9.3-rc1)
  0.9.3rc1

* Sun Sep 03 2006 Laurent Montel <lmontel@mandriva.com> 0.9.3-0.pre2.3mdv2007.0
+ Revision: 59595
- New package
  Patch from Raphael Gertz <rapsys at free dot fr> to use gl2

* Tue Aug 29 2006 Laurent Montel <lmontel@mandriva.com> 0.9.3-0.pre2.2mdv2007.0
+ Revision: 58515
- Add missing buildrequires

* Tue Aug 29 2006 Laurent Montel <lmontel@mandriva.com> 0.9.3-0.pre2.1mdv2007.0
+ Revision: 58346
- pre2

* Sun Aug 13 2006 Laurent Montel <lmontel@mandriva.com> 0.9.3-0.pre1.1mdv2007.0
+ Revision: 55718
- New package (2006/08/12 0.9.3-pre1)

  + Nicolas Lécureuil <neoclust@mandriva.org>
    - Fix for mdv <= 2006  thanks laurent

  + Helio Chissini de Castro <helio@mandriva.com>
    - Cleaned spec and moved neoclust fix for a rpm based solution
      Will close bug number http://qa.mandriva.com/show_bug.cgi?id=23585
    - Proper compile of xine and gstreamer backends
    - Removed old icons since package provide right set
    - Removed explicit requires for mplayer. Should be optional and gstreamer and xine is
      already enabled by default
    - import kmplayer-0.9.2-4mdv2007.0

* Sun Jul 09 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.9.2-4mdv2007.1
- remove x-mplayer2.desktop which conflicts with new kdelibs-common

* Thu Jun 08 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-3
- Use 0.9.2a version

* Thu May 11 2006 Nicolas Lécureuil <neoclust@mandriva.org> 0.9.2-2mdk
- Rebuild to generate categories

* Sun Apr 23 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-1
- 0.9.2

* Wed Apr 12 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-0.rc1.1
- 0.9.2-rc1

* Wed Mar 22 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-0.pre3.1
- 0.9.2-pre3

* Sun Feb 05 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-0.pre2.1
- 0.9.2-pre2

* Fri Jan 06 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-0.pre1.2
- Add patch1: fix crash when device is not here.
- Fix menu

* Fri Jan 06 2006 Laurent MONTEL <lmontel@mandriva.com> 0.9.2-0.pre1.1
- 0.9.2-pre1

* Mon Nov 28 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.1-3
- Fix build on x86_64

* Mon Nov 28 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.1-2
- 0.9.1a

* Sun Oct 30 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.9.1-1mdk
- 0.9.1 Final

* Tue Oct 18 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.9.1-0.rc1.1mdk
- New release 0.9.1-Rc1
- Remove redundant buildRequires

* Wed Aug 24 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.0-3mdk
- Use 0.9.0c

* Sun Aug 07 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.0-2mdk
- 0.9.0b

* Mon Jul 25 2005 Laurent MONTEL <lmontel@mandriva.com> 0.9.0-1mdk
- 0.9.0

* Fri Apr 29 2005 Nicolas Lécureuil <neoclust@mandriva.org> 0.9.0-0.pre3.1mdk
- 0.9.0-pre3
- Fix build for amd64

* Wed Apr 20 2005 Nick Brown <nickbrown@mandriva.org> 0.9.0-0.pre2.1mdk
- 0.9.0-pre2
- remove pnm.protocol which conflicts with new kdelibs-common
- fix icon installation

* Fri Jan 07 2005 Laurent MONTEL <lmontel@mandrakesoft.com> 0.8.4-0.rc5.1mdk
- rc5

* Mon Dec 13 2004 Laurent Culioli <laurent@mandrake.org> 0.8.4-0.rc4.1mdk
- 0.8.4-rc-4

* Thu Nov 11 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 0.8.4-0.rc2.1mdk
- 0.8.4-rc2
- lib64 fixes
- remove x-ms-wma.desktop which conflicts with new kdelibs-common
- cleanups

* Tue Oct 12 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.8.3-1mdk
- 0.8.3

* Wed Aug 04 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.3-0.rc4.2mdk
- remove files that conflict with kdelibs

* Tue Aug 03 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.3-0.rc4.1mdk
- fix icon installation
- add source URL
- new version

* Tue Jun 08 2004 Götz Waschk <waschk@linux-mandrake.com> 0.8.3-0.rc1.2mdk
- rebuild for new g++

* Thu May 20 2004 Laurent MONTEL <lmontel@mandrakesoft.com> 0.8.3-0.rc1.1mdk
- 0.8.3-rc1