]> git.pld-linux.org Git - packages/amarok.git/blobdiff - amarok.spec
- updated TODO
[packages/amarok.git] / amarok.spec
index c1bbb37c7b74cbe21203bcb236e586da2dbeff96..2996fcd0d63b01a87513ca01d0561a4d62c5b056 100644 (file)
@@ -1,29 +1,32 @@
 #
 # TODO:
 #      * postgresql support alongside mysql
-#      * NMM, MAS audio backend support
+#      * NMM audio backend support (fix build - propably some BRs)
 #      * make descriptions less useless
-#      * HelixPlayer engine?
-#      * nls files, kde html documents
+#      * HelixPlayer engine (fix build - propably some BRs)
 #
 # Conditional builds:
 %bcond_without arts            # disable arts engine
 %bcond_without gstreamer       # disable gstreamer
+%bcond_without  mas            # disable MAS audio backend
 %bcond_without xine            # disable xine engine
 %bcond_without xmms            # disable xmms wrapping
-%bcond_without zeroconf        # disbale suport for zeroconf
+%bcond_without zeroconf        # disable suport for zeroconf
+%bcond_with     helixplayer     # enable HelixPlayer engine
+%bcond_with     nmm             # enable NMM audio backend
 %bcond_with    mysql           # enable mysql support
+%bcond_with    akode           # enable aKode engine (too buggy/incomplete)
 #
-%define        _beta   beta2
+%define        _beta   beta3
 Summary:       A KDE audio player
 Summary(pl):   Odtwarzacz audio dla KDE
 Name:          amarok
 Version:       1.3
-Release:       0.%{_beta}.3
+Release:       0.%{_beta}.2
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       http://dl.sourceforge.net/amarok/%{name}-%{version}-%{_beta}.tar.bz2
-# Source0-md5: ca7b22074dab6107c61b3b92dadbe26e
+# Source0-md5: e6587bcdd3dc9a811d40d00b89e13ceb
 Patch0:                kde-common-gcc4.patch
 URL:           http://amarok.kde.org/
 BuildRequires: SDL-devel
@@ -32,17 +35,16 @@ BuildRequires:      arts-qt-devel
 BuildRequires: automake
 %{?with_gstreamer:BuildRequires:       gstreamer-plugins-devel >= 0.8.1}
 BuildRequires: kdebase-devel
-BuildRequires: kdemultimedia-akode
+%{?with_akode:BuildRequires:   kdemultimedia-akode}
 BuildRequires: kdemultimedia-devel >= 9:3.1.93
 BuildRequires: libltdl-devel
 BuildRequires: libmusicbrainz-devel
 BuildRequires: libvisual-devel >= 0.2.0
 BuildRequires: pcre-devel
 BuildRequires: rpmbuild(macros) >= 1.129
-BuildRequires: rpm-pythonprov
 BuildRequires: sed >= 4.0
 BuildRequires: sqlite3-devel
-BuildRequires: taglib-devel >= 1.3.1
+BuildRequires: taglib-devel >= 1.4
 #BuildRequires:        unsermake >= 040511
 %{?with_xine:BuildRequires:            xine-lib-devel >= 2:1.0-0.rc5.0}
 %{?with_xmms:BuildRequires:            xmms-devel}
@@ -72,7 +74,6 @@ Plugin arts.
 %description arts -l pl
 Wtyczka arts.
 
-
 %package akode
 Summary:       Plugin akode
 Summary(pl):   Wtyczka akode
@@ -86,7 +87,6 @@ Plugin akode.
 %description akode -l pl
 Wtyczka akode.
 
-
 %package gstreamer
 Summary:       Plugin gstreamer
 Summary(pl):   Wtyczka gstreamer
@@ -132,7 +132,6 @@ Zeroconf data.
 %description zeroconf -l pl
 Zeroconf data.
 
-
 %prep
 %setup -q -n %{name}-%{version}-%{_beta}
 %patch0 -p1
@@ -149,8 +148,11 @@ cp -f /usr/share/automake/config.sub admin
 %configure \
        --disable-rpath \
        %{!?with_arts:--without-arts} \
+       %{?with_mas:--with-mas} \
        %{!?with_xine:--without-xine} \
        %{!?with_gstreamer:--without-gstreamer} \
+       %{!?with_akode:--without-akode} \
+       %{?with_helix:--with-helix} \
        %{?with_mysql:--with-mysql} \
        --disable-final \
        --with-qt-libraries=%{_libdir} \
@@ -169,7 +171,7 @@ rm -rf $RPM_BUILD_ROOT
 # remove bogus dir
 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/xx
 
-#find_lang amarok --all-name --with-kde
+%find_lang amarok --all-name --with-kde
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -178,9 +180,7 @@ rm -rf $RPM_BUILD_ROOT
 echo "Remember to install libvisual-plugins-* packages if you"
 echo "want to have a visualizations in amarok."
 
-%files
-%defattr(644,root,root,755)
-# -f %{name}.lang
+%files -f %{name}.lang
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README TODO
 %attr(755,root,root) %{_bindir}/amarok
@@ -218,11 +218,13 @@ echo "want to have a visualizations in amarok."
 %{_datadir}/services/amarok_artsengine_plugin.desktop
 %endif
 
+%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
 
 %if %{with gstreamer}
 %files gstreamer
@@ -238,6 +240,7 @@ echo "want to have a visualizations in amarok."
 %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
 #%{_datadir}/services/amarok_xineengine_plugin.desktop
 %endif
This page took 0.046455 seconds and 4 git commands to generate.