File jack.spec of Package jack
#
# spec file for package jack (Version 0.109.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: jack
BuildRequires: alsa-devel doxygen flac-devel gcc-c++ libfreebob-devel libsndfile-devel pkgconfig readline-devel
%define my_provides /tmp/my-provides
Summary: Jack Audio Connection Kit
Version: 0.109.2
Release: 63
License: GPL v2 or later
Group: System/Sound Daemons
# Source: jack-%{cvs_version}.tar.bz2
Source: jack-audio-connection-kit-no-rsa-%{version}.tar.bz2
Patch: jack-ppc-fix.dif
Patch3: jack-gcc4.diff
Patch4: jack-shmat-check-fix.diff
Url: http://jackaudio.org/
Provides: jack-audio-connection-kit
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
JACK is a low-latency audio server written primarily for the Linux
operating system. It can connect a number of different applications to
an audio device, as well as allow them to share audio between
themselves. Its clients can run in their own processes (as a normal
application), or they can run within a JACK server (as a plug-in).
Authors:
--------
pbd@users.sourceforge.net
%package -n libjack0
License: LGPL v2.1 or later
Summary: Jack Audio Connection Kit Library
Group: System/Libraries
Provides: libjack
Obsoletes: libjack
%description -n libjack0
This package contains the library to access JACK (Jack Audio Connection
Kit).
Authors:
--------
pbd@users.sourceforge.net
%package -n libjack-devel
License: LGPL v2.1 or later
Summary: Development package for jack
Group: Development/Libraries/C and C++
Requires: libjack = %{version}, pkgconfig
Provides: jack-audio-connection-kit-devel
Provides: jack-devel
Obsoletes: jack-devel
%description -n libjack-devel
This package contains the files needed to compile programs that
communicates jack clients/servers.
Authors:
--------
pbd@sourceforge.net
%package freebob
License: GPL v2 or later
Summary: FreeBoB backend for JACK
Group: System/Sound Daemons
Requires: jack = %{version}
%description freebob
This package contains a FreeBoB backend driver for JACK (Jack Audio
Connection Kit), which supports devices known as FireWire or i-Link.
Authors:
--------
Pieter Palmers <pieterpalmers@users.sourceforge.net>
%prep
%setup -q -n jack-audio-connection-kit-%{version}
%patch
%patch3
%patch4
%build
%define warn_flags -W -Wall -Wstrict-prototypes -Wpointer-arith -Wno-unused-parameter
# autoreconf -fi
libtoolize -f
aclocal -I config
automake -a -c -f
autoconf
CFLAGS="$RPM_OPT_FLAGS %{warn_flags}"
export CFLAGS
%configure \
--disable-static \
--disable-optimize \
--enable-timestamps \
--disable-ensure-mlock \
--enable-resize \
--enable-timestamps \
--with-html-dir=%{_docdir}/%{name} \
--with-default-tmpdir=/dev/shm
make %{?jobs:-j %jobs}
%install
make DESTDIR="$RPM_BUILD_ROOT" install
mkdir -p $RPM_BUILD_ROOT%{_docdir}/%{name}
cp AUTHORS COPYING.* README* TODO $RPM_BUILD_ROOT%{_docdir}/%{name}
# exclude plugins from the provide-list
cat << EOF > %{my_provides}
grep -v $RPM_BUILD_ROOT%{_libdir}/jack | %{__find_provides}
EOF
chmod 755 %{my_provides}
%define __find_provides %{my_provides}
%post -n libjack0 -p /sbin/ldconfig
%postun -n libjack0 -p /sbin/ldconfig
%clean
test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" && rm -rf $RPM_BUILD_ROOT
rm -f %{my_provides}
%files
%defattr(-, root, root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/AUTHORS
%doc %{_docdir}/%{name}/COPYING.GPL
%doc %{_docdir}/%{name}/README*
%doc %{_docdir}/%{name}/TODO
%doc %{_mandir}/man1/*
%{_bindir}/*
%dir %{_libdir}/jack
%{_libdir}/jack/inprocess.so
%{_libdir}/jack/intime.so
%{_libdir}/jack/jack_alsa.so
%{_libdir}/jack/jack_dummy.so
%{_libdir}/jack/jack_oss.so
%files -n libjack0
%defattr(-, root, root)
%{_libdir}/lib*.so.*
%files -n libjack-devel
%defattr(-, root, root)
%doc %dir %{_docdir}/%{name}
%doc %{_docdir}/%{name}/reference
%doc %{_docdir}/%{name}/COPYING.LGPL
%{_libdir}/lib*.so
%{_libdir}/lib*.la
%{_libdir}/jack/*.*a
%{_libdir}/pkgconfig/*
%{_includedir}/jack
%files freebob
%defattr(-, root, root)
%{_libdir}/jack/jack_freebob.so
%changelog
* Mon Oct 13 2008 tiwai@suse.de
- Fix the compile warnings regarding the check of shmat() return
value (bnc#434725)
* Tue Apr 29 2008 tiwai@suse.de
- add --disable-static explicitly to fix build with new autoconf
* Thu Apr 10 2008 ro@suse.de
- added baselibs.conf file to build xxbit packages
for multilib support
* Thu Jan 31 2008 tiwai@suse.de
- deprecate run_ldconfig
- updated to version 0.109.2:
* fix use of popen() to work on systems that reset PATH
* USX2Y driver updates
* revert name of ALSA audio backend to "alsa_pcm"
* add disgusting kludge so that "ALSA:...." port names continue
to work
* Mon Jan 28 2008 tiwai@suse.de
- rename packages to follow the shlib packaging policy (to avoid
conflict with packman).
* Tue Jan 15 2008 tiwai@suse.de
- updated to version 0.109.9:
* API changes:
* add jack_thread_wait API
* remove port_(un)lock functions
* add new time APIs
* add port aliases
* add new client registration callback
* add port connect callback
* ALSA: fix for use of snd_pcm_link
* ALSA: hardware jack-midi support
* ALSA: fix for enabling big-endian 16bit format discovery
* FreeBoB: fix deallocation segfault
* FireWire: add 'firewire' backend for use with FFADO
* OSS: add support for proper triggering in OSS driver when in
full duplex mode
* ALSA: fix illegal use of ALSA API
* OSS: disable software mixing and samplerate conversions on
OSS 4.x
* CoreAudio: fix sample rate management
* add JACK_PROMISCUOUS_SERVER handling
* make /dev/shm the default tmpdir
* add -Z flag to cancel zombification on timeout
* add per-port update total latency
* increment default watchdog timeout to 10sec
- remove obsolete README.SuSE
* Wed Oct 31 2007 tiwai@suse.de
- don't build with POSIX SHM (#337972)
* Mon Apr 16 2007 tiwai@suse.de
- remove md5_loc.h with RSA license which is incopmatile with
GPL (#264837)
* Tue Apr 10 2007 tiwai@suse.de
- fix post and postun for libjack.
* Tue Apr 03 2007 tiwai@suse.de
- split to libjack and jack-freebob sub packages to reduce
library dependencies.
* Tue Mar 27 2007 tiwai@suse.de
- added freebob support.
* Mon Mar 26 2007 tiwai@suse.de
- updated to version 0.103.0:
* Fixed broken --disable-freebob config option.
* Jack now reads the global config file.
* Fix for jack_midiseq.
* For for HPET code to use 32-bit reads on all platforms,
for atomicity reasons.
* Directly accessing Jack port internal structure is forbidden.
* Minor fixes for midi support.
* Fix for freebob driver crash.
* Fix for alsa usb interleave_skip handling.
* Fix for memory leak in ringbuffer.
* Fix for shutdown segfault fix.
* Tue Jan 09 2007 tiwai@suse.de
- use /dev/shm as the default tmp dir (#231072)
* Thu Oct 12 2006 tiwai@suse.de
- updated to version 0.102.20:
* Make "alsa" the default backend when both it and "freebob" are
present.
* JACK MIDI patch -- Experimental!
* allow use of h/w devices that only support big-endian formats.
* jack_lsp now has a -L flag to show "total latency" values
* ALSA driver no longer requires access to a control device
* jack_lsp -t shows port type
* jackd will exit if -R is used but realtime is unavailable
* halve JACK_THREAD_STACK_TOUCH to 500000
* increase default --port-max option from 128 to 256
* Many bug fixes
- fix compilation of usx2y.c
* Wed Sep 20 2006 tiwai@suse.de
- updated to version 0.101.1:
* Freebob backend support
* Mactel platform fixes
* Unplug support of USB soundcard
* dynsmid option
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Mon Dec 12 2005 tiwai@suse.de
- disable the arch optimization (#138070).
* Sun Nov 13 2005 schwab@suse.de
- Fix use of atomic builtins.
* Wed Oct 12 2005 tiwai@suse.de
- removed glib* from neededfobuild.
* Wed Oct 05 2005 tiwai@suse.de
- added flac and flac-devel to neededforbuild (required by the new
libsndfile).
* Tue Oct 04 2005 tiwai@suse.de
- updated to version 0.100.0.
* Thu Mar 31 2005 coolo@suse.de
- avoid ancient compiler options no longer supported by gcc4
* Thu Jan 27 2005 tiwai@suse.de
- Fix README.SuSE, removed README.SuSE_de (bug #50106)
* Tue Nov 09 2004 tiwai@suse.de
- updated to version 0.99.0.
- moved manpage to the main package (bug #47723).
* Thu Sep 23 2004 tiwai@suse.de
- fixed segfault by signal.
- fixed segfault when no shm access is available.
- use different socket files for each pid (bug #45816).
* Thu Aug 12 2004 ro@suse.de
- added libpng to neededforbuild (for doxygen)
* Fri Aug 06 2004 adrian@suse.de
- revert linking of libjack against libreadline and libncurses.
it was introduced due to a broken configure check and is only
needed for one example binary
* Thu Aug 05 2004 tiwai@suse.de
- updated to 0.98.1 with NPTL fixes.
- regenerated the last ppc patch for the newer version.
* Sun Mar 07 2004 meissner@suse.de
- Do not use the strange exception handler construct on ppc/linux,
it does not work on Linux and breaks ppc64.
* Mon Feb 16 2004 tiwai@suse.de
- build as non-root.
* Wed Jan 14 2004 tiwai@suse.de
- updated to version 0.94.0.
* Tue Nov 18 2003 tiwai@suse.de
- updated to version 0.90.0.
* Thu Aug 28 2003 tiwai@suse.de
- better fix (define explicitly the value) for the last one.
- fixed the remaining bug of half-duplex mode.
- fixed the build on s390.
* Thu Aug 28 2003 tiwai@suse.de
- fixed the definition of UINT32_MAX for C++.
* Wed Aug 27 2003 tiwai@suse.de
- use C99 style ints.
- fixed the transport bug.
- fixed the bug of alsa driver in half-duplex mode.
* Mon Aug 25 2003 tiwai@suse.de
- updated to 0.79.0.
patches have been integrated.
* Fri Aug 15 2003 tiwai@suse.de
- fixed the occasional crash with ALSA plug layer.
- support asymmetric pcm streams.
* Mon Aug 11 2003 tiwai@suse.de
- updated to version 0.75.0.
* Tue Jul 22 2003 tiwai@suse.de
- updated to version 0.74.1.
* Wed Jul 02 2003 tiwai@suse.de
- updated to version 0.72.4.
* Thu Jun 12 2003 kukuk@suse.de
- Add docdir to filelist
* Wed May 28 2003 ro@suse.de
- add man-pages and .la files to devel filelist
* Tue Apr 01 2003 tiwai@suse.de
- updated to ver.0.66.3.
* Tue Mar 11 2003 tiwai@suse.de
- added README.SuSE and README.SuSE_de to explain the real-time
mode of jack.
* Thu Feb 13 2003 pthomas@suse.de
- Compile with all usefull warn options.
- Fix all places where the compiler warns, including
disabling ununsed static functions by '#if 0'.
* Mon Feb 10 2003 tiwai@suse.de
- updated to version 0.50.0.
all patches have been integrated to the mainstream.
* Fri Jan 17 2003 tiwai@suse.de
- updated to ver.0.44.0.
- added *.la file to the devel package.
- removed double document files.
- removed plugins from provides.
* Tue Jan 14 2003 nadvornik@suse.cz
- fixed multi-line string literals
* Thu Nov 28 2002 aj@suse.de
- Add gcc-c++ to needforbuild since the package needs a C++ preprocessor.
* Tue Nov 26 2002 tiwai@suse.de
- updated ver.0.40.1.
libsndfile patch was removed.
- added %%run_ldconfig.
* Wed Aug 07 2002 tiwai@suse.de
- jack ver.0.37.2. including minor bug fixes for alsa.
* Wed Jun 26 2002 tiwai@suse.de
- fixed an example client for the new libsndfile.
* Tue Jun 25 2002 tiwai@suse.de
- updated to version 0.34.0. (cvs 2002.06.25)
- added doxygen to neededtobuild to generate references.
* Tue Apr 16 2002 tiwai@suse.de
- updated to version 0.26.1.
- fixed build on non-intel architectures again.
* Thu Apr 11 2002 tiwai@suse.de
- fixed build on non-intel architectures.
- fixed compile warnings with gcc3.1.
* Wed Apr 10 2002 tiwai@suse.de
- initial version: cvs at 2002.04.10.