Author: qboosh                       Date: Sun Nov  4 13:45:37 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- updated to 0.9.4
- bmp plugin added (but build not tested)
- dropped libao copy-pasto

---- Files affected:
SPECS:
   xmms-output-pulse.spec (1.3 -> 1.4) 

---- Diffs:

================================================================
Index: SPECS/xmms-output-pulse.spec
diff -u SPECS/xmms-output-pulse.spec:1.3 SPECS/xmms-output-pulse.spec:1.4
--- SPECS/xmms-output-pulse.spec:1.3    Mon Feb 12 23:09:23 2007
+++ SPECS/xmms-output-pulse.spec        Sun Nov  4 14:45:32 2007
@@ -1,20 +1,29 @@
 # $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without bmp     # BMP plugin
+%bcond_without xmms    # XMMS plugin
+#
 Summary:       PulseAudio output plugin for XMMS
 Summary(pl.UTF-8):     Wtyczka wyjściowa PulseAudio dla XMMS-a
 Name:          xmms-output-pulse
-Version:       0.9.3
+Version:       0.9.4
 Release:       1
 License:       GPL v2+
 Group:         X11/Applications/Sound
 Source0:       
http://0pointer.de/lennart/projects/xmms-pulse/xmms-pulse-%{version}.tar.gz
-# Source0-md5: 9fe94d5af0d4e5b9663d29afa52c3706
+# Source0-md5: c879939a6242f07b69298b30bcdeb6c5
 URL:           http://0pointer.de/lennart/projects/xmms-pulse/
+%if %{with bmp}
+BuildRequires: bmp-devel >= 1:0.9.7
+%endif
 BuildRequires: pkgconfig
 BuildRequires: pulseaudio-devel >= 0.9.2
 BuildRequires: rpmbuild(macros) >= 1.125
+%if %{with xmms}
 BuildRequires: xmms-devel >= 1.2.0
+%endif
 Requires:      xmms >= 1.2.0
-Obsoletes:     libao-polyp
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -23,13 +32,28 @@
 %description -l pl.UTF-8
 Wtyczka wyjściowa XMMS-a dla serwera dźwięku PulseAudio.
 
+%package -n bmp-output-pulse
+Summary:       PulseAudio output plugin for BMP media player
+Summary(pl.UTF-8):     Wtyczka wyjściowa PulseAudio dla odtwarzacza 
multimedialnego BMP
+Group:         X11/Applications/Sound
+Requires:      bmp >= 1:0.9.7
+
+%description -n bmp-output-pulse
+PulseAudio output plugin for BMP media player.
+
+%description -n bmp-output-pulse -l pl.UTF-8
+Wtyczka wyjściowa PulseAudio dla odtwarzacza multimedialnego BMP.
+
 %prep
 %setup -q -n xmms-pulse-%{version}
 
 %build
 %configure \
        --disable-lynx \
-       --disable-static
+       --disable-static \
+       %{!?with_xmms:--disable-xmms} \
+       %{?with_bmp:--enable-bmp}
+
 %{__make}
 
 %install
@@ -38,15 +62,29 @@
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
 
+%if %{with xmms}
 rm -f $RPM_BUILD_ROOT%{xmms_output_plugindir}/*.la
+%endif
+%if %{with bmp}
+rm -f $RPM_BUILD_ROOT%{_libdir}/bmp/Output/libbmp-pulse.so
+%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%if %{with xmms}
 %files
 %defattr(644,root,root,755)
-%doc README
+%doc ChangeLog README
 %attr(755,root,root) %{xmms_output_plugindir}/libxmms-pulse.so
+%endif
+
+%if %{with bmp}
+%files -n bmp-output-pulse
+%defattr(644,root,root,755)
+%doc ChangeLog README
+%attr(755,root,root) %{_libdir}/bmp/Output/libbmp-pulse.so
+%endif
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -54,6 +92,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2007/11/04 13:45:32  qboosh
+- updated to 0.9.4
+- bmp plugin added (but build not tested)
+- dropped libao copy-pasto
+
 Revision 1.3  2007/02/12 22:09:23  glen
 - tabs in preamble
 
================================================================

---- CVS-web:
    
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/xmms-output-pulse.spec?r1=1.3&r2=1.4&f=u

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to