]> git.pld-linux.org Git - packages/jack-audio-connection-kit.git/blame - jack-audio-connection-kit.spec
- updated to 1.9.14
[packages/jack-audio-connection-kit.git] / jack-audio-connection-kit.spec
CommitLineData
1c656cb4
JB
1#
2# Conditional build:
3fcd3481
JB
3%bcond_without apidocs # Doxygen docs
4%bcond_without ffado # firewire (FFADO) driver
69ca5e61 5%bcond_with classic # build also classic jackd server (see http://trac.jackaudio.org/wiki/JackDbusPackaging)
0157defb 6
778387a3 7Summary: The JACK Audio Connection Kit
0069929a 8Summary(pl.UTF-8): JACK - zestaw do połączeń audio
1c656cb4 9Name: jack-audio-connection-kit
3fcd3481
JB
10Version: 1.9.14
11Release: 1
89464d60 12License: LGPL v2.1+ (libjack), GPL v2+ (the rest)
1c656cb4 13Group: Daemons
3b657199 14#Source0Download: http://jackaudio.org/downloads/
3fcd3481
JB
15#Source0: https://github.com/jackaudio/jack2/releases/download/v%{version}/jack2-%{version}.tar.gz
16Source0: https://github.com/jackaudio/jack2/archive/v%{version}/jack2-%{version}.tar.gz
17# Source0-md5: b63b5cf65fc43ccf9585d274fe91069f
18Patch0: jack-doxygen-fix.patch
57188eed 19URL: http://jackaudio.org/
4ce9074d 20BuildRequires: alsa-lib-devel >= 1.0.18
739996c8 21BuildRequires: autoconf >= 2.50
b7bfb55b 22BuildRequires: automake
e7ac5016 23BuildRequires: celt-devel >= 0.11.0
4ce9074d 24BuildRequires: dbus-devel >= 1.0.0
cdd9c438 25%{?with_apidocs:BuildRequires: doxygen}
4ce9074d
JB
26BuildRequires: expat-devel
27%{?with_ffado:BuildRequires: libffado-devel >= 1.999.17}
020e10fa 28BuildRequires: libsamplerate-devel
1c656cb4 29BuildRequires: libsndfile-devel >= 1.0.0
4ce9074d 30BuildRequires: libstdc++-devel
89464d60 31BuildRequires: libtool
bb41d8ef 32BuildRequires: pkgconfig
37c04f05 33BuildRequires: readline-devel
b0cf22dc 34BuildRequires: rpmbuild(macros) >= 1.98
e7ac5016
JB
35# with opus_custom interface
36BuildRequires: opus-devel >= 1.0.3-2
4bd65e6d 37%{?with_apidocs:BuildRequires: texlive-pdftex}
020e10fa 38Requires: %{name}-libs = %{version}-%{release}
98111ea0 39Requires: alsa-lib >= 1.0.18
90bf4965 40Obsoletes: jack-audio-connection-kit-driver-alsa
8a746c22 41Obsoletes: jack-audio-connection-kit-driver-iec61883
f7e4f27c 42Obsoletes: jack-audio-connection-kit-static
1c656cb4
JB
43BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44
1c656cb4
JB
45%description
46JACK is a low-latency audio server, written primarily for the Linux
47operating system. It can connect a number of different applications to
48an audio device, as well as allowing them to share audio between
49themselves. Its clients can run in their own processes (ie. as a
50normal application), or can they can run within a JACK server (ie. a
51"plugin").
52
53JACK is different from other audio server efforts in that it has been
54designed from the ground up to be suitable for professional audio
55work. This means that it focuses on two key areas: synchronous
56execution of all clients, and low latency operation.
57
d511aa56
JR
58%description -l pl.UTF-8
59JACK to serwer dźwięku o małych opóźnieniach, napisany głównie dla
60systemu operacyjnego Linux. Może przyjąć połączenia od wielu różnych
61aplikacji do urządzenia dźwiękowego, a także pozwolić im na dzielenie
62dźwięku pomiędzy siebie. Programy klienckie działają jako własne
63procesy (tzn. normalne aplikacje) lub mogą działać wewnątrz serwera
1c656cb4
JB
64JACK (jako wtyczki).
65
d511aa56
JR
66JACK różni się od innych serwerów dźwięku tym, że został
67zaprojektowany od początku z myślą o profesjonalnej obróbce dźwięku.
68Oznacza to, że skupia się na dwóch rzeczach: synchronicznym
69wykonywaniu wszystkich klientów i małych opóźnieniach działania.
1c656cb4 70
739996c8
JB
71%package libs
72Summary: JACK library
0069929a 73Summary(pl.UTF-8): Biblioteka JACK-a
e1bd1db0 74License: LGPL v2.1+
739996c8 75Group: Libraries
e7ac5016 76Requires: celt >= 0.11.0
98111ea0 77Requires: dbus-libs >= 1.0.0
e7ac5016 78Requires: opus >= 1.0.3-2
739996c8
JB
79Conflicts: jack-audio-connection-kit < 0.100.7
80
81%description libs
82Shared JACK library.
83
d511aa56
JR
84%description libs -l pl.UTF-8
85Biblioteka współdzielona JACK-a.
739996c8 86
1c656cb4 87%package devel
778387a3 88Summary: Header files for JACK
0069929a 89Summary(pl.UTF-8): JACK - pliki nagłówkowe
e1bd1db0 90License: LGPL v2.1+
1c656cb4 91Group: Development/Libraries
bf28afd4 92Requires: %{name}-libs = %{version}-%{release}
1c656cb4
JB
93
94%description devel
778387a3 95Header files for the JACK Audio Connection Kit.
1c656cb4 96
d511aa56
JR
97%description devel -l pl.UTF-8
98Pliki nagłówkowe dla zestawu do połączeń audio JACK.
1c656cb4 99
cdd9c438
MB
100%package apidocs
101Summary: JACK Audio Connection Kit API documentation
102Summary(pl.UTF-8): Dokumentacja API JACK Audio Connection Kit
103Group: Documentation
104Requires: gtk-doc-common
0157defb
ER
105%if "%{_rpmversion}" >= "5"
106BuildArch: noarch
107%endif
cdd9c438
MB
108
109%description apidocs
110JACK Audio Connection Kit API documentation.
111
112%description apidocs -l pl.UTF-8
113Dokumentacja API JACK Audio Connection Kit.
114
0dcae788
JR
115%package driver-firewire
116Summary: FireWire (FFADO) sound driver for JACK
117Summary(pl.UTF-8): Sterownik dźwięku FireWire (FFADO) dla JACK-a
118License: GPL v2+
119Group: Libraries
120Requires: %{name} = %{version}-%{release}
4ce9074d 121Requires: libffado >= 1.999.17
3fcd3481 122Obsoletes: jack-driver-freebob < 1.9.13
0dcae788
JR
123
124%description driver-firewire
125FireWire (FFADO) sound driver for JACK.
126
127%description driver-firewire -l pl.UTF-8
128Sterownik dźwięku FireWire (FFADO) dla JACK-a.
129
1c656cb4 130%package example-clients
778387a3 131Summary: Example clients that use JACK
4ce9074d 132Summary(pl.UTF-8): Przykładowe programy klienckie używające JACK-a
e1bd1db0 133License: GPL v2+
1c656cb4 134Group: Applications/Sound
bb41d8ef 135Requires: %{name} = %{version}-%{release}
1c656cb4
JB
136
137%description example-clients
778387a3 138Small example clients that use the JACK Audio Connection Kit.
1c656cb4 139
d511aa56
JR
140%description example-clients -l pl.UTF-8
141Małe, przykładowe programy klienckie, które używają zestawu do
142połączeń audio JACK.
1c656cb4
JB
143
144%package example-jackrec
778387a3 145Summary: Example JACK client: jackrec
0069929a 146Summary(pl.UTF-8): Przykładowy klient zestawu JACK: jackrec
e1bd1db0 147License: GPL v2+
1c656cb4 148Group: Applications/Sound
bb41d8ef 149Requires: %{name} = %{version}-%{release}
1c656cb4
JB
150
151%description example-jackrec
778387a3 152Example JACK client: jackrec. It's separated because it uses
1c656cb4
JB
153libsndfile library.
154
d511aa56
JR
155%description example-jackrec -l pl.UTF-8
156Przykładowy klient zestawu JACK: jackrec. Jest wydzielony, ponieważ
1c656cb4
JB
157wymaga biblioteki libsndfile.
158
1c656cb4 159%prep
a312c01c 160%setup -q -n jack2-%{version}
68679a6c 161%patch0 -p1
1c656cb4
JB
162
163%build
69ca5e61
JR
164export CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
165export CXXFLAGS="%{rpmcxxflags} -I/usr/include/ncurses"
166export CPPFLAGS="%{rpmcxxflags} -I/usr/include/ncurses"
167export LINKFLAGS="%{rpmldflags}"
168
75582698 169./waf configure -j1 \
69ca5e61
JR
170 -v \
171 %{?debug:--debug} \
172 --prefix=%{_prefix} \
e7ac5016 173 --libdir=%{_libdir} \
a312c01c 174 --htmldir=%{_gtkdocdir}/%{name}/reference \
e7ac5016 175 --alsa \
69ca5e61 176 %{?with_classic:--classic} \
e7ac5016 177 --dbus \
69ca5e61 178 %{?with_apidocs:--doxygen} \
3fcd3481 179 %{?with_ffado:--firewire}
69ca5e61
JR
180
181./waf build %{?_smp_mflags} -v
1c656cb4
JB
182
183%install
184rm -rf $RPM_BUILD_ROOT
185
69ca5e61
JR
186./waf install \
187 --destdir=$RPM_BUILD_ROOT
cdd9c438 188
7e8e4d6e 189%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
1c656cb4 190
69ca5e61 191# For compatibility with jack1
a312c01c 192%{__mv} $RPM_BUILD_ROOT%{_bindir}/jack_rec $RPM_BUILD_ROOT%{_bindir}/jackrec
60ef980a 193
98111ea0
JB
194# not built or packaged
195%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/jack_impulse_grabber.1 \
196 %{!?with_classic:$RPM_BUILD_ROOT%{_mandir}/man1/jackd.1}
197
e718df3f
MB
198# fix perms (needed for autorequires/provides)
199chmod a+x $RPM_BUILD_ROOT%{_libdir}/lib*.so*
200chmod a+x $RPM_BUILD_ROOT%{_libdir}/jack/*.so
201
1c656cb4
JB
202%clean
203rm -rf $RPM_BUILD_ROOT
204
bf28afd4 205%post libs -p /sbin/ldconfig
206%postun libs -p /sbin/ldconfig
1c656cb4 207
851bfd45
JB
208%verifyscript libs
209if ! grep -q -s '^[^ ]* /dev/shm tmpfs ' /proc/mounts ; then
69ca5e61 210 echo "/dev/shm is not mounted, but JACK requires it"
851bfd45 211fi
851bfd45 212
1c656cb4
JB
213%files
214%defattr(644,root,root,755)
3fcd3481 215%doc AUTHORS.rst ChangeLog.rst README*
dd3d2338 216%attr(755,root,root) %{_bindir}/jack_alias
69ca5e61
JR
217%attr(755,root,root) %{_bindir}/jack_control
218%attr(755,root,root) %{_bindir}/jack_cpu
dd3d2338 219%attr(755,root,root) %{_bindir}/jack_evmon
69ca5e61 220%attr(755,root,root) %{_bindir}/jack_iodelay
ddd36c25 221%attr(755,root,root) %{_bindir}/jack_load
69ca5e61 222%attr(755,root,root) %{_bindir}/jack_midi_dump
98111ea0
JB
223%attr(755,root,root) %{_bindir}/jack_net_master
224%attr(755,root,root) %{_bindir}/jack_net_slave
69ca5e61
JR
225%attr(755,root,root) %{_bindir}/jack_server_control
226%attr(755,root,root) %{_bindir}/jack_session_notify
a312c01c 227%attr(755,root,root) %{_bindir}/jack_simdtests
69ca5e61 228%attr(755,root,root) %{_bindir}/jack_test
ddd36c25 229%attr(755,root,root) %{_bindir}/jack_unload
69ca5e61
JR
230%{?with_classic:%attr(755,root,root) %{_bindir}/jackd}
231%attr(755,root,root) %{_bindir}/jackdbus
1c656cb4 232%dir %{_libdir}/jack
69ca5e61 233%attr(755,root,root) %{_libdir}/jack/audioadapter.so
90bf4965 234%attr(755,root,root) %{_libdir}/jack/jack_alsa.so
98111ea0 235%attr(755,root,root) %{_libdir}/jack/jack_alsarawmidi.so
76df8802 236%attr(755,root,root) %{_libdir}/jack/jack_dummy.so
69ca5e61
JR
237%attr(755,root,root) %{_libdir}/jack/jack_loopback.so
238%attr(755,root,root) %{_libdir}/jack/jack_netone.so
57188eed 239%attr(755,root,root) %{_libdir}/jack/jack_net.so
a312c01c 240%attr(755,root,root) %{_libdir}/jack/jack_proxy.so
69ca5e61
JR
241%attr(755,root,root) %{_libdir}/jack/netadapter.so
242%attr(755,root,root) %{_libdir}/jack/netmanager.so
243%attr(755,root,root) %{_libdir}/jack/profiler.so
244%{_datadir}/dbus-1/services/org.jackaudio.service
245%{?with_classic:%{_mandir}/man1/jackd.1*}
246%{_mandir}/man1/jack_iodelay.1*
247%{_mandir}/man1/jack_load.1*
248%{_mandir}/man1/jack_unload.1*
1c656cb4 249
739996c8
JB
250%files libs
251%defattr(644,root,root,755)
252%attr(755,root,root) %{_libdir}/libjack.so.*.*.*
dd3d2338 253%attr(755,root,root) %ghost %{_libdir}/libjack.so.0
98111ea0
JB
254%attr(755,root,root) %{_libdir}/libjacknet.so.*.*.*
255%attr(755,root,root) %ghost %{_libdir}/libjacknet.so.0
57188eed
ŁK
256%attr(755,root,root) %{_libdir}/libjackserver.so.*.*.*
257%attr(755,root,root) %ghost %{_libdir}/libjackserver.so.0
739996c8 258
1c656cb4
JB
259%files devel
260%defattr(644,root,root,755)
023795b8 261%attr(755,root,root) %{_libdir}/libjack.so
98111ea0 262%attr(755,root,root) %{_libdir}/libjacknet.so
e1bd1db0 263%attr(755,root,root) %{_libdir}/libjackserver.so
023795b8 264%{_includedir}/jack
1c656cb4 265%{_pkgconfigdir}/jack.pc
1c656cb4 266
cdd9c438
MB
267%if %{with apidocs}
268%files apidocs
269%defattr(644,root,root,755)
270%{_gtkdocdir}/%{name}
271%endif
272
4ce9074d 273%if %{with ffado}
0dcae788
JR
274%files driver-firewire
275%defattr(644,root,root,755)
276%attr(755,root,root) %{_libdir}/jack/jack_firewire.so
277%endif
278
1c656cb4
JB
279%files example-clients
280%defattr(644,root,root,755)
57188eed
ŁK
281%attr(755,root,root) %{_bindir}/alsa_in
282%attr(755,root,root) %{_bindir}/alsa_out
74cff43a 283%attr(755,root,root) %{_bindir}/jack_bufsize
1c656cb4 284%attr(755,root,root) %{_bindir}/jack_connect
4ce9074d 285%attr(755,root,root) %{_bindir}/jack_cpu_load
1c656cb4 286%attr(755,root,root) %{_bindir}/jack_disconnect
74cff43a 287%attr(755,root,root) %{_bindir}/jack_freewheel
4ce9074d 288%attr(755,root,root) %{_bindir}/jack_latent_client
0ee66f54 289%attr(755,root,root) %{_bindir}/jack_lsp
290%attr(755,root,root) %{_bindir}/jack_metro
98111ea0 291%attr(755,root,root) %{_bindir}/jack_midi_latency_test
9bf22e57
JB
292%attr(755,root,root) %{_bindir}/jack_midiseq
293%attr(755,root,root) %{_bindir}/jack_midisine
1c656cb4 294%attr(755,root,root) %{_bindir}/jack_monitor_client
69ca5e61 295%attr(755,root,root) %{_bindir}/jack_multiple_metro
57188eed 296%attr(755,root,root) %{_bindir}/jack_netsource
3fcd3481 297%attr(755,root,root) %{_bindir}/jack_property
57188eed 298%attr(755,root,root) %{_bindir}/jack_samplerate
0ee66f54 299%attr(755,root,root) %{_bindir}/jack_showtime
1c656cb4 300%attr(755,root,root) %{_bindir}/jack_simple_client
69ca5e61 301%attr(755,root,root) %{_bindir}/jack_simple_session_client
4ce9074d 302%attr(755,root,root) %{_bindir}/jack_thru
1f638f5d 303%attr(755,root,root) %{_bindir}/jack_transport
57188eed 304%attr(755,root,root) %{_bindir}/jack_wait
4ce9074d 305%attr(755,root,root) %{_bindir}/jack_zombie
023795b8 306%attr(755,root,root) %{_libdir}/jack/inprocess.so
69ca5e61
JR
307%{_mandir}/man1/alsa_in.1*
308%{_mandir}/man1/alsa_out.1*
309%{_mandir}/man1/jack_bufsize.1*
310%{_mandir}/man1/jack_connect.1*
311%{_mandir}/man1/jack_disconnect.1*
312%{_mandir}/man1/jack_freewheel.1*
313%{_mandir}/man1/jack_lsp.1*
314%{_mandir}/man1/jack_metro.1*
315%{_mandir}/man1/jack_monitor_client.1*
316%{_mandir}/man1/jack_netsource.1*
3fcd3481 317%{_mandir}/man1/jack_property.1*
69ca5e61
JR
318%{_mandir}/man1/jack_samplerate.1*
319%{_mandir}/man1/jack_showtime.1*
320%{_mandir}/man1/jack_simple_client.1*
321%{_mandir}/man1/jack_transport.1*
322%{_mandir}/man1/jack_wait.1*
1c656cb4
JB
323
324%files example-jackrec
325%defattr(644,root,root,755)
326%attr(755,root,root) %{_bindir}/jackrec
69ca5e61 327%{_mandir}/man1/jackrec.1*
This page took 0.182834 seconds and 4 git commands to generate.