%define with_freebob 1 Name: jack Epoch: 1 Version: 0.116.2 Release: 1mamba Summary: A low-latency audio server that can connect a number of different applications to an audio device Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://jackit.sourceforge.net/ Source: http://jackaudio.org/downloads/jack-audio-connection-kit-%{version}.tar.gz Source1: jack-jackstart.user Source2: jack-jackstop.user Source3: jack-sysconfig Source4: jack-configure Source5: jack-enable.desktop Source6: jack-disable.desktop Source7: jack-icon.png Source8: jack-asound.conf Source9: jack-initscript Source10: jack-profile Source11: jack-xprofile Source14: jack-no_date_footer.html Patch1: %{name}-0.109.2-userdir_name.patch Patch2: %{name}-0.109.2-client_fix_looping_error.patch Patch3: jack-0.116.1-cleanup-mb-thread.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: bash BuildRequires: glibc-devel BuildRequires: ldconfig BuildRequires: libalsa-devel BuildRequires: libalsa-plugins BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libsndfile-devel ## AUTOBUILDREQ-END %if %with_freebob BuildRequires: libffado-devel %endif BuildRequires: libcap-devel >= 1.10 BuildRequires: libflac-devel >= 1.1.2 BuildRequires: doxygen BuildRoot: %{_tmppath}/%{name}-%{version}-buildroot Requires: libjack == %{?epoch:%epoch:}%{version}-%{release} Requires: oss2jack >= 0.25 Requires: alsaplayer-output-jack >= 0.99.77 Requires: libalsa-plugins %description JACK is a low-latency audio server, written for POSIX conformant operating systems such as GNU/Linux and Apple's OS X. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves. Its clients can run in their own processes (ie. as normal applications), or can they can run within the JACK server (ie. as a "plugin"). JACK was designed from the ground up for professional audio work, and its design focuses on two key areas: synchronous execution of all clients, and low latency operation. %package -n libjack Group: System/Tools Summary: Jack audio connection kit tools %description -n libjack JACK is a low-latency audio server, written for POSIX conformant operating systems such as GNU/Linux and Apple's OS X. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves. Its clients can run in their own processes (ie. as normal applications), or can they can run within the JACK server (ie. as a "plugin"). JACK was designed from the ground up for professional audio work, and its design focuses on two key areas: synchronous execution of all clients, and low latency operation. %package -n libjack-devel Group: Development/Libraries Summary: Static libraries and headers for %{name} Requires: libjack == %{?epoch:%epoch:}%{version}-%{release} %description -n libjack-devel JACK is a low-latency audio server, written for POSIX conformant operating systems such as GNU/Linux and Apple's OS X. It can connect a number of different applications to an audio device, as well as allowing them to share audio between themselves. Its clients can run in their own processes (ie. as normal applications), or can they can run within the JACK server (ie. as a "plugin"). JACK was designed from the ground up for professional audio work, and its design focuses on two key areas: synchronous execution of all clients, and low latency operation. This package contains static libraries and header files need for development. # FIXME: checking for Pa_Initialize in -lportaudio... no # waiting for V19 that will also support alsa %prep %setup -q -n jack-audio-connection-kit-%{version} %patch1 -p1 %patch3 -p1 cp %{SOURCE14} doc/no_date_footer.html sed -e 's,^HTML_FOOTER[ \t]*=.*,HTML_FOOTER = no_date_footer.html,; s,^GENERATE_LATEX[ \t]*=.*,GENERATE_LATEX = NO,;' doc/reference.doxygen.in > doc/reference.doxygen.in.new touch -r doc/reference.doxygen.in doc/reference.doxygen.in.new mv -f doc/reference.doxygen.in.new doc/reference.doxygen.in %build %configure \ --disable-oss \ --disable-portaudio \ --disable-coreaudio \ %if ! %with_freebob --disable-freebob \ %else --enable-freebob \ --enable-firewire \ %endif --enable-preemption-check \ --enable-resize \ --enable-posix-shm \ --enable-resize \ --enable-ensure-mlock \ --enable-optimize \ --with-default-tmpdir=/dev/shm \ --enable-mmx \ --disable-sse \ --disable-altivec # --enable-capabilities \ %make %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall # small fixes in HTML documentation (cd %{buildroot}%{_datadir}/jack-audio-connection-kit/reference/html/ grep -rl -e"/usr/src/RPM/BUILD/" . | \ xargs sed -i 's,/usr/src/RPM/BUILD/,,g') install -m0755 -D %{SOURCE1} %{buildroot}%{_bindir}/jackstart.user install -m0755 -D %{SOURCE2} %{buildroot}%{_bindir}/jackstop.user install -m0644 -D %{SOURCE3} %{buildroot}%{_sysconfdir}/sysconfig/sound install -m0755 -D %{SOURCE4} %{buildroot}%{_sbindir}/jack-configure install -m0644 -D %{SOURCE5} %{buildroot}%{_datadir}/applications/jack-enable.desktop install -m0644 -D %{SOURCE6} %{buildroot}%{_datadir}/applications/jack-disable.desktop install -m0644 -D %{SOURCE7} %{buildroot}%{_datadir}/icons/jack.png install -m0644 -D %{SOURCE8} %{buildroot}%{_sysconfdir}/asound.conf install -m0755 -D %{SOURCE9} %{buildroot}%{_initrddir}/jackd install -m0755 -D %{SOURCE10} %{buildroot}%{_sysconfdir}/profile.d/jackd.sh install -m0755 -D %{SOURCE11} %{buildroot}%{_sysconfdir}/xprofile.d/jack.sh %clean [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -n libjack -p /sbin/ldconfig %postun -n libjack -p /sbin/ldconfig %files %defattr(-,root,root) %config(noreplace) %{_sysconfdir}/sysconfig/sound %exclude %config %{_sysconfdir}/asound.conf %{_initrddir}/jackd %{_sysconfdir}/profile.d/jackd.sh %{_sysconfdir}/xprofile.d/jack.sh %{_bindir}/alsa_in %{_bindir}/alsa_out %{_bindir}/jack_* %{_bindir}/jackd %{_bindir}/jackrec %{_bindir}/jackstart.user %{_bindir}/jackstop.user %{_sbindir}/jack-configure %{_datadir}/jack-audio-connection-kit/reference/html/* %{_datadir}/applications/jack-enable.desktop %{_datadir}/applications/jack-disable.desktop %{_datadir}/icons/jack.png %{_mandir}/man1/jackd.1.gz %{_mandir}/man1/jackstart.1.gz %files -n libjack %defattr(-,root,root) %{_libdir}/*.so.* %{_libdir}/jack/*.so %{_libdir}/jack/*.la %dir %{_libdir}/jack %doc AUTHORS COPYING README TODO %files -n libjack-devel %defattr(-,root,root) %{_includedir}/jack/*.h %{_libdir}/*.la %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %changelog * Sat Oct 02 2010 gil 0.116.2-1mamba - update to 0.116.2 - built with new readline - add freebob (libffado) support * Sun Jan 25 2009 Silvan Calarco 0.116.1-4mamba - enable and disable entries moved to openmamba menu to prevent confusion with qjackctl * Tue Dec 30 2008 Silvan Calarco 0.116.1-3mamba - reset to default sysconfig configuration to disable server startup * Mon Dec 22 2008 Silvan Calarco 0.116.1-2mamba - sysconfig/sound: disable startup by default - asound.conf: remove from this package; it is now provided by alsa-utils * Sun Dec 21 2008 Silvan Calarco 0.116.1-1mamba - update to 0.116.1 - jackstart.user: removed -m -u and other minor confiuration changes - asound.conf: rewritten for use of alsa redirection to jack - sysconfig/sound: disabled oss2jack by default * Sun Oct 12 2008 Silvan Calarco 0.109.2-5mamba - added xprofile startup script * Thu Sep 18 2008 Silvan Calarco 0.109.2-4mamba - added support for promiscuous mode by adding a initscript - added support to 2.6.25+ kernels (enable realtime for root in promiscuous mode) * Wed Sep 17 2008 Silvan Calarco 0.109.2-3mamba - resynced with version 0.103.0 * Tue Feb 12 2008 Silvan Calarco 0.109.2-2mamba - jackstart.user: wait for alsaplayer processes before starting * Tue Feb 12 2008 Silvan Calarco 0.109.2-2mamba - added patch to libjack that fixes an infinite loop * Sun Feb 10 2008 Silvan Calarco 0.109.2-1mamba - update to 0.109.2 * Wed Nov 14 2007 Silvan Calarco 0.103.0-8mamba - asound.conf: disable by default use of jack slave (problematic on some hardware) * Wed Nov 07 2007 Silvan Calarco 0.103.0-7mamba - added requirement for libalsa-plugins * Wed Nov 07 2007 Silvan Calarco 0.103.0-6mamba - asound.conf: enable default use of jack slave * Thu Oct 25 2007 Silvan Calarco 0.103.0-5mamba - added default asound.conf for ALSA <-> jack plug * Sat Sep 15 2007 Silvan Calarco 0.103.0-4mamba - set server to 44,1khz by default * Sat Jul 21 2007 Silvan Calarco 0.103.0-3mamba - removed enable-capabilities causing excessive CPU load when using audacity with jack via portaudio * Thu May 31 2007 Silvan Calarco 0.103.0-2mamba - added jack-enable and jack-disable desktop menu entries * Sun May 13 2007 Silvan Calarco 0.103.0-1mamba - update to 0.103.0 - jackstart.user: create kde directory and files to disable arts if not existing * Sat Mar 10 2007 Silvan Calarco 0.102.20-6qilnx - removed jackplayer; added requirement for alsaplayer-output-jack * Sat Feb 24 2007 Silvan Calarco 0.102.20-5qilnx - change userdir name to avoid a conflict with register files * Tue Jan 30 2007 Silvan Calarco 0.102.20-4qilnx - rebuilt * Thu Jan 04 2007 Silvan Calarco 0.102.20-3qilnx - jackstart.user: launch jackd with -S switch to enable 16-bit samples * Wed Oct 11 2006 Silvan Calarco 0.102.20-2qilnx - add more options in /etc/sysconfig/sound - re-enable tmp dir on /dev/shm * Mon Oct 09 2006 Silvan Calarco 0.102.20-1qilnx - update to version 0.102.20 by autospec * Fri Oct 06 2006 Silvan Calarco 0.101.1-7qilnx - add default tmp dir and set it to /dev/shm * Wed Oct 04 2006 Silvan Calarco 0.101.1-6qilnx - rebuild disabling mmx, altivec and other platform specific options - jackstart.user: use schedtool to launch oss2jack * Sat Jul 08 2006 Silvan Calarco 0.101.1-5qilnx - added --enable-preemption-check configure option - removed --enable-sse and --enable-mmx configure options * Sun May 21 2006 Silvan Calarco 0.101.1-4qilnx - add build requirement for alsa * Sat May 20 2006 Silvan Calarco 0.101.1-3qilnx - jackstart.user: fixed an error when setting NPERIODS value - sysconfig/sound: set PERIOD=512 and NPERIODS=4 as default - jack-configure: this devices in order * Tue May 16 2006 Silvan Calarco 0.101.1-2qilnx - use a more conservative default NPERIODS value (was 256, use default [1024]) * Tue Apr 11 2006 Silvan Calarco 0.101.1-1qilnx - update to version 0.101.1 by autospec - jack-configure fix: install with execution permission * Thu Mar 09 2006 Silvan Calarco 0.100.9-5qilnx - add more configuration variables in /etc/sysconfig/sound - start arts by default with realtime and network transparency support * Thu Feb 23 2006 Silvan Calarco 0.100.9-4qilnx - fixed permission on script jack-configure * Thu Feb 23 2006 Silvan Calarco 0.100.9-2qilnx - added configuration script jack-configure * Wed Jan 04 2006 Silvan Calarco 0.100.9-1qilnx - update to version 0.100.9 by autospec * Thu Dec 14 2005 Silvan Calarco 0.100.0-7qilnx - jackstart.user: start jack leaving memory unlocked - jackstart.user: add support for timidity - disable oss support * Wed Dec 14 2005 Silvan Calarco 0.100.0-6qilnx - jackstart.user: another syntax fix * Wed Nov 07 2005 Silvan Calarco 0.100.0-5qilnx - jackstart.user: fix a syntax error - jackstart.user: check jackd startup watching /dev/shm/jack-0 * Tue Nov 06 2005 Silvan Calarco 0.100.0-4qilnx - jackstart.user: add support for user arts configuration * Mon Nov 05 2005 Silvan Calarco 0.100.0-3qilnx - apply a fix to jackstart.user because jackd starts asynchronously * Mon Nov 05 2005 Silvan Calarco 0.100.0-2qilnx - added user oriented start and stop script with oss2jack support - mmx and sse support enabled again * Wed Oct 26 2005 Silvan Calarco 0.100.0-1qilnx - update to version 0.100.0 by autospec * Sun Feb 20 2005 Silvan Calarco 0.99.0-2qilnx * Thu Jan 27 2005 Davide Madrisan 0.99.0-2qilnx - added missing build requirement - some fixes in HTML documentation * Wed Oct 13 2004 Silvan Calarco 0.99.0-1qilnx - package created by autospec