fix up port connection notification design; extend evmon client to test it
[jack.git] / jack.spec.in
blobb173b9b3fefb0d20a1a886697645c2a9416beed2
1 # $Id$
2 # set to 0 to build rpms without capabilities support
3 %define enable_capabilities 0
4 # strip binaries
5 %define strip_jackd 1
6 # set to 1 to enable alternate jack temporary
7 # directory mounted as tmpfs
8 %define enable_tmpdir 1
9 %if %{enable_tmpdir}
10 %define jack_tmpdir /dev/shm
11 %endif
12 # use oss
13 %define oss 1
14 # use portaudio
15 %define portaudio 0
16 # use freebob
17 %define freebob 1
18 # use preemption check
19 %define preemption_check 0
22 Summary: The Jack Audio Connection Kit
23 Name: @PACKAGE@
24 Version: @VERSION@
25 Release: 4
26 License: GPL
27 Group: System Environment/Daemons
28 Source0: %{name}-%{version}.tar.gz
29 URL: http://jackaudio.org
30 BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(id -u -n)
32 BuildRequires: automake >= 1.6 libsndfile-devel >= 1.0.0
33 BuildRequires: pkgconfig
34 BuildRequires: doxygen
36 %if %{portaudio}
37 BuildRequires: portaudio >= 18.1
38 %endif
39 %if %{freebob}
40 BuildRequires: libfreebob >= 1.0.0
41 %endif
44 %description
45 JACK is a low-latency audio server, written primarily for the Linux
46 operating system. It can connect a number of different applications to
47 an audio device, as well as allowing them to share audio between
48 themselves. Its clients can run in their own processes (ie. as a
49 normal application), or can they can run within a JACK server (ie. a
50 "plugin").
52 JACK is different from other audio server efforts in that it has been
53 designed from the ground up to be suitable for professional audio
54 work. This means that it focuses on two key areas: synchronous
55 execution of all clients, and low latency operation.
57 %package devel
58 Summary: Header files for Jack
59 Group: Development/Libraries
60 Requires: %{name} = %{version}
62 %description devel
63 Header files for the Jack Audio Connection Kit.
65 %package example-clients
66 Summary: Example clients that use Jack
67 Group: Applications/Multimedia
68 Requires: %{name} = %{version}
70 %description example-clients
71 Small example clients that use the Jack Audio Connection Kit.
73 %prep
75 %setup -q
77 %build
78 %configure \
79 %if %{enable_capabilities}
80 --enable-capabilities \
81 %if %{strip_jackd}
82 --enable-stripped-jackd \
83 %endif
84 %endif
85 %if %{enable_tmpdir}
86 --with-default-tmpdir=%{jack_tmpdir} \
87 %endif
88 %if ! %{oss}
89 --disable-oss \
90 %endif
91 %if ! %{portaudio}
92 --disable-portaudio \
93 %endif
94 %if ! %{freebob}
95 --disable-freebob \
96 %endif
97 %if %{preemption_check}
98 --enable-preemption-check \
99 %endif
100 --enable-optimize
101 make
104 %install
105 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
106 make install DESTDIR=$RPM_BUILD_ROOT
108 %if %{enable_capabilities}
109 # make jackstart suid root
110 chmod 04755 $RPM_BUILD_ROOT%{_bindir}/jackstart
111 %endif
113 # remove extra install of the documentation
114 rm -rf $RPM_BUILD_ROOT%{_datadir}/%{name}/*
116 %post
117 /sbin/ldconfig
119 %postun
120 /sbin/ldconfig
122 %clean
123 [ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
125 %files
126 %defattr(-,root,root)
127 %doc AUTHORS TODO COPYING*
128 %if %{enable_capabilities}
129 %attr(4755, root, root) %{_bindir}/jackstart
130 %endif
131 %{_bindir}/jackd
132 %{_bindir}/jack_load
133 %{_bindir}/jack_unload
134 %{_bindir}/jack_bufsize
135 %{_bindir}/jack_freewheel
136 %{_bindir}/jack_transport
137 %{_libdir}/libjack.so
138 %{_libdir}/libjack.so.0
139 %{_libdir}/libjack.so.0.0.*
140 %{_libdir}/jack/inprocess.so
141 %{_libdir}/jack/intime.so
142 %{_libdir}/jack/jack_*.so
143 %{_mandir}/man1/*
145 %files devel
146 %defattr(-,root,root)
147 %doc doc/reference
148 %{_libdir}/libjack.la
149 %{_libdir}/jack/inprocess.la
150 %{_libdir}/jack/intime.la
151 %{_libdir}/jack/jack_*.la
152 %{_includedir}/jack/jack.h
153 %{_includedir}/jack/ringbuffer.h
154 %{_includedir}/jack/timestamps.h
155 %{_includedir}/jack/transport.h
156 %{_includedir}/jack/types.h
157 %{_includedir}/jack/thread.h
158 %{_includedir}/jack/intclient.h
159 %{_includedir}/jack/statistics.h
160 %{_includedir}/jack/midiport.h
161 %{_libdir}/pkgconfig/jack.pc
163 %files example-clients
164 %defattr(-,root,root)
165 %{_bindir}/jackrec
166 %{_bindir}/jack_connect
167 %{_bindir}/jack_disconnect
168 %{_bindir}/jack_impulse_grabber
169 %{_bindir}/jack_lsp
170 %{_bindir}/jack_metro
171 %{_bindir}/jack_monitor_client
172 %{_bindir}/jack_showtime
173 %{_bindir}/jack_simple_client
174 %{_bindir}/jack_midiseq
175 %{_bindir}/jack_midisine
178 %changelog
180 * Sun Jun 18 2006 Rui Nuno Capela <rncbc@rncbc.org> - 0.102.15-4
181 - enable freebob backend drivers whenever available
183 * Sun May 7 2006 Rui Nuno Capela <rncbc@rncbc.org> - 0.102.1-3
184 - new JACK MIDI files on devel and example-clients
185 - set default tmpdir to /dev/shm
187 * Thu Oct 30 2005 Rui Nuno Capela <rncbc@rncbc.org> - 0.100.7-2
188 - omitted enable-capabilities, stripped-binaries and preemption
189 check from default.
191 * Thu Jan 3 2005 Rui Nuno Capela <rncbc@rncbc.org> - 0.99.44-1
192 - add jack/statistics.h to devel package
194 * Thu Dec 28 2004 Rui Nuno Capela <rncbc@rncbc.org> - 0.99.41-1
195 - merge integration of usx2y (rawusb) driver into alsa backend
196 - enable preemption check feature of 2.6 RT kernels
197 - add jack/intclient.h to devel package
198 - add jack/thread.h to devel package
199 - moved doc/reference to devel package
200 - set default tmpdir to /var/lib/jack/tmp
201 - include oss backend driver if available
203 * Sat May 22 2004 Pete Bessman <ninjadroid@gazuga.net> - 0.98.1-1
204 - changes to accomodate jack_oss and RPM's fascist build policy
206 * Mon Nov 13 2003 Lawrie Abbott <lawrieabbott@iinet.net.au>
207 - update based on Planet CCRMA 0.80.0 release
209 * Thu May 23 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
210 - added configuration variable to build with/without capabilities
212 * Tue May 21 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
213 - split the examples into a different package so that the base
214 package does not depend on, for example, fltk.
215 - disable stripping of binaries
217 * Mon May 13 2002 Fernando Lopez-Lezcano <nando@ccrma.stanford.edu>
218 - do not compress documentation, added doxygen docs directory
219 - changed defattr directives
220 - added libdir/jack*, libdir/*.a and libdir/*.so.* to files
221 - moved all so's to libs, jack will not start without jack_alsa.so
222 - merged base and libs packages
224 * Sat May 4 2002 Christian Fredrik Kalager Schaller <uraeus@linuxrising.org>
225 - initial release of jack sound server package for GStreamer