|
- # $Id$
- # set to 0 to build rpms without capabilities support
- %define enable_capabilities 1
-
- Summary: the Jack Audio Connection Kit
- Name: jack-audio-connection-kit
- Version: @JACK_VERSION@
- Release: 1
- License: GPL
- Group: System Environment/Daemons
- Source0: %{name}-%{version}.tar.gz
- URL: http://jackit.sourceforge.net
- BuildRoot: /var/tmp/%{name}-%{version}-root-%(id -u -n)
-
- %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 allowing them to share audio between
- themselves. Its clients can run in their own processes (ie. as a
- normal application), or can they can run within a JACK server (ie. a
- "plugin").
-
- JACK is different from other audio server efforts in that it has been
- designed from the ground up to be suitable for professional audio
- work. This means that it focuses on two key areas: synchronous
- execution of all clients, and low latency operation.
-
- %package devel
- Summary: Header files for Jack
- Group: Development/Libraries
- Requires: %{name} = %{version}
-
- %description devel
- Header files for the Jack Audio Connection Kit.
-
- %package example-clients
- Summary: Example clients that use Jack
- Group: Applications/Multimedia
- Requires: %{name} = %{version}
-
- %description example-clients
- Small example clients that use the Jack Audio Connection Kit.
-
- %prep
- %setup -q
-
- %build
- %if "%{enable_capabilities}" == "1"
- %configure --enable-capabilities --enable-stripped-jackd
- %else
- %configure
- %endif
- make
-
- %install
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
- make install DESTDIR=$RPM_BUILD_ROOT
-
- %post -p /sbin/ldconfig
- %postun -p /sbin/ldconfig
-
- %clean
- [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
-
- %files
- %defattr(-,root,root)
- %doc AUTHORS TODO COPYING* doc/reference
- %if "%{enable_capabilities}" == "1"
- %attr(4755, root, root) %{_bindir}/jackstart
- %endif
- %{_bindir}/jackd
- %{_libdir}/libjack.so
- %{_libdir}/libjack.so.*
- %{_libdir}/jack/jack_alsa.so
- %{_libdir}/jack/jack_alsa.so.*
-
- %files devel
- %defattr(-,root,root)
- %{_includedir}/jack
- %{_libdir}/libjack.a
- %{_libdir}/libjack.la
- %{_libdir}/jack/jack_alsa.a
- %{_libdir}/jack/jack_alsa.la
- %{_libdir}/pkgconfig/jack.pc
-
- %files example-clients
- %defattr(-,root,root)
- %{_bindir}/jackrec
- %{_bindir}/jack_cache_killer
- %{_bindir}/jack_connect
- %{_bindir}/jack_disconnect
- %{_bindir}/jack_impulse_grabber
- %{_bindir}/jack_monitor_client
- %{_bindir}/jack_simple_client
-
- %changelog
-
- * Thu May 23 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- - added configuration variable to build with/without capabilities
-
- * Tue May 21 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- - split the examples into a different package so that the base
- package does not depend on, for example, fltk.
- - disable stripping of binaries
-
- * Mon May 13 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
- - do not compress documentation, added doxygen docs directory
- - changed defattr directives
- - added libdir/jack*, libdir/*.a and libdir/*.so.* to files
- - moved all so's to libs, jack will not start without jack_alsa.so
- - merged base and libs packages
-
- * Sat May 4 2002 Christian Fredrik Kalager Schaller <uraeus@linuxrising.org>
- - initial release of jack sound server package for GStreamer
|