]> git.pld-linux.org Git - packages/jack-audio-connection-kit.git/blob - jack-audio-connection-kit.spec
- texlive is the way to go, reverting last change
[packages/jack-audio-connection-kit.git] / jack-audio-connection-kit.spec
1 #
2 # Conditional build:
3 %bcond_without  apidocs         # don't generate documentation with doxygen
4 %bcond_without  cap             # don't use capabilities to get real-time priority (needs suid root binary)
5 %bcond_without  posix_shm       # don't use posix shm
6 %bcond_without  static_libs     # don't build static libs
7 %bcond_without  freebob         # don't build freebob driver
8 #
9 Summary:        The JACK Audio Connection Kit
10 Summary(pl.UTF-8):      JACK - zestaw do połączeń audio
11 Name:           jack-audio-connection-kit
12 Version:        0.118.0
13 Release:        1
14 License:        LGPL v2.1+ (libjack), GPL v2+ (the rest)
15 Group:          Daemons
16 Source0:        http://jackaudio.org/downloads/%{name}-%{version}.tar.gz
17 # Source0-md5:  d58e29a55f285d54e75134cec8e02a10
18 Patch0:         %{name}-gcc4.patch
19 Patch1:         %{name}-readline.patch
20 URL:            http://jackaudio.org/
21 BuildRequires:  alsa-lib-devel >= 0.9.0
22 BuildRequires:  autoconf >= 2.50
23 BuildRequires:  automake
24 %{?with_apidocs:BuildRequires:  doxygen}
25 %{?with_cap:BuildRequires:      libcap-devel}
26 %{?with_freebob:BuildRequires:  libfreebob-devel >= 1.0.0}
27 BuildRequires:  libsndfile-devel >= 1.0.0
28 BuildRequires:  libtool
29 BuildRequires:  pkgconfig
30 BuildRequires:  readline-devel
31 BuildRequires:  rpmbuild(macros) >= 1.98
32 %{?with_apidocs:BuildRequires:  texlive-pdftex}
33 Obsoletes:      jack-audio-connection-kit-driver-alsa
34 Obsoletes:      jack-audio-connection-kit-driver-iec61883
35 Requires:       %{name}-libs = %{version}-%{release}
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
39 JACK is a low-latency audio server, written primarily for the Linux
40 operating system. It can connect a number of different applications to
41 an audio device, as well as allowing them to share audio between
42 themselves. Its clients can run in their own processes (ie. as a
43 normal application), or can they can run within a JACK server (ie. a
44 "plugin").
45
46 JACK is different from other audio server efforts in that it has been
47 designed from the ground up to be suitable for professional audio
48 work. This means that it focuses on two key areas: synchronous
49 execution of all clients, and low latency operation.
50
51 %description -l pl.UTF-8
52 JACK to serwer dźwięku o małych opóźnieniach, napisany głównie dla
53 systemu operacyjnego Linux. Może przyjąć połączenia od wielu różnych
54 aplikacji do urządzenia dźwiękowego, a także pozwolić im na dzielenie
55 dźwięku pomiędzy siebie. Programy klienckie działają jako własne
56 procesy (tzn. normalne aplikacje) lub mogą działać wewnątrz serwera
57 JACK (jako wtyczki).
58
59 JACK różni się od innych serwerów dźwięku tym, że został
60 zaprojektowany od początku z myślą o profesjonalnej obróbce dźwięku.
61 Oznacza to, że skupia się na dwóch rzeczach: synchronicznym
62 wykonywaniu wszystkich klientów i małych opóźnieniach działania.
63
64 %package libs
65 Summary:        JACK library
66 Summary(pl.UTF-8):      Biblioteka JACK-a
67 License:        LGPL
68 Group:          Libraries
69 Conflicts:      jack-audio-connection-kit < 0.100.7
70
71 %description libs
72 Shared JACK library.
73
74 %description libs -l pl.UTF-8
75 Biblioteka współdzielona JACK-a.
76
77 %package devel
78 Summary:        Header files for JACK
79 Summary(pl.UTF-8):      JACK - pliki nagłówkowe
80 License:        LGPL
81 Group:          Development/Libraries
82 Requires:       %{name}-libs = %{version}-%{release}
83
84 %description devel
85 Header files for the JACK Audio Connection Kit.
86
87 %description devel -l pl.UTF-8
88 Pliki nagłówkowe dla zestawu do połączeń audio JACK.
89
90 %package static
91 Summary:        Static JACK library
92 Summary(pl.UTF-8):      Statyczna biblioteka JACK
93 License:        LGPL
94 Group:          Development/Libraries
95 Requires:       %{name}-devel = %{version}-%{release}
96
97 %description static
98 Static JACK library.
99
100 %description static -l pl.UTF-8
101 Statyczna biblioteka JACK.
102
103 %package apidocs
104 Summary:        JACK Audio Connection Kit API documentation
105 Summary(pl.UTF-8):      Dokumentacja API JACK Audio Connection Kit
106 Group:          Documentation
107 Requires:       gtk-doc-common
108
109 %description apidocs
110 JACK Audio Connection Kit API documentation.
111
112 %description apidocs -l pl.UTF-8
113 Dokumentacja API JACK Audio Connection Kit.
114
115 %package driver-freebob
116 Summary:        FreeBoB sound driver for JACK
117 Summary(pl.UTF-8):      Sterownik dźwięku FreeBoB dla JACK-a
118 License:        GPL
119 Group:          Libraries
120 Requires:       %{name} = %{version}-%{release}
121
122 %description driver-freebob
123 FreeBoB (BeBoB platform) sound driver for JACK.
124
125 %description driver-freebob -l pl.UTF-8
126 Sterownik dźwięku FreeBoB (do platformy BeBoB) dla JACK-a.
127
128 %package example-clients
129 Summary:        Example clients that use JACK
130 Summary(pl.UTF-8):      Przykładowe programy kliencie używające JACK-a
131 License:        GPL
132 Group:          Applications/Sound
133 Requires:       %{name} = %{version}-%{release}
134
135 %description example-clients
136 Small example clients that use the JACK Audio Connection Kit.
137
138 %description example-clients -l pl.UTF-8
139 Małe, przykładowe programy klienckie, które używają zestawu do
140 połączeń audio JACK.
141
142 %package example-jackrec
143 Summary:        Example JACK client: jackrec
144 Summary(pl.UTF-8):      Przykładowy klient zestawu JACK: jackrec
145 License:        GPL
146 Group:          Applications/Sound
147 Requires:       %{name} = %{version}-%{release}
148
149 %description example-jackrec
150 Example JACK client: jackrec. It's separated because it uses
151 libsndfile library.
152
153 %description example-jackrec -l pl.UTF-8
154 Przykładowy klient zestawu JACK: jackrec. Jest wydzielony, ponieważ
155 wymaga biblioteki libsndfile.
156
157 %prep
158 %setup -q
159 %patch0 -p1
160 %patch1 -p1
161
162 %build
163 %{__libtoolize}
164 %{__aclocal} -I config
165 %{__autoheader}
166 %{__automake}
167 %{__autoconf}
168
169 %configure \
170         --enable-dynsimd \
171         %{?debug:--enable-debug} \
172         --disable-coreaudio \
173         %{!?with_freebob:--disable-freebob} \
174         --disable-oldtrans \
175         --disable-portaudio \
176         --enable-oss \
177         %{?with_cap:--enable-capabilities %{!?debug:--enable-stripped-jackd}} \
178         --%{?with_posix_shm:en}%{!?with_posix_shm:dis}able-posix-shm \
179         %{?with_static_libs:--enable-static} \
180         --enable-ensure-mlock \
181         --enable-preemption-check \
182         --enable-resize \
183         --enable-timestamps \
184         --with-default-tmpdir=/tmp \
185         --with-html-dir=%{_gtkdocdir}/%{name}
186
187 %{__make}
188
189 %install
190 rm -rf $RPM_BUILD_ROOT
191
192 %{__make} install \
193         DESTDIR=$RPM_BUILD_ROOT \
194         HTML_DIR=%{_gtkdocdir}/%{name}
195
196 %{?!with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
197
198 rm -f $RPM_BUILD_ROOT%{_libdir}/jack/*.{la,a}
199
200 %clean
201 rm -rf $RPM_BUILD_ROOT
202
203 %post   libs -p /sbin/ldconfig
204 %postun libs -p /sbin/ldconfig
205
206 %if %{with posix_shm}
207 %verifyscript libs
208 if ! grep -q -s '^[^ ]* /dev/shm tmpfs ' /proc/mounts ; then
209         echo "/dev/shm is not mounted, but JACK compiled with POSIX_SHM requires it"
210 fi
211 %endif
212
213 %files
214 %defattr(644,root,root,755)
215 # note: COPYING only specifies which parts fall under GPL and LGPL
216 %doc AUTHORS TODO COPYING
217 %{?with_cap:%attr(4755,root,root) %{_bindir}/jackstart}
218 %attr(755,root,root) %{_bindir}/jackd
219 %attr(755,root,root) %{_bindir}/jack_alias
220 %attr(755,root,root) %{_bindir}/jack_evmon
221 %attr(755,root,root) %{_bindir}/jack_load
222 %attr(755,root,root) %{_bindir}/jack_unload
223 %dir %{_libdir}/jack
224 %attr(755,root,root) %{_libdir}/jack/jack_alsa.so
225 %attr(755,root,root) %{_libdir}/jack/jack_dummy.so
226 %attr(755,root,root) %{_libdir}/jack/jack_net.so
227 %attr(755,root,root) %{_libdir}/jack/jack_oss.so
228 %{_mandir}/man1/*
229
230 %files libs
231 %defattr(644,root,root,755)
232 %attr(755,root,root) %{_libdir}/libjack.so.*.*.*
233 %attr(755,root,root) %ghost %{_libdir}/libjack.so.0
234 %attr(755,root,root) %{_libdir}/libjackserver.so.*.*.*
235 %attr(755,root,root) %ghost %{_libdir}/libjackserver.so.0
236
237 %files devel
238 %defattr(644,root,root,755)
239 %attr(755,root,root) %{_libdir}/libjack.so
240 %{_libdir}/libjack.la
241 %{_libdir}/libjackserver.la
242 %{_includedir}/jack
243 %{_pkgconfigdir}/jack.pc
244
245 %if %{with static_libs}
246 %files static
247 %defattr(644,root,root,755)
248 %{_libdir}/libjack.a
249 %{_libdir}/libjackserver.a
250 %endif
251
252 %if %{with apidocs}
253 %files apidocs
254 %defattr(644,root,root,755)
255 %{_gtkdocdir}/%{name}
256 %endif
257
258 %if %{with freebob}
259 %files driver-freebob
260 %defattr(644,root,root,755)
261 %attr(755,root,root) %{_libdir}/jack/jack_freebob.so
262 %endif
263
264 %files example-clients
265 %defattr(644,root,root,755)
266 %attr(755,root,root) %{_bindir}/alsa_in
267 %attr(755,root,root) %{_bindir}/alsa_out
268 %attr(755,root,root) %{_bindir}/jack_bufsize
269 %attr(755,root,root) %{_bindir}/jack_connect
270 %attr(755,root,root) %{_bindir}/jack_disconnect
271 %attr(755,root,root) %{_bindir}/jack_freewheel
272 %attr(755,root,root) %{_bindir}/jack_impulse_grabber
273 %attr(755,root,root) %{_bindir}/jack_lsp
274 %attr(755,root,root) %{_bindir}/jack_metro
275 %attr(755,root,root) %{_bindir}/jack_midiseq
276 %attr(755,root,root) %{_bindir}/jack_midisine
277 %attr(755,root,root) %{_bindir}/jack_monitor_client
278 %attr(755,root,root) %{_bindir}/jack_netsource
279 %attr(755,root,root) %{_bindir}/jack_samplerate
280 %attr(755,root,root) %{_bindir}/jack_showtime
281 %attr(755,root,root) %{_bindir}/jack_simple_client
282 %attr(755,root,root) %{_bindir}/jack_transport
283 %attr(755,root,root) %{_bindir}/jack_transport_client
284 %attr(755,root,root) %{_bindir}/jack_wait
285 %attr(755,root,root) %{_libdir}/jack/inprocess.so
286 %attr(755,root,root) %{_libdir}/jack/intime.so
287
288 %files example-jackrec
289 %defattr(644,root,root,755)
290 %attr(755,root,root) %{_bindir}/jackrec
This page took 0.082065 seconds and 3 git commands to generate.