]> git.pld-linux.org Git - packages/jack-audio-connection-kit.git/blame - jack-audio-connection-kit.spec
- updated to 0.126.0
[packages/jack-audio-connection-kit.git] / jack-audio-connection-kit.spec
CommitLineData
1c656cb4
JB
1#
2# Conditional build:
cdd9c438 3%bcond_without apidocs # don't generate documentation with doxygen
89464d60 4%bcond_without cap # don't use capabilities to get real-time priority (needs suid root binary)
89464d60 5%bcond_without posix_shm # don't use posix shm
80de25ca 6%bcond_without static_libs # don't build static libs
e1b028be 7%bcond_without ffado # don't build firewire (FFADO) driver
010408c1 8%bcond_without freebob # don't build freebob driver
1c656cb4 9#
778387a3 10Summary: The JACK Audio Connection Kit
0069929a 11Summary(pl.UTF-8): JACK - zestaw do połączeń audio
1c656cb4 12Name: jack-audio-connection-kit
9290b699 13Version: 0.126.0
5e55e3af 14Release: 1
89464d60 15License: LGPL v2.1+ (libjack), GPL v2+ (the rest)
1c656cb4 16Group: Daemons
9290b699
JB
17#Source0Download: https://github.com/jackaudio/jack1/releases
18Source0: https://github.com/jackaudio/jack1/releases/download/%{version}/jack1-%{version}.tar.gz
19# Source0-md5: 5913c06644855f472894da53a624e63f
57188eed 20Patch0: %{name}-gcc4.patch
b2776e1f 21Patch2: link.patch
9a1803f8 22Patch3: %{name}-update.patch
c4c52f59 23Patch4: %{name}-man.patch
9290b699 24URL: https://jackaudio.org/
5e55e3af 25BuildRequires: alsa-lib-devel >= 1.0.18
739996c8 26BuildRequires: autoconf >= 2.50
b7bfb55b 27BuildRequires: automake
5e55e3af 28BuildRequires: celt-devel >= 0.5.0
9a1803f8 29BuildRequires: db-devel
cdd9c438 30%{?with_apidocs:BuildRequires: doxygen}
74cff43a 31%{?with_cap:BuildRequires: libcap-devel}
5e55e3af 32%{?with_ffado:BuildRequires: libffado-devel >= 1.999.17}
dd3d2338 33%{?with_freebob:BuildRequires: libfreebob-devel >= 1.0.0}
5e55e3af 34BuildRequires: libsamplerate-devel >= 0.1.2
89464d60 35BuildRequires: libtool
bb41d8ef 36BuildRequires: pkgconfig
b0cf22dc 37BuildRequires: rpmbuild(macros) >= 1.98
4bd65e6d 38%{?with_apidocs:BuildRequires: texlive-pdftex}
020e10fa 39Requires: %{name}-libs = %{version}-%{release}
72de034e 40Requires: alsa-lib >= 1.0.18
9290b699
JB
41Obsoletes: jack-audio-connection-kit-driver-alsa < 0.101.1-2
42Obsoletes: jack-audio-connection-kit-driver-iec61883 < 0.99.0
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
JB
75Group: Libraries
76Conflicts: jack-audio-connection-kit < 0.100.7
77
78%description libs
79Shared JACK library.
80
d511aa56
JR
81%description libs -l pl.UTF-8
82Biblioteka współdzielona JACK-a.
739996c8 83
1c656cb4 84%package devel
778387a3 85Summary: Header files for JACK
0069929a 86Summary(pl.UTF-8): JACK - pliki nagłówkowe
e1bd1db0 87License: LGPL v2.1+
1c656cb4 88Group: Development/Libraries
bf28afd4 89Requires: %{name}-libs = %{version}-%{release}
1c656cb4
JB
90
91%description devel
778387a3 92Header files for the JACK Audio Connection Kit.
1c656cb4 93
d511aa56
JR
94%description devel -l pl.UTF-8
95Pliki nagłówkowe dla zestawu do połączeń audio JACK.
1c656cb4
JB
96
97%package static
778387a3 98Summary: Static JACK library
0069929a 99Summary(pl.UTF-8): Statyczna biblioteka JACK
e1bd1db0 100License: LGPL v2.1+
1c656cb4 101Group: Development/Libraries
bb41d8ef 102Requires: %{name}-devel = %{version}-%{release}
1c656cb4
JB
103
104%description static
778387a3 105Static JACK library.
1c656cb4 106
d511aa56 107%description static -l pl.UTF-8
778387a3 108Statyczna biblioteka JACK.
1c656cb4 109
cdd9c438
MB
110%package apidocs
111Summary: JACK Audio Connection Kit API documentation
112Summary(pl.UTF-8): Dokumentacja API JACK Audio Connection Kit
113Group: Documentation
114Requires: gtk-doc-common
115
116%description apidocs
117JACK Audio Connection Kit API documentation.
118
119%description apidocs -l pl.UTF-8
120Dokumentacja API JACK Audio Connection Kit.
121
5e55e3af
JB
122%package driver-firewire
123Summary: FireWire (FFADO) sound driver for JACK
124Summary(pl.UTF-8): Sterownik dźwięku FireWire (FFADO) dla JACK-a
125License: GPL v2+
126Group: Libraries
127Requires: %{name} = %{version}-%{release}
72de034e 128Requires: libffado >= 1.999.17
5e55e3af
JB
129
130%description driver-firewire
131FireWire (FFADO) sound driver for JACK.
132
133%description driver-firewire -l pl.UTF-8
134Sterownik dźwięku FireWire (FFADO) dla JACK-a.
135
9bf22e57
JB
136%package driver-freebob
137Summary: FreeBoB sound driver for JACK
0069929a 138Summary(pl.UTF-8): Sterownik dźwięku FreeBoB dla JACK-a
e1bd1db0 139License: GPL v2+
9bf22e57
JB
140Group: Libraries
141Requires: %{name} = %{version}-%{release}
72de034e 142Requires: libfreebob >= 1.0.0
9bf22e57
JB
143
144%description driver-freebob
145FreeBoB (BeBoB platform) sound driver for JACK.
146
d511aa56
JR
147%description driver-freebob -l pl.UTF-8
148Sterownik dźwięku FreeBoB (do platformy BeBoB) dla JACK-a.
9bf22e57 149
1c656cb4 150%prep
9290b699 151%setup -q -n jack1-%{version}
68679a6c 152%patch0 -p1
b2776e1f 153%patch2 -p1
9a1803f8 154%patch3 -p1
c4c52f59 155%patch4 -p1
1c656cb4
JB
156
157%build
89464d60 158%{__libtoolize}
159%{__aclocal} -I config
9a1803f8 160%{__autoconf}
89464d60 161%{__autoheader}
162%{__automake}
89464d60 163
1c656cb4 164%configure \
57188eed 165 --enable-dynsimd \
80de25ca 166 %{?debug:--enable-debug} \
167 --disable-coreaudio \
5e55e3af 168 %{!?with_ffado:--disable-ffado} \
010408c1 169 %{!?with_freebob:--disable-freebob} \
89464d60 170 --disable-oldtrans \
80de25ca 171 --disable-portaudio \
89464d60 172 --enable-oss \
74cff43a 173 %{?with_cap:--enable-capabilities %{!?debug:--enable-stripped-jackd}} \
5e55e3af 174 --enable-posix-shm%{!?with_posix_shm:=no} \
77ad9376 175 %{?with_static_libs:--enable-static} \
89464d60 176 --enable-preemption-check \
739996c8 177 --enable-resize \
c4c52f59 178 --disable-silent-rules \
739996c8
JB
179 --enable-timestamps \
180 --with-default-tmpdir=/tmp \
cdd9c438 181 --with-html-dir=%{_gtkdocdir}/%{name}
1c656cb4
JB
182
183%{__make}
184
185%install
186rm -rf $RPM_BUILD_ROOT
187
188%{__make} install \
189 DESTDIR=$RPM_BUILD_ROOT \
cdd9c438
MB
190 HTML_DIR=%{_gtkdocdir}/%{name}
191
7e8e4d6e 192%{!?with_apidocs:rm -rf $RPM_BUILD_ROOT%{_gtkdocdir}}
1c656cb4 193
72de034e 194# loadable modules
9a1803f8
JB
195%{__rm} $RPM_BUILD_ROOT%{_libdir}/jack/*.la
196%if %{with static_libs}
197%{__rm} $RPM_BUILD_ROOT%{_libdir}/jack/*.a
198%endif
9290b699
JB
199
200# tools/clients moved to jack-example-tools.spec
201%{__rm} $RPM_BUILD_ROOT%{_mandir}/man1/alsa_{in,out}.1* \
202 $RPM_BUILD_ROOT%{_mandir}/man1/jack_{bufsize,connect,disconnect,freewheel,impulse_grabber,load_test,lsp,metro,monitor_client,netsource,samplerate,showtime,transport,wait}.1* \
203 $RPM_BUILD_ROOT%{_mandir}/man1/jackrec.1*
60ef980a 204
1c656cb4
JB
205%clean
206rm -rf $RPM_BUILD_ROOT
207
bf28afd4 208%post libs -p /sbin/ldconfig
209%postun libs -p /sbin/ldconfig
1c656cb4 210
851bfd45
JB
211%if %{with posix_shm}
212%verifyscript libs
213if ! grep -q -s '^[^ ]* /dev/shm tmpfs ' /proc/mounts ; then
214 echo "/dev/shm is not mounted, but JACK compiled with POSIX_SHM requires it"
215fi
216%endif
217
1c656cb4
JB
218%files
219%defattr(644,root,root,755)
220# note: COPYING only specifies which parts fall under GPL and LGPL
221%doc AUTHORS TODO COPYING
9a1803f8
JB
222%attr(755,root,root) %{_bindir}/jackd
223%{?with_cap:%attr(4755,root,root) %{_bindir}/jackstart}
1c656cb4 224%dir %{_libdir}/jack
90bf4965 225%attr(755,root,root) %{_libdir}/jack/jack_alsa.so
72de034e 226%attr(755,root,root) %{_libdir}/jack/jack_alsa_midi.so
76df8802 227%attr(755,root,root) %{_libdir}/jack/jack_dummy.so
57188eed 228%attr(755,root,root) %{_libdir}/jack/jack_net.so
bb41d8ef 229%attr(755,root,root) %{_libdir}/jack/jack_oss.so
9a1803f8
JB
230%{_mandir}/man1/jack_iodelay.1*
231%{_mandir}/man1/jack_load.1*
232%{_mandir}/man1/jack_property.1*
233%{_mandir}/man1/jack_unload.1*
e1bd1db0
JB
234%{_mandir}/man1/jackd.1*
235%{_mandir}/man1/jackstart.1*
1c656cb4 236
739996c8
JB
237%files libs
238%defattr(644,root,root,755)
239%attr(755,root,root) %{_libdir}/libjack.so.*.*.*
dd3d2338 240%attr(755,root,root) %ghost %{_libdir}/libjack.so.0
57188eed
ŁK
241%attr(755,root,root) %{_libdir}/libjackserver.so.*.*.*
242%attr(755,root,root) %ghost %{_libdir}/libjackserver.so.0
739996c8 243
1c656cb4
JB
244%files devel
245%defattr(644,root,root,755)
023795b8 246%attr(755,root,root) %{_libdir}/libjack.so
e1bd1db0 247%attr(755,root,root) %{_libdir}/libjackserver.so
1c656cb4 248%{_libdir}/libjack.la
57188eed 249%{_libdir}/libjackserver.la
023795b8 250%{_includedir}/jack
1c656cb4 251%{_pkgconfigdir}/jack.pc
1c656cb4 252
80de25ca 253%if %{with static_libs}
1c656cb4
JB
254%files static
255%defattr(644,root,root,755)
256%{_libdir}/libjack.a
57188eed 257%{_libdir}/libjackserver.a
80de25ca 258%endif
1c656cb4 259
cdd9c438
MB
260%if %{with apidocs}
261%files apidocs
262%defattr(644,root,root,755)
263%{_gtkdocdir}/%{name}
264%endif
265
5e55e3af
JB
266%if %{with ffado}
267%files driver-firewire
268%defattr(644,root,root,755)
269%attr(755,root,root) %{_libdir}/jack/jack_firewire.so
270%endif
271
cf5ed69c 272%if %{with freebob}
9bf22e57
JB
273%files driver-freebob
274%defattr(644,root,root,755)
275%attr(755,root,root) %{_libdir}/jack/jack_freebob.so
cf5ed69c 276%endif
This page took 0.226596 seconds and 4 git commands to generate.