Search
j0ke.net Open Build Service
>
Projects
>
multimedia
>
kaffeine
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 5
[-]
[+]
Changed
kaffeine.spec
@@ -2,7 +2,7 @@ %define major 1 %define libname libxine%{major} -%define libvers 1 +%define libvers 1.1.10 %define _kde_prefix %(. /etc/opt/kde3/common_options; echo $prefix) %define _kde_mimedir %(. /etc/opt/kde3/common_options; echo $kde_mimedir) %define _mimetypebase %(if [ "release" = "release" ] ; then echo "kaffeine/mimetypes/application/"; else echo "mimetypes/application/"; fi) @@ -10,16 +10,15 @@ Name: kaffeine Summary: A xine-based Media Player for KDE3 Summary(de): Ein xine-basierender Media Player für KDE3 -Version: 0.8.5 +Version: 0.8.6 Release: 0.pm.1 License: GPL Group: Productivity/Multimedia/Video/Players Url: http://kaffeine.sourceforge.net -Source0: kaffeine-0.8.5.tar.bz2 +Source0: kaffeine-0.8.6.tar.bz2 -Patch0: kaffeine_remove_atsc.patch -Patch1: kaffeine_configure.patch +Patch0: kaffeine_configure.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build Requires: %{libname} >= %{libvers} Requires: qt3 >= %( echo `rpm -q --queryformat '%{VERSION}' qt3` | cut -b 1-3 ) @@ -38,13 +37,6 @@ Requires: libogg Requires: libvorbis Requires: lame -#%if %suse_version > 1001 -#Requires: gstreamer010 -#Requires: gstreamer010-plugins-base -#%else -#Requires: gstreamer -#Requires: gstreamer-plugins-base -#%endif BuildRequires: %{libname} >= %{libvers} BuildRequires: %{libname}-devel >= %{libvers} BuildRequires: qt3-devel @@ -73,15 +65,16 @@ BuildRequires: libvorbis BuildRequires: libvorbis-devel BuildRequires: lame -BuildRequires: libjack0 libjack-devel -#%if %suse_version > 1001 -#BuildRequires: gstreamer010-plugins-base-devel -#BuildRequires: unsermake -#%else -#BuildRequires: gstreamer-plugins-devel -#%endif +BuildRequires: gstreamer010-plugins-base-devel +BuildRequires: jack >= 0.109 +BuildRequires: libjack0 >= 0.109 +BuildRequires: libjack-devel >= 0.109 +%if %suse_version > 1020 +Requires: %{name}-lang = %{version} +%endif Provides: kaxtv Obsoletes: kaxtv +# Packmandepends: libxine1 libogg libvorbis lame %description Kaffeine plays all files and devices supported by xine. For example: @@ -107,29 +100,63 @@ ------ Jürgen Kofler <kaffeine@gmx.net> + +%package gstreamer +Group: Productivity/Multimedia/Video/Players +Summary: Multimedia Player using Gstreamer +Summary(de): Multimedia Player verwendet Gstreamer + +%description gstreamer +This plugin enables Kaffeine to play via the Gstreamer framework +instead of Xine. + +The gstreamer backend can only get used for the visualization of audio +sources. + +%description gstreamer -l de +Dieses Plugin ermöglicht Kaffeine mit Hilfe von Gstreamer anstelle +von Xine zu arbeiten. + +Der gstreamer Backend kann derzeit nur zur Visualisierung von Audiodaten +verwendet werden. + + +%if %suse_version > 1020 +%package lang +Summary: Provides translations to the package kaffeine +Summary(de): Stellt Übersetzungen für das Paket kaffeine bereit +Group: System/Localization +Provides: kaffeine-lang-all + +%description lang +Provides translations to the package kaffeine + +%description lang -l de +Stellt Übersetzungen für das Paket kaffeien bereit +%endif + +%debug_package + %prep %setup -n %{name}-%{version} -%if %suse_version <= 930 -%patch0 -p1 -%endif -%patch1 -p0 +%patch0 %build . /etc/opt/kde3/common_options -if [ -f configure ]; then - ./configure $configkde --without-gstreamer \ - %ifarch x86_64 amd64 ia32e - --enable-libsuffix=64 \ - %endif - %if %suse_version == 910 - --with-xinit-workaround \ - %endif - --disable-final - %__make -else - unsermake +if [ ! -f configure ]; then + cd .. + make -f Makefile.cvs fi +./configure $configkde \ +%ifarch x86_64 amd64 ia32e + --enable-libsuffix=64 \ +%endif +%if %suse_version == 910 + --with-xinit-workaround \ +%endif + --disable-final +%{__make} %{?jobs:-j%{jobs}} %install . /etc/opt/kde3/common_options @@ -143,6 +170,8 @@ fi touch CREDITS %{__rm} -f %{buildroot}%{_kde_mimedir}/application/x-mplayer2.desktop +kde_post_install +%find_lang %name %clean [ "%{buildroot}" != "/" ] && %{__rm} -rf %{buildroot} @@ -170,7 +199,15 @@ fi %run_ldconfig +%if %suse_version > 1020 + +%files lang -f %name.lang + +%files +%else + %files -f %name.lang +%endif %defattr(-,root,root) %doc %{_mimetypebase}x-mplayer2.desktop AUTHORS ChangeLog COPYING CREDITS INSTALL README* TODO %{_kde_prefix}/bin/* @@ -188,6 +225,12 @@ %{_kde_prefix}/share/services/kaffeine*.desktop %{_kde_prefix}/share/servicetypes/kaffeine*.desktop +%files gstreamer +%defattr(-,root,root) +/opt/kde3/%_lib/kde3/libgstreamerpart.* +/opt/kde3/share/apps/gstreamerpart +/opt/kde3/share/services/gstreamer_part.desktop + %changelog * Wed Oct 03 2007 Carsten Schoene <cs@linux-administrator.com> - import for SLE_10 build
Added
kaffeine-0.8.6.tar.bz2
^