SPECS (AC-branch): jack-audio-connection-kit.spec - alsa subpackag...

glen glen at pld-linux.org
Tue Oct 16 21:12:21 CEST 2007


Author: glen                         Date: Tue Oct 16 19:12:21 2007 GMT
Module: SPECS                         Tag: AC-branch
---- Log message:
- alsa subpackage is back; rel 3

---- Files affected:
SPECS:
   jack-audio-connection-kit.spec (1.71 -> 1.71.2.1) 

---- Diffs:

================================================================
Index: SPECS/jack-audio-connection-kit.spec
diff -u SPECS/jack-audio-connection-kit.spec:1.71 SPECS/jack-audio-connection-kit.spec:1.71.2.1
--- SPECS/jack-audio-connection-kit.spec:1.71	Sat Apr 28 13:39:43 2007
+++ SPECS/jack-audio-connection-kit.spec	Tue Oct 16 21:12:16 2007
@@ -3,6 +3,7 @@
 # Conditional build:
 %bcond_without	apidocs		# don't generate documentation with doxygen
 %bcond_without	cap		# don't use capabilities to get real-time priority (needs suid root binary)
+%bcond_without	alsa		# don't build ALSA driver
 %bcond_without	posix_shm	# don't use posix shm
 %bcond_without	static_libs	# don't build static libs
 %bcond_without	freebob		# don't build freebob driver
@@ -11,7 +12,7 @@
 Summary(pl.UTF-8):	JACK - zestaw do połączeń audio
 Name:		jack-audio-connection-kit
 Version:	0.103.0
-Release:	2
+Release:	3
 License:	LGPL v2.1+ (libjack), GPL v2+ (the rest)
 Group:		Daemons
 Source0:	http://dl.sourceforge.net/jackit/%{name}-%{version}.tar.gz
@@ -20,7 +21,7 @@
 Patch1:		%{name}-gcc4.patch
 Patch2:		%{name}-readline.patch
 URL:		http://jackit.sourceforge.net/
-BuildRequires:	alsa-lib-devel >= 0.9.0
+%{?with_alsa:BuildRequires:	alsa-lib-devel >= 0.9.0}
 BuildRequires:	autoconf >= 2.50
 BuildRequires:	automake
 %{?with_apidocs:BuildRequires:	doxygen}
@@ -31,7 +32,6 @@
 BuildRequires:	pkgconfig
 BuildRequires:	readline-devel
 BuildRequires:	rpmbuild(macros) >= 1.98
-Obsoletes:	jack-audio-connection-kit-driver-alsa
 Obsoletes:	jack-audio-connection-kit-driver-iec61883
 Requires:	%{name}-libs = %{version}-%{release}
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -131,6 +131,19 @@
 %description driver-freebob -l pl.UTF-8
 Sterownik dźwięku FreeBoB (do platformy BeBoB) dla JACK-a.
 
+%package driver-alsa
+Summary:	ALSA driver for JACK
+Summary(pl):	Sterownik ALSA dla JACK-a
+License:	GPL
+Group:		Libraries
+Requires:	%{name} = %{version}-%{release}
+
+%description driver-alsa
+ALSA driver for JACK.
+
+%description driver-alsa -l pl
+Sterownik ALSA dla JACK-a.
+
 %package example-clients
 Summary:	Example clients that use JACK
 Summary(pl.UTF-8):	Przykładowe programy kliencie używające JACK-a
@@ -180,6 +193,7 @@
 	--disable-oldtrans \
 	--disable-portaudio \
 	--enable-oss \
+	%{!?with_alsa:--disable-alsa} \
 	%{?with_cap:--enable-capabilities %{!?debug:--enable-stripped-jackd}} \
 	--%{?with_posix_shm:en}%{!?with_posix_shm:dis}able-posix-shm \
 	%{?with_static_libs:--enable-static} \
@@ -240,7 +254,6 @@
 %attr(755,root,root) %{_bindir}/jack_load
 %attr(755,root,root) %{_bindir}/jack_unload
 %dir %{_libdir}/jack
-%attr(755,root,root) %{_libdir}/jack/jack_alsa.so
 %attr(755,root,root) %{_libdir}/jack/jack_dummy.so
 %attr(755,root,root) %{_libdir}/jack/jack_oss.so
 %{_mandir}/man1/*
@@ -274,6 +287,12 @@
 %attr(755,root,root) %{_libdir}/jack/jack_freebob.so
 %endif
 
+%if %{with alsa}
+%files driver-alsa
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_libdir}/jack/jack_alsa.so
+%endif
+
 %files example-clients
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/jack_bufsize
@@ -302,6 +321,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.71.2.1  2007/10/16 19:12:16  glen
+- alsa subpackage is back; rel 3
+
 Revision 1.71  2007/04/28 11:39:43  megabajt
 - added apidocs bcond and subpackage
 - release 2
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/jack-audio-connection-kit.spec?r1=1.71&r2=1.71.2.1&f=u



More information about the pld-cvs-commit mailing list