]> git.pld-linux.org Git - packages/amarok.git/blobdiff - amarok.spec
- ehh you're so bad bad
[packages/amarok.git] / amarok.spec
index 44f9e8f64ee89e44ee1c3a45de0fcc6e9f0ca847..4537c56134073909246d4b3a4015b236413f56be 100644 (file)
 Summary:       A KDE audio player
 Summary(pl.UTF-8):     Odtwarzacz audio dla KDE
 Name:          amarok
-Version:       1.4.9.1
-Release:       3
+Version:       1.4.10
+Release:       8
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       ftp://ftp.kde.org/pub/kde/stable/amarok/%{version}/src/%{name}-%{version}.tar.bz2
-# Source0-md5: aa588778379a391ad3f4b3fc770217e4
+# Source0-md5: 3bdbf26181bf5e5925f48968caba7ac2
 Patch0:                %{name}-helixplayer-morearchs.patch
 Patch1:                %{name}-libnjb.patch
 Patch2:                %{name}-smp.patch
@@ -43,7 +43,12 @@ Patch5:              kde-common-PLD.patch
 Patch6:                %{name}-gcc4.patch
 Patch7:                %{name}-titleorder.patch
 Patch8:                %{name}-mongrel.patch
+Patch9:                %{name}-libmtp.patch
 URL:           http://amarok.kde.org/
+# Upgrade to 2.0.1.1 required?
+# http://www.trapkit.de/advisories/TKADV2009-002.txt
+# http://amarok.kde.org/de/node/600
+#BuildRequires:        security(TKADV2009-002)
 BuildRequires: SDL-devel
 BuildRequires: alsa-lib-devel
 BuildRequires: autoconf
@@ -57,7 +62,7 @@ BuildRequires:        kdemultimedia-devel >= 9:3.1.93
 %{?with_mp3players:BuildRequires:      libgpod-devel >= 0.6.0}
 %{?with_mp3players:BuildRequires:      libifp-devel >= 1.0.0.2}
 BuildRequires: libltdl-devel
-%{?with_mp3players:BuildRequires:      libmtp-devel >= 0.1.1}
+%{?with_mp3players:BuildRequires:      libmtp-devel >= 0.3.0}
 %{?with_mp3players:BuildRequires:      libnjb-devel >= 2.2.4}
 %{?with_pgsql:BuildRequires:           libpqxx-devel}
 BuildRequires: libtunepimp-devel >= 0.5.1-6
@@ -75,17 +80,15 @@ BuildRequires:      taglib-devel >= 1.4
 %{?with_xine:BuildRequires:    xine-lib-devel >= 1.1.1}
 Requires(post):        /sbin/ldconfig
 Requires:      %{name}-plugin = %{version}-%{release}
-Requires:      kdebase-core >= 9:3.1.93
-Requires:      kdelibs-libs >= 9:3.5.9
-Requires:      kdemultimedia-audiocd >= 9:3.1.93
 Requires:      ruby-mongrel
+Suggests:      kdemultimedia(audiocd) >= 9:3.1.93
 Suggests:      libvisual-plugin-actor-JESS
 Suggests:      libvisual-plugin-actor-bumpscope
 Suggests:      libvisual-plugin-actor-corona
 Suggests:      libvisual-plugin-actor-flower
 Suggests:      libvisual-plugin-actor-gdkpixbuf
 Suggests:      libvisual-plugin-actor-gforce
-Suggests:      libvisual-plugin-actor-gstreamer
+%{?with_gstreamer:Suggests:    libvisual-plugin-actor-gstreamer}
 Suggests:      libvisual-plugin-actor-infinite
 Suggests:      libvisual-plugin-actor-jakdaw
 Suggests:      libvisual-plugin-actor-lv_analyzer
@@ -102,8 +105,10 @@ Suggests:  libvisual-plugin-morph-alphablend
 Suggests:      libvisual-plugin-morph-flash
 Suggests:      libvisual-plugin-morph-slide
 Suggests:      libvisual-plugin-morph-tentacle
+Suggests:      python-PyKDE
 Obsoletes:     amarok-arts
 Obsoletes:     amarok-xmms
+Conflicts:     kdelibs-libs < 9:3.5.9
 # sr@Latn vs. sr@latin
 Conflicts:     glibc-misc < 6:2.7
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -117,6 +122,18 @@ A KDE audio player.
 %description -l pl.UTF-8
 Odtwarzacz audio dla KDE.
 
+%package -n konqueror-addon-amarok
+Summary:       Amarok sidebar for Konqueror
+Summary(pl.UTF-8):     Pasek z Amarokiem dla Konquerora
+Group:         X11/Applications/Multimedia
+Requires:      %{name} = %{version}-%{release}
+
+%description -n konqueror-addon-amarok
+Amarok sidebar for Konqueror.
+
+%description -n konqueror-addon-amarok -l pl.UTF-8
+Pasek z Amarokiem dla Konquerora.
+
 %package akode
 Summary:       Plugin akode
 Summary(pl.UTF-8):     Wtyczka akode
@@ -205,7 +222,7 @@ Summary:    amaroK scripts
 Summary(pl.UTF-8):     Skrypty amaroKa
 Group:         X11/Applications/Multimedia
 Requires:      %{name} = %{version}-%{release}
-Requires:      kdebase-kdialog
+Requires:      /usr/bin/kdialog
 Requires:      python-PyQt
 Requires:      ruby-modules
 
@@ -232,6 +249,7 @@ Więcej o skryptach w amaroKu można dowiedzieć się stąd:
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p0
 
 %{__sed} -i -e 's/Categories=.*/Categories=Qt;KDE;AudioVideo;Player;/' \
        amarok/src/amarok.desktop \
@@ -289,6 +307,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
 rm $RPM_BUILD_ROOT%{_libdir}/kde3/*.la
 rm $RPM_BUILD_ROOT%{_libdir}/libamarok.{so,la}
 
+# example plugin code
+rm -rf $RPM_BUILD_ROOT%{_datadir}/apps/amarok/scripts/templates
+
 [ -d $RPM_BUILD_ROOT%{_datadir}/locale/sr@latin ] || \
        mv -f $RPM_BUILD_ROOT%{_datadir}/locale/sr@{Latn,latin}
 %find_lang amarok --all-name --with-kde
@@ -313,7 +334,6 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/amarok_daapserver.rb
 %attr(755,root,root) %{_libdir}/libamarok.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libamarok.so.0
-%attr(755,root,root) %{_libdir}/kde3/konqsidebar_universalamarok.so
 %attr(755,root,root) %{_libdir}/kde3/libamarok_generic-mediadevice.so
 %attr(755,root,root) %{_libdir}/kde3/libamarok_void-engine_plugin.so
 %attr(755,root,root) %{_libdir}/kde3/libamarok_daap-mediadevice.so
@@ -327,12 +347,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/apps/amarok/icons
 %{_datadir}/apps/amarok/images
 %{_datadir}/apps/amarok/themes
-%{_datadir}/apps/konqueror/servicemenus/amarok_append.desktop
-%{_datadir}/apps/konqueror/servicemenus/amarok_addaspodcast.desktop
-%{_datadir}/apps/konqueror/servicemenus/amarok_play_audiocd.desktop
-%{_datadir}/apps/konqsidebartng/add/amarok.desktop
-%{_datadir}/apps/konqsidebartng/entries/amarok.desktop
-%{_datadir}/apps/konqsidebartng/kicker_entries/amarok.desktop
 %{_datadir}/apps/profiles/amarok.profile.xml
 %{_datadir}/config/amarokrc
 %{_datadir}/config.kcfg/amarok.kcfg
@@ -369,6 +383,16 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/services/amarok_njb-mediadevice.desktop
 %endif
 
+%files -n konqueror-addon-amarok
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/kde3/konqsidebar_universalamarok.so
+%{_datadir}/apps/konqueror/servicemenus/amarok_append.desktop
+%{_datadir}/apps/konqueror/servicemenus/amarok_addaspodcast.desktop
+%{_datadir}/apps/konqueror/servicemenus/amarok_play_audiocd.desktop
+%{_datadir}/apps/konqsidebartng/add/amarok.desktop
+%{_datadir}/apps/konqsidebartng/entries/amarok.desktop
+%{_datadir}/apps/konqsidebartng/kicker_entries/amarok.desktop
+
 %if %{with akode}
 %files akode
 %defattr(644,root,root,755)
@@ -414,11 +438,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/apps/amarok/scripts/common/Publisher.py
 %{_datadir}/apps/amarok/scripts/common/Zeroconf.py
 
-%dir %{_datadir}/apps/amarok/scripts/templates
-%{_datadir}/apps/amarok/scripts/templates/amarok.rb
-%{_datadir}/apps/amarok/scripts/templates/python_qt_template.py
-%{_datadir}/apps/amarok/scripts/templates/ruby_qt_template.rb
-
 # amarok searches for executable programs for scripts
 # to figure out which files need to have execute permission, use this
 # find command:
@@ -436,7 +455,6 @@ rm -rf $RPM_BUILD_ROOT
 %{_datadir}/apps/amarok/scripts/playlist2html/PlaylistServer.spec
 %{_datadir}/apps/amarok/scripts/playlist2html/playlist2html.spec
 
-
 %dir %{_datadir}/apps/amarok/scripts/webcontrol
 %{_datadir}/apps/amarok/scripts/webcontrol/README
 %{_datadir}/apps/amarok/scripts/webcontrol/Globals.py
This page took 0.037493 seconds and 4 git commands to generate.