]> git.pld-linux.org Git - packages/amarok.git/commitdiff
- merged some things from DEVEL (xine plugin and bcond) auto/ac/amarok-1_1_1-1
authorhavner <havner@pld-linux.org>
Mon, 1 Nov 2004 21:21:24 +0000 (21:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- commented out kdebindings-kjsembed-devel BR since there is no
  kdebindings in AC yet
- fixed %files
- rel 1 (should be finished, works for me)

Changed files:
    amarok.spec -> 1.31

amarok.spec

index 185c3b54ad7787839201a1a44293ce3b2c8b0350..53e9bade51a80415ae869133e0031a5714afaa7a 100644 (file)
@@ -2,12 +2,13 @@
 # Conditional builds:
 %bcond_without gstreamer       # disable gstreamer
 %bcond_without xmms            # disable xmms wrapping
+%bcond_without xine            # disable xine engine
 #
 Summary:       A KDE audio player
 Summary(pl):   Odtwarzacz audio dla KDE
 Name:          amarok
 Version:       1.1.1
-Release:       0.1     
+Release:       1
 License:       GPL
 Group:         X11/Applications/Multimedia
 Source0:       http://dl.sourceforge.net/amarok/%{name}-%{version}.tar.bz2
@@ -20,11 +21,15 @@ Buildrequires:      automake
 BuildRequires: kdemultimedia-devel >= 9:3.1.93
 BuildRequires: rpmbuild(macros) >= 1.129
 BuildRequires: sed >= 4.0
-BuildRequires: sqlite3-devel
+BuildRequires: sqlite-devel >= 2.8
 BuildRequires: taglib-devel >= 1.3
 BuildRequires: unsermake >= 040511
-BuildRequires: xine-lib-devel
+%{?with_xine:BuildRequires:    xine-lib-devel >= 2:1.0-0.rc5.0}
 %{?with_xmms:Buildrequires:    xmms-devel}
+Buildrequires: libmusicbrainz-devel
+Buildrequires: libvisual-devel >= 0.1.6-1
+Buildrequires: pcre-devel
+#BuildRequires:        kdebindings-kjsembed-devel 
 Requires:      kdebase-core >= 9:3.1.93
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -46,6 +51,18 @@ Plugin gstreamer.
 %description gstreamer -l pl
 Wtyczka gstreamer.
 
+%package xine
+Summary:       Plugin xine
+Summary(pl):   Wtyczka xine
+Group:         X11/Applications/Multimedia
+Requires:       %{name} = %{version}-%{release}
+
+%description xine
+Plugin xine.
+
+%description xine -l pl
+Wtyczka xine.
+
 %prep
 %setup -q -n %{name}-%{version}
 
@@ -61,6 +78,8 @@ export UNSERMAKE=%{_datadir}/unsermake/unsermake
 
 %configure \
        --disable-rpath \
+       %{!?with_xine:--without-xine} \
+       %{!?with_gstreamer:--without-gstreamer} \
        --with-qt-libraries=%{_libdir}
 
 %{__make}
@@ -84,21 +103,25 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/amarok
 %{?with_xmms:%attr(755,root,root) %{_bindir}/amarok_xmmswrapper2}
 %attr(755,root,root) %{_bindir}/amarokapp
+%attr(755,root,root) %{_bindir}/amarok_libvisual
 %attr(755,root,root) %{_bindir}/release_amarok
 %{_libdir}/kde3/libamarok_artsengine_plugin.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_artsengine_plugin.so
+%{_libdir}/kde3/libamarok_void-engine_plugin.la
+%attr(755,root,root) %{_libdir}/kde3/libamarok_void-engine_plugin.so
 %{_libdir}/libamarokarts.la
 %attr(755,root,root) %{_libdir}/libamarokarts.so
 %{_libdir}/mcop/Amarok
 %{_libdir}/mcop/amarokarts.mcopclass
 %{_libdir}/mcop/amarokarts.mcoptype
 %{_datadir}/apps/amarok
+%{_datadir}/apps/konqueror/servicemenus/amarok_append.desktop
 %{_datadir}/config.kcfg/amarok.kcfg
-%{_datadir}/config.kcfg/gstconfig.kcfg
 %{_datadir}/services/amarok_artsengine_plugin.desktop
+%{_datadir}/services/amarok_void-engine_plugin.desktop
 %{_datadir}/servicetypes/amarok_plugin.desktop
 %{_desktopdir}/kde/amarok.desktop
-%{_iconsdir}/[!l]*/*/apps/amarok.png
+%{_iconsdir}/*/*/apps/amarok.png
 %{_iconsdir}/crystalsvg/*/*/player_playlist_2.png
 %{_datadir}/config/*
 
@@ -107,5 +130,15 @@ rm -rf $RPM_BUILD_ROOT
 %defattr(644,root,root,755)
 %{_libdir}/kde3/libamarok_gstengine_plugin.la
 %attr(755,root,root) %{_libdir}/kde3/libamarok_gstengine_plugin.so
+%{_datadir}/config.kcfg/gstconfig.kcfg
 %{_datadir}/services/amarok_gstengine_plugin.desktop
 %endif
+
+%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}/services/amarok_xine-engine.desktop
+%{_datadir}/services/amarok_xineengine_plugin.desktop
+%endif
This page took 0.051781 seconds and 4 git commands to generate.