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