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