]>
Commit | Line | Data |
---|---|---|
234c024c | 1 | # TODO: evl support (BR: libevl-devel, https://evlproject.org/) |
2ceddacd | 2 | # - libcamera integration (no releases yet; ARM specific?) |
911dd57a JB |
3 | # |
4 | # Conditional build: | |
5 | %bcond_without apidocs # Doxygen based API documentation | |
96dfc521 | 6 | %bcond_without ffmpeg # ffmpeg spa plugin integration |
911dd57a | 7 | %bcond_without gstreamer # GStreamer module |
96dfc521 | 8 | %bcond_without jack # pipewire-jack and jack spa plugin integration |
24dc871a | 9 | %bcond_without lv2 # LV2 plugins support |
911dd57a JB |
10 | # |
11 | Summary: PipeWire - server and user space API to deal with multimedia pipelines | |
12 | Summary(pl.UTF-8): PipeWire - serwer i API przestrzeni użytkownika do obsługi potoków multimedialnych | |
13 | Name: pipewire | |
e2a92626 | 14 | Version: 0.3.42 |
911dd57a | 15 | Release: 1 |
844634b6 | 16 | License: MIT, LGPL v2+, GPL v2 |
911dd57a JB |
17 | Group: Libraries |
18 | #Source0Download: https://github.com/PipeWire/pipewire/releases | |
19 | Source0: https://github.com/PipeWire/pipewire/archive/%{version}/%{name}-%{version}.tar.gz | |
e2a92626 | 20 | # Source0-md5: 4bf2cdfe19e65dea03906b86f3707db4 |
96dfc521 | 21 | Patch0: %{name}-gcc.patch |
911dd57a | 22 | URL: https://pipewire.org/ |
96dfc521 JB |
23 | %if %{with jack} |
24 | BuildRequires: SDL2-devel >= 2 | |
25 | %endif | |
2ceddacd | 26 | BuildRequires: Vulkan-Loader-devel >= 1.1.69 |
234c024c | 27 | BuildRequires: alsa-lib-devel >= 1.1.7 |
844634b6 | 28 | BuildRequires: avahi-devel |
96dfc521 | 29 | BuildRequires: bluez-libs-devel >= 4.101 |
911dd57a | 30 | BuildRequires: dbus-devel |
df9d2f1f | 31 | # rst2man |
844634b6 | 32 | BuildRequires: docutils |
911dd57a | 33 | %{?with_apidocs:BuildRequires: doxygen} |
2a4039e3 | 34 | BuildRequires: fdk-aac-devel |
911dd57a | 35 | # libavcodec libavformat libavfilter |
96dfc521 | 36 | %{?with_ffmpeg:BuildRequires: ffmpeg-devel} |
911dd57a | 37 | BuildRequires: gcc >= 5:3.2 |
2616e053 | 38 | BuildRequires: gettext-tools |
2a4039e3 | 39 | %if %{with gstreamer} |
96dfc521 JB |
40 | BuildRequires: glib2-devel >= 1:2.32.0 |
41 | %endif | |
911dd57a JB |
42 | %{?with_apidocs:BuildRequires: graphviz} |
43 | %if %{with gstreamer} | |
234c024c JB |
44 | BuildRequires: gstreamer-devel >= 1.10 |
45 | BuildRequires: gstreamer-plugins-base-devel >= 1.10 | |
911dd57a | 46 | %endif |
df9d2f1f | 47 | %{?with_jack:BuildRequires: jack-audio-connection-kit-devel >= 1.9.17} |
fda3acfb | 48 | BuildRequires: ldacBT-devel |
93286131 | 49 | %ifarch i386 i486 %{armv4} %{armv5} %{armv6} |
2a4039e3 JB |
50 | # possibly more 32-bit archs (where 8-byte __atomic_store_n require libatomic) |
51 | BuildRequires: libatomic-devel | |
52 | %endif | |
844634b6 | 53 | BuildRequires: libcap-devel |
df9d2f1f JB |
54 | # for libcamera |
55 | #BuildRequires: libdrm-devel >= 2.4.98 | |
844634b6 | 56 | BuildRequires: libfreeaptx-devel |
96dfc521 | 57 | BuildRequires: libsndfile-devel >= 1.0.20 |
df9d2f1f | 58 | BuildRequires: libusb-devel >= 1.0 |
24dc871a | 59 | %{?with_lv2:BuildRequires: lilv-devel} |
844634b6 | 60 | BuildRequires: meson >= 0.54.0 |
2a4039e3 | 61 | BuildRequires: ncurses-devel |
911dd57a | 62 | BuildRequires: ninja >= 1.5 |
24dc871a | 63 | BuildRequires: openssl-devel |
911dd57a | 64 | BuildRequires: pkgconfig |
844634b6 | 65 | BuildRequires: pulseaudio-devel |
73bdbf2c | 66 | BuildRequires: readline-devel >= 8.1.1-2 |
165a797d | 67 | BuildRequires: rpm-build >= 4.6 |
93286131 | 68 | BuildRequires: rpmbuild(macros) >= 2.007 |
911dd57a JB |
69 | BuildRequires: sbc-devel |
70 | BuildRequires: systemd-devel | |
71 | BuildRequires: udev-devel | |
844634b6 | 72 | BuildRequires: webrtc-audio-processing-devel >= 0.2 |
df9d2f1f | 73 | BuildRequires: webrtc-audio-processing-devel < 1.0 |
911dd57a | 74 | Requires: %{name}-libs = %{version}-%{release} |
234c024c | 75 | Requires: libsndfile >= 1.0.20 |
0b72a5c1 | 76 | Requires: pipewire-session-manager |
a13d5e2f | 77 | Suggests: rtkit |
911dd57a JB |
78 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
79 | ||
80 | %description | |
81 | PipeWire is a server and user space API to deal with multimedia | |
82 | pipelines. This includes: | |
83 | - Making available sources of video (such as from a capture devices | |
84 | or application provided streams) and multiplexing this with | |
85 | clients. | |
86 | - Accessing sources of video for consumption. | |
87 | - Generating graphs for audio and video processing. | |
88 | ||
89 | Nodes in the graph can be implemented as separate processes, | |
90 | communicating with sockets and exchanging multimedia content using fd | |
91 | passing. | |
92 | ||
93 | %description -l pl.UTF-8 | |
94 | PipeWire to serwer i API przestrzeni użytkownika do obsługi potoków | |
95 | multimedialnych. Obejmuje to: | |
96 | - udostępnianie źródeł obrazu (np. z urządzeń przechwytujących obraz | |
97 | lub strumieni udostępnianych przez aplikacje) oraz multipleksowanie | |
98 | ich do klientów | |
99 | - dostęp do źródeł obrazu do pobierania | |
100 | - generowanie grafów do przetwarzania dźwięku i obrazu | |
101 | ||
102 | %package libs | |
103 | Summary: PipeWire shared library | |
104 | Summary(pl.UTF-8): Biblioteka współdzielona PipeWire | |
105 | Group: Libraries | |
106 | ||
107 | %description libs | |
108 | PipeWire shared library. | |
109 | ||
110 | %description libs -l pl.UTF-8 | |
111 | Biblioteka współdzielona PipeWire. | |
112 | ||
113 | %package devel | |
114 | Summary: Header files for PipeWire library and Simple Plugin API | |
115 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki PipeWire oraz Simple Plugin API | |
116 | Group: Development/Libraries | |
117 | Requires: %{name}-libs = %{version}-%{release} | |
118 | ||
119 | %description devel | |
120 | Header files for PipeWire library and Simple Plugin API. | |
121 | ||
122 | %description devel -l pl.UTF-8 | |
123 | Pliki nagłówkowe biblioteki PipeWire oraz Simple Plugin API. | |
124 | ||
125 | %package apidocs | |
126 | Summary: API documentation for PipeWire library | |
127 | Summary(pl.UTF-8): Dokumentacja API biblioteki PipeWire | |
128 | Group: Documentation | |
7fcbfe19 | 129 | BuildArch: noarch |
911dd57a JB |
130 | |
131 | %description apidocs | |
132 | API documentation for PipeWire library. | |
133 | ||
134 | %description apidocs -l pl.UTF-8 | |
135 | Dokumentacja API biblioteki PipeWire. | |
136 | ||
137 | %package spa-module-alsa | |
138 | Summary: PipeWire SPA plugin to play and record audio with ALSA API | |
139 | Summary(pl.UTF-8): Wtyczka PipeWire SPA do odtwarzania i nagrywania dźwięku przy użyciu API ALSA | |
140 | Group: Libraries | |
141 | Requires: %{name}-libs = %{version}-%{release} | |
234c024c | 142 | Requires: alsa-lib >= 1.1.7 |
911dd57a JB |
143 | |
144 | %description spa-module-alsa | |
145 | PipeWire SPA plugin to play and record audio with ALSA API. | |
146 | ||
147 | %description spa-module-alsa -l pl.UTF-8 | |
148 | Wtyczka PipeWire SPA do odtwarzania i nagrywania dźwięku przy użyciu | |
149 | API ALSA. | |
150 | ||
151 | %package spa-module-bluez | |
152 | Summary: PipeWire SPA plugin to play audio with Bluetooth A2DP | |
153 | Summary(pl.UTF-8): Wtyczka PipeWire SPA do odtwarzania dźwięku przez Bluetooth A2DP | |
154 | Group: Libraries | |
155 | Requires: %{name}-libs = %{version}-%{release} | |
96dfc521 | 156 | Requires: bluez-libs >= 4.101 |
911dd57a JB |
157 | |
158 | %description spa-module-bluez | |
159 | PipeWire SPA plugin to play audio with Bluetooth A2DP. | |
160 | ||
161 | %description spa-module-bluez -l pl.UTF-8 | |
162 | Wtyczka PipeWire SPA do odtwarzania dźwięku przez Bluetooth A2DP. | |
163 | ||
164 | %package spa-module-ffmpeg | |
165 | Summary: PipeWire SPA plugin to decode/encode with FFmpeg library | |
166 | Summary(pl.UTF-8): Wtyczka PipeWire SPA do kodowania/dekodowania przy użyciu biblioteki FFmpeg | |
167 | Group: Libraries | |
168 | Requires: %{name}-libs = %{version}-%{release} | |
169 | ||
170 | %description spa-module-ffmpeg | |
171 | PipeWire SPA plugin to decode/encode with FFmpeg library. | |
172 | ||
173 | %description spa-module-ffmpeg -l pl.UTF-8 | |
174 | Wtyczka PipeWire SPA do kodowania/dekodowania przy użyciu biblioteki | |
175 | FFmpeg. | |
176 | ||
96dfc521 JB |
177 | %package spa-module-jack |
178 | Summary: PipeWire SPA plugin to play and record audio with JACK API | |
179 | Summary(pl.UTF-8): Wtyczka PipeWire SPA do odtwarzania i nagrywania dźwięku przy użyciu API JACK | |
180 | Group: Libraries | |
181 | Requires: %{name}-libs = %{version}-%{release} | |
df9d2f1f | 182 | Requires: jack-audio-connection-kit >= 1.9.17 |
96dfc521 JB |
183 | |
184 | %description spa-module-jack | |
185 | PipeWire SPA plugin to play and record audio with JACK API. | |
186 | ||
187 | %description spa-module-jack -l pl.UTF-8 | |
188 | Wtyczka PipeWire SPA do odtwarzania i nagrywania dźwięku przy użyciu | |
189 | API JACK. | |
190 | ||
191 | %package spa-module-vulkan | |
192 | Summary: PipeWire SPA plugin to generate video frames using Vulkan | |
193 | Summary(pl.UTF-8): Wtyczka PipeWire SPA do generowania ramek obrazu przy użyciu Vulkana | |
194 | Group: Libraries | |
195 | Requires: %{name}-libs = %{version}-%{release} | |
2ceddacd | 196 | Requires: Vulkan-Loader >= 1.1.69 |
96dfc521 JB |
197 | |
198 | %description spa-module-vulkan | |
199 | PipeWire SPA plugin to generate video frames using Vulkan. | |
200 | ||
201 | %description spa-module-vulkan -l pl.UTF-8 | |
202 | Wtyczka PipeWire SPA do generowania ramek obrazu przy użyciu Vulkana. | |
203 | ||
204 | %package jack | |
205 | Summary: PipeWire JACK sound system integration | |
206 | Summary(pl.UTF-8): Integracja PipeWire z systemem dźwięku JACK | |
207 | Group: Libraries | |
208 | Requires: %{name} = %{version}-%{release} | |
df9d2f1f | 209 | Requires: jack-audio-connection-kit >= 1.9.17 |
96dfc521 JB |
210 | |
211 | %description jack | |
212 | PipeWire JACK sound system integration. | |
213 | ||
214 | %description jack -l pl.UTF-8 | |
215 | Integracja PipeWire z systemem dźwięku JACK. | |
216 | ||
217 | %package pulseaudio | |
218 | Summary: PipeWire PulseAudio sound system integration | |
219 | Summary(pl.UTF-8): Integracja PipeWire z systemem dźwięku PulseAudio | |
220 | Group: Libraries | |
221 | Requires: %{name} = %{version}-%{release} | |
96dfc521 JB |
222 | |
223 | %description pulseaudio | |
224 | PipeWire PulseAudio sound system integration. | |
225 | ||
226 | %description pulseaudio -l pl.UTF-8 | |
227 | Integracja PipeWire z systemem dźwięku PulseAudio. | |
228 | ||
229 | %package -n alsa-plugin-pipewire | |
230 | Summary: PipeWire integration plugin for ALSA sound system | |
231 | Summary(pl.UTF-8): Wtyczka systemu dźwięku ALSA integrująca z PipeWire | |
232 | Group: Libraries | |
233 | Requires: %{name} = %{version}-%{release} | |
234c024c | 234 | Requires: alsa-lib >= 1.1.7 |
96dfc521 JB |
235 | |
236 | %description -n alsa-plugin-pipewire | |
237 | PipeWire integration plugin for ALSA sound system. | |
238 | ||
239 | %description -n alsa-plugin-pipewire -l pl.UTF-8 | |
240 | Wtyczka systemu dźwięku ALSA integrująca z PipeWire. | |
241 | ||
911dd57a JB |
242 | %package -n gstreamer-pipewire |
243 | Summary: PipeWire video sink and source plugin for GStreamer | |
244 | Summary(pl.UTF-8): Wtyczka udostępniająca źródło i cel obrazu PipeWire dla GStreamera | |
245 | Group: Libraries | |
246 | Requires: %{name} = %{version}-%{release} | |
234c024c JB |
247 | Requires: glib2 >= 1:2.32.0 |
248 | Requires: gstreamer >= 1.10 | |
249 | Requires: gstreamer-plugins-base >= 1.10 | |
911dd57a JB |
250 | |
251 | %description -n gstreamer-pipewire | |
252 | PipeWire video sink and source plugin for GStreamer. | |
253 | ||
254 | %description -n gstreamer-pipewire -l pl.UTF-8 | |
255 | Wtyczka udostępniająca źródło i cel obrazu PipeWire dla GStreamera. | |
256 | ||
257 | %prep | |
258 | %setup -q | |
96dfc521 | 259 | %patch0 -p1 |
911dd57a JB |
260 | |
261 | %build | |
262 | %meson build \ | |
2a4039e3 JB |
263 | -Daudiotestsrc=enabled \ |
264 | -Dbluez5-backend-hsphfpd=enabled \ | |
265 | %{?with_apidocs:-Ddocs=enabled} \ | |
266 | %{?with_ffmpeg:-Dffmpeg=enabled} \ | |
267 | %{!?with_gstreamer:-Dgstreamer=disabled} \ | |
268 | %{!?with_jack:-Djack=disabled} \ | |
24dc871a | 269 | %{!?with_lv2:-Dlv2=disabled} \ |
2a4039e3 JB |
270 | -Dman=enabled \ |
271 | %{!?with_jack:-Dpipewire-jack=disabled} \ | |
0b72a5c1 | 272 | -Dsession-managers='[]' \ |
2a4039e3 | 273 | -Dvideotestsrc=enabled \ |
844634b6 JP |
274 | -Dvolume=enabled \ |
275 | -Dvulkan=enabled | |
2a4039e3 | 276 | # TODO: -Devl=enabled |
911dd57a JB |
277 | |
278 | %ninja_build -C build | |
279 | ||
280 | %install | |
281 | rm -rf $RPM_BUILD_ROOT | |
282 | ||
283 | %ninja_install -C build | |
284 | ||
844634b6 | 285 | install -d $RPM_BUILD_ROOT{%{_sysconfdir}/pipewire,%{_datadir}/alsa/alsa.conf.d} |
96dfc521 JB |
286 | cp -p pipewire-alsa/conf/*.conf $RPM_BUILD_ROOT%{_datadir}/alsa/alsa.conf.d |
287 | ||
911dd57a | 288 | # packaged as %doc in -apidocs |
4f0b7ee5 | 289 | %{?with_apidocs:%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/pipewire/html} |
911dd57a | 290 | |
2a4039e3 JB |
291 | %find_lang %{name} |
292 | ||
911dd57a JB |
293 | %clean |
294 | rm -rf $RPM_BUILD_ROOT | |
295 | ||
296 | %post libs -p /sbin/ldconfig | |
297 | %postun libs -p /sbin/ldconfig | |
298 | ||
2a4039e3 | 299 | %files -f %{name}.lang |
911dd57a JB |
300 | %defattr(644,root,root,755) |
301 | %attr(755,root,root) %{_bindir}/pipewire | |
96dfc521 JB |
302 | %attr(755,root,root) %{_bindir}/pw-cat |
303 | %attr(755,root,root) %{_bindir}/pw-cli | |
304 | %attr(755,root,root) %{_bindir}/pw-dot | |
844634b6 | 305 | %attr(755,root,root) %{_bindir}/pw-dsdplay |
2a4039e3 | 306 | %attr(755,root,root) %{_bindir}/pw-dump |
4f072849 JB |
307 | %attr(755,root,root) %{_bindir}/pw-link |
308 | %attr(755,root,root) %{_bindir}/pw-loopback | |
234c024c JB |
309 | %attr(755,root,root) %{_bindir}/pw-metadata |
310 | %attr(755,root,root) %{_bindir}/pw-mididump | |
311 | %attr(755,root,root) %{_bindir}/pw-midiplay | |
312 | %attr(755,root,root) %{_bindir}/pw-midirecord | |
96dfc521 JB |
313 | %attr(755,root,root) %{_bindir}/pw-mon |
314 | %attr(755,root,root) %{_bindir}/pw-play | |
96dfc521 | 315 | %attr(755,root,root) %{_bindir}/pw-profiler |
2ceddacd JB |
316 | %attr(755,root,root) %{_bindir}/pw-record |
317 | %attr(755,root,root) %{_bindir}/pw-reserve | |
2a4039e3 | 318 | %attr(755,root,root) %{_bindir}/pw-top |
0b72a5c1 | 319 | %attr(755,root,root) %{_bindir}/pw-v4l2 |
911dd57a | 320 | %attr(755,root,root) %{_bindir}/spa-inspect |
2a4039e3 | 321 | %attr(755,root,root) %{_bindir}/spa-json-dump |
911dd57a | 322 | %attr(755,root,root) %{_bindir}/spa-monitor |
2ceddacd JB |
323 | # R: libsndfile |
324 | %attr(755,root,root) %{_bindir}/spa-resample | |
911dd57a | 325 | %dir %{_sysconfdir}/pipewire |
df9d2f1f | 326 | %dir %{_datadir}/pipewire |
844634b6 JP |
327 | %{_datadir}/pipewire/client.conf |
328 | %{_datadir}/pipewire/client-rt.conf | |
329 | %{_datadir}/pipewire/pipewire.conf | |
330 | %dir %{_datadir}/pipewire/filter-chain | |
331 | %{_datadir}/pipewire/filter-chain/demonic.conf | |
332 | %{_datadir}/pipewire/filter-chain/sink-dolby-surround.conf | |
333 | %{_datadir}/pipewire/filter-chain/sink-eq6.conf | |
334 | %{_datadir}/pipewire/filter-chain/sink-matrix-spatialiser.conf | |
335 | %{_datadir}/pipewire/filter-chain/sink-virtual-surround-5.1-kemar.conf | |
336 | %{_datadir}/pipewire/filter-chain/sink-virtual-surround-7.1-hesuvi.conf | |
337 | %{_datadir}/pipewire/filter-chain/source-rnnoise.conf | |
911dd57a JB |
338 | %{systemduserunitdir}/pipewire.service |
339 | %{systemduserunitdir}/pipewire.socket | |
96dfc521 JB |
340 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-access.so |
341 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-adapter.so | |
342 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-client-device.so | |
343 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-client-node.so | |
dc9a9a18 | 344 | # R: webrtc-audio-processing >= 0.2 |
4f072849 | 345 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-echo-cancel.so |
844634b6 | 346 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-filter-chain.so |
96dfc521 | 347 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-link-factory.so |
4f072849 | 348 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-loopback.so |
96dfc521 | 349 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-metadata.so |
dc9a9a18 | 350 | # R: dbus-libs |
234c024c | 351 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-portal.so |
96dfc521 | 352 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-profiler.so |
911dd57a | 353 | # R: systemd-libs |
96dfc521 | 354 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-protocol-native.so |
2ceddacd JB |
355 | # R: dbus-libs systemd-libs |
356 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-protocol-pulse.so | |
4f072849 | 357 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-protocol-simple.so |
24dc871a JP |
358 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-raop-discover.so |
359 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-raop-sink.so | |
844634b6 | 360 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-rt.so |
911dd57a | 361 | # R: dbus-libs |
96dfc521 JB |
362 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-rtkit.so |
363 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-session-manager.so | |
364 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-spa-device.so | |
365 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-spa-device-factory.so | |
366 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-spa-node.so | |
367 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-spa-node-factory.so | |
dc9a9a18 | 368 | # R: avahi-libs |
844634b6 | 369 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-zeroconf-discover.so |
0b72a5c1 | 370 | %attr(755,root,root) %{_libdir}/pipewire-0.3/v4l2/libpw-v4l2.so |
96dfc521 JB |
371 | %dir %{_libdir}/spa-0.2/audioconvert |
372 | %attr(755,root,root) %{_libdir}/spa-0.2/audioconvert/libspa-audioconvert.so | |
373 | %dir %{_libdir}/spa-0.2/audiomixer | |
374 | %attr(755,root,root) %{_libdir}/spa-0.2/audiomixer/libspa-audiomixer.so | |
375 | %dir %{_libdir}/spa-0.2/audiotestsrc | |
376 | %attr(755,root,root) %{_libdir}/spa-0.2/audiotestsrc/libspa-audiotestsrc.so | |
377 | %dir %{_libdir}/spa-0.2/control | |
378 | %attr(755,root,root) %{_libdir}/spa-0.2/control/libspa-control.so | |
379 | %dir %{_libdir}/spa-0.2/support | |
911dd57a | 380 | # R: dbus-libs |
96dfc521 | 381 | %attr(755,root,root) %{_libdir}/spa-0.2/support/libspa-dbus.so |
2ceddacd JB |
382 | # R: systemd-libs |
383 | %attr(755,root,root) %{_libdir}/spa-0.2/support/libspa-journal.so | |
96dfc521 JB |
384 | %attr(755,root,root) %{_libdir}/spa-0.2/support/libspa-support.so |
385 | %dir %{_libdir}/spa-0.2/v4l2 | |
911dd57a | 386 | # R: udev-libs |
96dfc521 JB |
387 | %attr(755,root,root) %{_libdir}/spa-0.2/v4l2/libspa-v4l2.so |
388 | %dir %{_libdir}/spa-0.2/videoconvert | |
389 | %attr(755,root,root) %{_libdir}/spa-0.2/videoconvert/libspa-videoconvert.so | |
390 | %dir %{_libdir}/spa-0.2/videotestsrc | |
391 | %attr(755,root,root) %{_libdir}/spa-0.2/videotestsrc/libspa-videotestsrc.so | |
392 | %dir %{_libdir}/spa-0.2/volume | |
393 | %attr(755,root,root) %{_libdir}/spa-0.2/volume/libspa-volume.so | |
911dd57a | 394 | %{_mandir}/man1/pipewire.1* |
234c024c | 395 | %{_mandir}/man1/pw-cat.1* |
96dfc521 | 396 | %{_mandir}/man1/pw-cli.1* |
234c024c JB |
397 | %{_mandir}/man1/pw-dot.1* |
398 | %{_mandir}/man1/pw-metadata.1* | |
399 | %{_mandir}/man1/pw-mididump.1* | |
96dfc521 | 400 | %{_mandir}/man1/pw-mon.1* |
234c024c | 401 | %{_mandir}/man1/pw-profiler.1* |
911dd57a JB |
402 | %{_mandir}/man5/pipewire.conf.5* |
403 | ||
404 | %files libs | |
405 | %defattr(644,root,root,755) | |
96dfc521 JB |
406 | %doc COPYING LICENSE NEWS README.md |
407 | %attr(755,root,root) %{_libdir}/libpipewire-0.3.so.*.*.* | |
408 | %attr(755,root,root) %ghost %{_libdir}/libpipewire-0.3.so.0 | |
409 | %dir %{_libdir}/pipewire-0.3 | |
0b72a5c1 | 410 | %dir %{_libdir}/pipewire-0.3/v4l2 |
96dfc521 | 411 | %dir %{_libdir}/spa-0.2 |
844634b6 | 412 | %dir %{_datadir}/spa-0.2 |
911dd57a JB |
413 | |
414 | %files devel | |
415 | %defattr(644,root,root,755) | |
96dfc521 JB |
416 | %attr(755,root,root) %{_libdir}/libpipewire-0.3.so |
417 | %{_includedir}/pipewire-0.3 | |
418 | %{_includedir}/spa-0.2 | |
419 | %{_pkgconfigdir}/libpipewire-0.3.pc | |
420 | %{_pkgconfigdir}/libspa-0.2.pc | |
911dd57a JB |
421 | |
422 | %if %{with apidocs} | |
423 | %files apidocs | |
424 | %defattr(644,root,root,755) | |
df9d2f1f | 425 | %doc build/doc/html/* |
911dd57a JB |
426 | %endif |
427 | ||
428 | %files spa-module-alsa | |
429 | %defattr(644,root,root,755) | |
2ceddacd | 430 | %attr(755,root,root) %{_bindir}/spa-acp-tool |
96dfc521 | 431 | %dir %{_libdir}/spa-0.2/alsa |
911dd57a | 432 | # R: alsa-lib udev-libs |
96dfc521 | 433 | %attr(755,root,root) %{_libdir}/spa-0.2/alsa/libspa-alsa.so |
234c024c | 434 | %{_datadir}/alsa-card-profile |
911dd57a JB |
435 | |
436 | %files spa-module-bluez | |
437 | %defattr(644,root,root,755) | |
96dfc521 | 438 | %dir %{_libdir}/spa-0.2/bluez5 |
dc9a9a18 | 439 | # R: bluez-libs >= 4.101 dbus-libs libusb >= 1.0 sbc |
96dfc521 | 440 | %attr(755,root,root) %{_libdir}/spa-0.2/bluez5/libspa-bluez5.so |
dc9a9a18 | 441 | # R: fdk-aac |
844634b6 | 442 | %attr(755,root,root) %{_libdir}/spa-0.2/bluez5/libspa-codec-bluez5-aac.so |
dc9a9a18 | 443 | # R: libfreeaptx sbc |
844634b6 | 444 | %attr(755,root,root) %{_libdir}/spa-0.2/bluez5/libspa-codec-bluez5-aptx.so |
dc9a9a18 | 445 | # R: sbc |
844634b6 | 446 | %attr(755,root,root) %{_libdir}/spa-0.2/bluez5/libspa-codec-bluez5-faststream.so |
dc9a9a18 | 447 | # R: ldacBT |
844634b6 | 448 | %attr(755,root,root) %{_libdir}/spa-0.2/bluez5/libspa-codec-bluez5-ldac.so |
dc9a9a18 | 449 | # R: sbc |
844634b6 JP |
450 | %attr(755,root,root) %{_libdir}/spa-0.2/bluez5/libspa-codec-bluez5-sbc.so |
451 | %dir %{_datadir}/spa-0.2/bluez5 | |
452 | %{_datadir}/spa-0.2/bluez5/bluez-hardware.conf | |
911dd57a JB |
453 | |
454 | %files spa-module-ffmpeg | |
455 | %defattr(644,root,root,755) | |
96dfc521 | 456 | %dir %{_libdir}/spa-0.2/ffmpeg |
911dd57a | 457 | # R: ffmpeg-libs |
96dfc521 JB |
458 | %attr(755,root,root) %{_libdir}/spa-0.2/ffmpeg/libspa-ffmpeg.so |
459 | ||
2329dfbb JB |
460 | %if %{with jack} |
461 | %files spa-module-jack | |
462 | %defattr(644,root,root,755) | |
463 | %dir %{_libdir}/spa-0.2/jack | |
464 | # R: jack-audio-connection-kit-libs | |
465 | %attr(755,root,root) %{_libdir}/spa-0.2/jack/libspa-jack.so | |
466 | %endif | |
467 | ||
96dfc521 JB |
468 | %files spa-module-vulkan |
469 | %defattr(644,root,root,755) | |
470 | %dir %{_libdir}/spa-0.2/vulkan | |
471 | # R: Vulkan-Loader | |
472 | %attr(755,root,root) %{_libdir}/spa-0.2/vulkan/libspa-vulkan.so | |
473 | ||
474 | %if %{with jack} | |
475 | %files jack | |
476 | %defattr(644,root,root,755) | |
473830bc | 477 | %attr(755,root,root) %{_bindir}/pw-jack |
844634b6 | 478 | %dir %{_libdir}/pipewire-0.3/jack |
473830bc JR |
479 | %attr(755,root,root) %{_libdir}/pipewire-0.3/jack/libjack.so* |
480 | %attr(755,root,root) %{_libdir}/pipewire-0.3/jack/libjacknet.so* | |
481 | %attr(755,root,root) %{_libdir}/pipewire-0.3/jack/libjackserver.so* | |
df9d2f1f | 482 | %{_datadir}/pipewire/jack.conf |
778f3c06 | 483 | %{_mandir}/man1/pw-jack.1* |
96dfc521 JB |
484 | %endif |
485 | ||
96dfc521 JB |
486 | %files pulseaudio |
487 | %defattr(644,root,root,755) | |
2ceddacd | 488 | %attr(755,root,root) %{_bindir}/pipewire-pulse |
dc9a9a18 | 489 | # R: pulseaudio-libs |
844634b6 JP |
490 | %attr(755,root,root) %{_libdir}/pipewire-0.3/libpipewire-module-pulse-tunnel.so |
491 | %{_datadir}/pipewire/pipewire-pulse.conf | |
2ceddacd JB |
492 | %{systemduserunitdir}/pipewire-pulse.service |
493 | %{systemduserunitdir}/pipewire-pulse.socket | |
4f71b065 | 494 | %{_mandir}/man1/pipewire-pulse.1* |
96dfc521 JB |
495 | |
496 | %files -n alsa-plugin-pipewire | |
497 | %defattr(644,root,root,755) | |
234c024c | 498 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_ctl_pipewire.so |
96dfc521 JB |
499 | %attr(755,root,root) %{_libdir}/alsa-lib/libasound_module_pcm_pipewire.so |
500 | %{_datadir}/alsa/alsa.conf.d/50-pipewire.conf | |
501 | %{_datadir}/alsa/alsa.conf.d/99-pipewire-default.conf | |
234c024c | 502 | /lib/udev/rules.d/90-pipewire-alsa.rules |
911dd57a JB |
503 | |
504 | %if %{with gstreamer} | |
505 | %files -n gstreamer-pipewire | |
506 | %defattr(644,root,root,755) | |
507 | %attr(755,root,root) %{_libdir}/gstreamer-1.0/libgstpipewire.so | |
508 | %endif |