]> git.pld-linux.org Git - packages/amarok.git/blobdiff - amarok.spec
- src/vis/xmms dropped (i don't see it in sources and didn't got any reasonable answe...
[packages/amarok.git] / amarok.spec
index 9f0861b747b56204ed7169769c935428b0109418..11a8d0dc8105a2c471e54b3ecb3af2636558307f 100644 (file)
@@ -5,12 +5,14 @@
 # - track http://websvn.kde.org/trunk/extragear/multimedia/amarok/TODO?rev=470324&r1=470292&r2=470324
 # - include /usr/bin/amarok_proxy.rb (proxy server for last.fm, but req. ruby)
 # - main package pulls /usr/bin/ruby
+# - monitor http://bugs.kde.org/show_bug.cgi?id=137390 to remove the temporary fix
+# - karma & MFS (see README)
+# - ProjectM (see README)
 #
 # Conditional builds:
 %bcond_with    gstreamer       # enable gstreamer (gst10 not stable)
 %bcond_without mas             # disable MAS audio backend
 %bcond_without xine            # disable xine engine
-%bcond_without xmms            # disable xmms wrapping
 %bcond_without zeroconf        # disable support for zeroconf
 %bcond_without included_sqlite # don't use included sqlite (VERY BAD IDEA), needs sqlite >= 3.3 otherwise
 %bcond_without helix           # disable HelixPlayer engine
 %endif
 
 Summary:       A KDE audio player
-Summary(pl):   Odtwarzacz audio dla KDE
+Summary(pl.UTF-8):   Odtwarzacz audio dla KDE
 Name:          amarok
-Version:       1.4.4
-Release:       1
+Version:       1.4.5
+Release:       2
 License:       GPL
 Group:         X11/Applications/Multimedia
-#Source0:      http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
-Source0:       http://mirrors.isc.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: 56a9aec42088c338b81252f8e0651781
+Source0:       ftp://ftp.kde.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2
+# Source0-md5: 1dac1cb5ac9c9cdabdab5f69b39e92c8
 Patch0:                %{name}-helixplayer-morearchs.patch
 Patch1:                %{name}-libnjb.patch
-Patch2:                kde-ac260-lt.patch
+Patch3:                %{name}-sparc.patch
+Patch4:                kde-ac260-lt.patch
+Patch5:                kde-common-PLD.patch
+Patch6:                %{name}-gcc4.patch
+Patch7:                %{name}-titleorder.patch
 URL:           http://amarok.kde.org/
 BuildRequires: SDL-devel
 BuildRequires: alsa-lib-devel
@@ -47,15 +52,15 @@ BuildRequires:      gettext-devel
 BuildRequires: kdebase-devel
 %{?with_akode:BuildRequires:   kdemultimedia-akode}
 BuildRequires: kdemultimedia-devel >= 9:3.1.93
-%{?with_mp3players:BuildRequires:      libgpod-devel >= 0.2.0}
-%{?with_mp3players:BuildRequires:      libifp-devel}
-%{?with_mp3players:BuildRequires:      libmtp-devel}
-%{?with_mp3players:BuildRequires:      libnjb-devel}
+%{?with_mp3players:BuildRequires:      libgpod-devel >= 0.4.2}
+%{?with_mp3players:BuildRequires:      libifp-devel >= 1.0.0.2}
 BuildRequires: libltdl-devel
+%{?with_mp3players:BuildRequires:      libmtp-devel >= 0.1.1}
+%{?with_mp3players:BuildRequires:      libnjb-devel >= 2.2.4}
 %{?with_pgsql:BuildRequires:           libpqxx-devel}
 BuildRequires: libtunepimp-devel >= 0.5.1-6
 BuildRequires: libvisual-devel >= 0.4.0
-BuildRequires: mpeg4ip-devel
+BuildRequires: mpeg4ip-devel >= 1:1.5
 %{?with_mysql:BuildRequires:           mysql-devel}
 BuildRequires: pcre-devel
 BuildRequires: pkgconfig
@@ -66,12 +71,12 @@ BuildRequires:      sed >= 4.0
 %{!?with_included_sqlite:BuildRequires:        sqlite3-devel >= 3.3}
 BuildRequires: taglib-devel >= 1.4
 %{?with_xine:BuildRequires:    xine-lib-devel >= 1.1.1}
-%{?with_xmms:BuildRequires:    xmms-devel}
 Requires(post):        /sbin/ldconfig
 Requires:      %{name}-plugin = %{version}-%{release}
 Requires:      kdebase-core >= 9:3.1.93
 Requires:      kdemultimedia-audiocd >= 9:3.1.93
 Obsoletes:     amarok-arts
+Obsoletes:     amarok-xmms
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # temporary hack for proper libgpod::itdb_get_mountpoint() detection.
@@ -80,12 +85,12 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %description
 A KDE audio player.
 
-%description -l pl
+%description -l pl.UTF-8
 Odtwarzacz audio dla KDE.
 
 %package akode
 Summary:       Plugin akode
-Summary(pl):   Wtyczka akode
+Summary(pl.UTF-8):   Wtyczka akode
 Group:         X11/Applications/Multimedia
 Requires:      %{name} = %{version}-%{release}
 Provides:      %{name}-plugin = %{version}-%{release}
@@ -93,12 +98,12 @@ Provides:   %{name}-plugin = %{version}-%{release}
 %description akode
 Plugin akode.
 
-%description akode -l pl
+%description akode -l pl.UTF-8
 Wtyczka akode.
 
 %package helix
 Summary:       Helix/Realplayer playback support for amarok
-Summary(pl):   Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka
+Summary(pl.UTF-8):   Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka
 Group:         X11/Applications/Multimedia
 Requires:      %{name} = %{version}-%{release}
 Requires:      helix-core
@@ -107,12 +112,12 @@ Provides: %{name}-plugin = %{version}-%{release}
 %description helix
 Helix/Realplayer playback support for amarok.
 
-%description helix -l pl
+%description helix -l pl.UTF-8
 Wsparcie dla odtwarzania przez Helix/Realplayera dla amaroka.
 
 %package gstreamer
 Summary:       Plugin gstreamer
-Summary(pl):   Wtyczka gstreamer
+Summary(pl.UTF-8):   Wtyczka gstreamer
 Group:         X11/Applications/Multimedia
 # deps, to get it working:
 # mp3 decoder: gstreamer-mad
@@ -135,12 +140,12 @@ Provides: %{name}-plugin = %{version}-%{release}
 %description gstreamer
 Plugin gstreamer.
 
-%description gstreamer -l pl
+%description gstreamer -l pl.UTF-8
 Wtyczka gstreamer.
 
 %package xine
 Summary:       Plugin xine
-Summary(pl):   Wtyczka xine
+Summary(pl.UTF-8):   Wtyczka xine
 Group:         X11/Applications/Multimedia
 Requires:      %{name} = %{version}-%{release}
 Requires:      xine-plugin-audio
@@ -149,24 +154,12 @@ Provides: %{name}-plugin = %{version}-%{release}
 %description xine
 Plugin xine.
 
-%description xine -l pl
+%description xine -l pl.UTF-8
 Wtyczka xine.
 
-%package xmms
-Summary:       Xmms wrapper
-Summary(pl):   Wrapper xmms
-Group:         X11/Applications/Multimedia
-Requires:      %{name} = %{version}-%{release}
-
-%description xmms
-Xmms wrapper.
-
-%description xmms -l pl
-Wrapper xmms.
-
 %package zeroconf
 Summary:       Zeroconf data
-Summary(pl):   Dane dla zeroconf
+Summary(pl.UTF-8):   Dane dla zeroconf
 Group:         X11/Applications/Multimedia
 Requires:      %{name} = %{version}-%{release}
 Requires:      kdenetwork-kdnssd
@@ -175,12 +168,12 @@ Provides: %{name}-plugin = %{version}-%{release}
 %description zeroconf
 Zeroconf data.
 
-%description zeroconf -l pl
+%description zeroconf -l pl.UTF-8
 Dane dla zeroconf.
 
 %package scripts
 Summary:       amaroK scripts
-Summary(pl):   Skrypty amaroKa
+Summary(pl.UTF-8):   Skrypty amaroKa
 Group:         X11/Applications/Multimedia
 Requires:      %{name} = %{version}-%{release}
 Requires:      kdebase-kdialog
@@ -193,17 +186,21 @@ amaroK scripts allow you extend amaroK functionality.
 You can learn more about scripts in amaroK from here:
 <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>.
 
-%description scripts -l pl
-Skrypty amaroKa pozwalaj±ce rozszerzaæ jego funkcjonalno¶æ.
+%description scripts -l pl.UTF-8
+Skrypty amaroKa pozwalające rozszerzać jego funkcjonalność.
 
-Wiêcej o skryptach w amaroKu mo¿na dowiedzieæ siê st±d:
+Więcej o skryptach w amaroKu można dowiedzieć się stąd:
 <http://amarok.kde.org/amarokwiki/index.php/Script-Writing_HowTo>.
 
 %prep
 %setup -q
 %patch0 -p1
 %patch1 -p1
-%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
+%patch6 -p1
+%patch7 -p1
 
 %{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \
        amarok/src/amarok.desktop \
@@ -214,7 +211,7 @@ Wi
 # kill env, call interpreter directly, so rpm automatics could rule
 %{__sed} -i -e '
        1s,#!.*bin/env.*ruby,#!%{_bindir}/ruby,
-       1s,#!.*bin/env.*python,#!%{_bindir}/python,
+       1s,#!.*bin/env.*python,#!%{__python},
        1s,#!.*bin/env.*bash,#!/bin/bash,
 ' amarok/src/scripts/*/*.{py,rb,sh} amarok/src/amarok_proxy.rb
 
@@ -234,7 +231,6 @@ cp -f /usr/share/automake/config.sub admin
        --with%{!?with_akode:out}-akode \
        --with%{!?with_helix:out}-helix%{?with_helix:=usegivenpath} \
        --with%{!?with_nmm:out}-nmm \
-       --with%{!?with_xmms:out}-xmms \
        --with%{!?with_mp3players:out}-libgpod \
        --with%{!?with_mp3players:out}-libnjb \
        --with%{!?with_mp3players:out}-libmtp \
@@ -259,6 +255,9 @@ rm -rf $RPM_BUILD_ROOT
 # remove bogus dir
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
 
+rm $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
+rm $RPM_BUILD_ROOT%{_libdir}/ruby_lib/libhttp11.la
+
 %find_lang amarok --all-name --with-kde
 
 %clean
@@ -273,7 +272,7 @@ fi
 
 %postun        -p /sbin/ldconfig
 
-%files -f %{name}.lang
+%files -f amarok.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
 %attr(755,root,root) %{_bindir}/amarok
@@ -282,24 +281,17 @@ fi
 %attr(755,root,root) %{_bindir}/amarok_libvisual
 %attr(755,root,root) %{_bindir}/amarok_proxy.rb
 %attr(755,root,root) %{_bindir}/amarok_daapserver.rb
+%attr(755,root,root) %{_libdir}/libamarok.so
 %attr(755,root,root) %{_libdir}/libamarok.so.*.*.*
-%{_libdir}/kde3/konqsidebar_universalamarok.la
 %attr(755,root,root) %{_libdir}/kde3/konqsidebar_universalamarok.so
-%{_libdir}/kde3/libamarok_generic-mediadevice.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_generic-mediadevice.so
-%{_libdir}/kde3/libamarok_void-engine_plugin.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_void-engine_plugin.so
-%{_libdir}/libamarok.la
-%{_libdir}/kde3/libamarok_daap-mediadevice.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_daap-mediadevice.so
-%{_libdir}/kde3/libamarok_massstorage-device.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_massstorage-device.so
-%{_libdir}/kde3/libamarok_nfs-device.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_nfs-device.so
-%{_libdir}/kde3/libamarok_smb-device.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_smb-device.so
 %{_libdir}/ruby_lib/http11.rb
-%{_libdir}/ruby_lib/libhttp11.la
+%attr(755,root,root) %{_libdir}/ruby_lib/libhttp11.so
 %attr(755,root,root) %{_libdir}/ruby_lib/libhttp11.so.0.0.0
 %dir %{_datadir}/apps/amarok
 %dir %{_datadir}/apps/amarok/scripts
@@ -333,13 +325,9 @@ fi
 %{_iconsdir}/*/*/apps/amarok.*
 # TODO: move to subpackage
 %if %{with mp3players}
-%{_libdir}/kde3/libamarok_ifp-mediadevice.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_ifp-mediadevice.so
-%{_libdir}/kde3/libamarok_ipod-mediadevice.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_ipod-mediadevice.so
-%{_libdir}/kde3/libamarok_mtp-mediadevice.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_mtp-mediadevice.so
-%{_libdir}/kde3/libamarok_njb-mediadevice.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_njb-mediadevice.so
 %{_datadir}/services/amarok_ifp-mediadevice.desktop
 %{_datadir}/services/amarok_ipod-mediadevice.desktop
@@ -350,7 +338,6 @@ fi
 %if %{with akode}
 %files akode
 %defattr(644,root,root,755)
-%{_libdir}/kde3/libamarok_aKode-engine.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_aKode-engine.so
 %{_datadir}/services/amarok_aKode-engine.desktop
 %endif
@@ -358,7 +345,6 @@ fi
 %if %{with gstreamer}
 %files gstreamer
 %defattr(644,root,root,755)
-%{_libdir}/kde3/libamarok_gst10engine_plugin.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_gst10engine_plugin.so
 %{_datadir}/config.kcfg/gstconfig.kcfg
 %{_datadir}/services/amarok_gst10engine_plugin.desktop
@@ -367,7 +353,6 @@ fi
 %if %{with helix}
 %files helix
 %defattr(644,root,root,755)
-%{_libdir}/kde3/libamarok_helixengine_plugin.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_helixengine_plugin.so
 %{_datadir}/config.kcfg/helixconfig.kcfg
 %{_datadir}/services/amarok_helixengine_plugin.desktop
@@ -376,18 +361,11 @@ fi
 %if %{with xine}
 %files xine
 %defattr(644,root,root,755)
-%{_libdir}/kde3/libamarok_xine-engine.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_xine-engine.so
 %{_datadir}/config.kcfg/xinecfg.kcfg
 %{_datadir}/services/amarok_xine-engine.desktop
 %endif
 
-%if %{with xmms}
-%files xmms
-%defattr(644,root,root,755)
-%attr(755,root,root) %{_bindir}/amarok_xmmswrapper2
-%endif
-
 %if 0
 %if %{with zeroconf}
 %files zeroconf
This page took 0.036688 seconds and 4 git commands to generate.