rpms/akode/devel akode.spec,1.5,1.6

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Thu Dec 14 15:53:13 UTC 2006


Author: rdieter

Update of /cvs/extras/rpms/akode/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv1697

Modified Files:
	akode.spec 
Log Message:
* Thu Dec 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.0.1-3
- enable jack support (subpkg)
- package (GPL'd) libsamplerate-based resampler separately, 
  to keep main pkg LGPL-clean



Index: akode.spec
===================================================================
RCS file: /cvs/extras/rpms/akode/devel/akode.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- akode.spec	28 Aug 2006 15:01:03 -0000	1.5
+++ akode.spec	14 Dec 2006 15:52:43 -0000	1.6
@@ -2,7 +2,7 @@
 Summary: Audio-decoding framework 
 Name:	 akode 
 Version: 2.0.1
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: LGPL
 Group: 	 System Environment/Libraries
 #URL:	 http://carewolf.com/akode/  
@@ -10,6 +10,14 @@
 Source0: http://www.kde-apps.org/content/files/30375-akode-%{version}.tar.bz2
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
+#Conflicts: kdemultimedia < 6:3.5 
+
+%if 0%{?fedora} > 4
+%define _with_jack --with-jack
+# FIXME
+#define _with_pulseaudio --with-pulseaudio
+%endif
+
 BuildRequires: automake
 BuildRequires: alsa-lib-devel
 BuildRequires: flac-devel
@@ -17,6 +25,8 @@
 BuildRequires: speex-devel
 BuildRequires: libvorbis-devel
 BuildRequires: libtool
+%{?_with_jack:BuildRequires: jack-audio-connection-kit-devel}
+%{?_with_pusleaudio:BuildRequires: pulseaudio-devel}
 
 %description
 aKode is a simple audio-decoding frame-work that provides a uniform
@@ -30,12 +40,6 @@
 aKode also has the following audio outputs:
 * oss: Outputs to the OSS (Open Sound System)
 * alsa: Outputs to ALSA (dmix is recommended).
-%if 0
-TODO
-* jack: Outputs using Jack audio backend.
-* polyp: Output to the polypaudio server.  Recommended for network 
-  transparent audio. 
-%endif
 
 %package devel
 Summary: Headers for developing programs that will use %{name} 
@@ -44,6 +48,30 @@
 %description devel
 %{summary}.
 
+%package jack 
+Summary: Jack audio output backend for %{name}
+Group:   Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description jack 
+%{summary}.
+
+%package libsamplerate 
+Summary: Resampler based on (GPL) libsamplerate for %{name}
+Group:   Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description libsamplerate 
+%{summary}.
+Packaged separately to keep main/core %{akode} package LGPL-clean.
+
+%package pulseaudio 
+Summary: Pulseaudio output backend for %{name}
+Group:   Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description pulseaudio 
+%{summary}.
+Recommended for network transparent audio.
+
+
 
 %prep
 %setup -q -n %{name}-%{version}%{?beta}
@@ -58,11 +86,10 @@
   --without-libltdl \
   --with-alsa \
   --with-flac \
+  %{?_with_jack} %{!?_with_jack:--without-jack} \
   --with-libsamplerate \
   --with-speex \
   --with-vorbis \
-  --without-jack \
-  --without-polypaudio \
   --without-ffmpeg \
   --without-libmad 
 
@@ -97,7 +124,10 @@
 %doc rpmdocs/* 
 %{_bindir}/akodeplay
 %{_libdir}/libakode.so.*
-%{_libdir}/libakode_*_*.so
+%{_libdir}/libakode_alsa_sink.so
+%{_libdir}/libakode_oss_sink.so
+%{_libdir}/libakode_mpc_decoder.so
+%{_libdir}/libakode_xiph_decoder.so
 
 %files devel
 %defattr(-,root,root,-)
@@ -105,8 +135,23 @@
 %{_includedir}/*
 %{_libdir}/libakode.so
 
+%if "%{?_with_jack:1}" == "1"
+%files jack 
+%defattr(-,root,root,-)
+%{_libdir}/libakode_jack_sink.so
+%endif
+
+%files libsamplerate
+%defattr(-,root,root,-)
+%{_libdir}/libakode_src_resampler.so
+
 
 %changelog
+* Thu Dec 14 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.0.1-3
+- enable jack support (subpkg)
+- package (GPL'd) libsamplerate-based resampler separately, 
+  to keep main pkg LGPL-clean
+
 * Mon Aug 28 2006 Rex Dieter <rexdieter[AT]users.sf.net> 2.0.1-2
 - fc6 respin
 




More information about the scm-commits mailing list