|
|
346a55 |
Name: wireplumber
|
|
|
346a55 |
Version: 0.4.8
|
|
|
346a55 |
Release: 1%{?dist}
|
|
|
346a55 |
Summary: A modular session/policy manager for PipeWire
|
|
|
346a55 |
|
|
|
346a55 |
License: MIT
|
|
|
346a55 |
URL: https://pipewire.pages.freedesktop.org/wireplumber/
|
|
|
346a55 |
Source0: https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
|
|
|
346a55 |
|
|
|
346a55 |
BuildRequires: meson gcc pkgconfig
|
|
|
346a55 |
BuildRequires: pkgconfig(glib-2.0)
|
|
|
346a55 |
BuildRequires: pkgconfig(gobject-2.0)
|
|
|
346a55 |
BuildRequires: pkgconfig(gmodule-2.0)
|
|
|
346a55 |
BuildRequires: pkgconfig(gio-unix-2.0)
|
|
|
346a55 |
BuildRequires: pkgconfig(libspa-0.2) >= 0.2
|
|
|
346a55 |
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.37
|
|
|
346a55 |
BuildRequires: pkgconfig(systemd)
|
|
|
346a55 |
BuildRequires: systemd-devel >= 184
|
|
|
346a55 |
BuildRequires: pkgconfig(lua)
|
|
|
346a55 |
BuildRequires: gobject-introspection-devel
|
|
|
346a55 |
BuildRequires: python3-lxml doxygen
|
|
|
346a55 |
BuildRequires: systemd-rpm-macros
|
|
|
346a55 |
%{?systemd_ordering}
|
|
|
346a55 |
|
|
|
346a55 |
# Make sure that we have -libs package in the same version
|
|
|
346a55 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
346a55 |
|
|
|
346a55 |
# WirePlumber is a PipeWire session manager
|
|
|
346a55 |
Provides: pipewire-session-manager
|
|
|
346a55 |
Conflicts: pipewire-session-manager
|
|
|
346a55 |
|
|
|
346a55 |
# Replace pipewire-media-session with wireplumber
|
|
|
346a55 |
Obsoletes: pipewire-media-session < 0.3.32-4
|
|
|
346a55 |
|
|
|
346a55 |
%package libs
|
|
|
346a55 |
Summary: Libraries for WirePlumber clients
|
|
|
346a55 |
|
|
|
346a55 |
%description libs
|
|
|
346a55 |
This package contains the runtime libraries for any application that wishes
|
|
|
346a55 |
to interface with WirePlumber.
|
|
|
346a55 |
|
|
|
346a55 |
%package devel
|
|
|
346a55 |
Summary: Development files for %{name}
|
|
|
346a55 |
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
|
|
346a55 |
|
|
|
346a55 |
%description devel
|
|
|
346a55 |
The %{name}-devel package contains libraries and header files for
|
|
|
346a55 |
developing applications that use %{name}.
|
|
|
346a55 |
|
|
|
346a55 |
%description
|
|
|
346a55 |
WirePlumber is a modular session/policy manager for PipeWire and a
|
|
|
346a55 |
GObject-based high-level library that wraps PipeWire's API, providing
|
|
|
346a55 |
convenience for writing the daemon's modules as well as external tools for
|
|
|
346a55 |
managing PipeWire.
|
|
|
346a55 |
|
|
|
346a55 |
%prep
|
|
|
346a55 |
%autosetup -p1
|
|
|
346a55 |
|
|
|
346a55 |
%build
|
|
|
346a55 |
%meson -Dsystem-lua=true \
|
|
|
346a55 |
-Ddoc=disabled \
|
|
|
346a55 |
-Dsystemd=enabled \
|
|
|
346a55 |
-Dsystemd-user-service=true \
|
|
|
346a55 |
-Dintrospection=enabled \
|
|
|
346a55 |
-Delogind=disabled
|
|
|
346a55 |
%meson_build
|
|
|
346a55 |
|
|
|
346a55 |
%install
|
|
|
346a55 |
%meson_install
|
|
|
346a55 |
|
|
|
346a55 |
# Create local config skeleton
|
|
|
346a55 |
mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d}
|
|
|
346a55 |
|
|
|
346a55 |
%post
|
|
|
346a55 |
%systemd_user_post %{name}.service
|
|
|
346a55 |
|
|
|
346a55 |
%preun
|
|
|
346a55 |
%systemd_user_preun %{name}.service
|
|
|
346a55 |
|
|
|
346a55 |
%files
|
|
|
346a55 |
%license LICENSE
|
|
|
346a55 |
%{_bindir}/wireplumber
|
|
|
346a55 |
%{_bindir}/wpctl
|
|
|
346a55 |
%{_bindir}/wpexec
|
|
|
346a55 |
%dir %{_sysconfdir}/wireplumber
|
|
|
346a55 |
%dir %{_sysconfdir}/wireplumber/bluetooth.lua.d
|
|
|
346a55 |
%dir %{_sysconfdir}/wireplumber/common
|
|
|
346a55 |
%dir %{_sysconfdir}/wireplumber/main.lua.d
|
|
|
346a55 |
%dir %{_sysconfdir}/wireplumber/policy.lua.d
|
|
|
346a55 |
%{_datadir}/wireplumber/
|
|
|
346a55 |
%{_userunitdir}/wireplumber.service
|
|
|
346a55 |
%{_userunitdir}/wireplumber@.service
|
|
|
346a55 |
|
|
|
346a55 |
%files libs
|
|
|
346a55 |
%license LICENSE
|
|
|
346a55 |
%dir %{_libdir}/wireplumber-0.4/
|
|
|
346a55 |
%{_libdir}/wireplumber-0.4/libwireplumber-*.so
|
|
|
346a55 |
%{_libdir}/libwireplumber-0.4.so.*
|
|
|
346a55 |
%{_libdir}/girepository-1.0/Wp-0.4.typelib
|
|
|
346a55 |
|
|
|
346a55 |
%files devel
|
|
|
346a55 |
%{_includedir}/wireplumber-0.4/
|
|
|
346a55 |
%{_libdir}/libwireplumber-0.4.so
|
|
|
346a55 |
%{_libdir}/pkgconfig/wireplumber-0.4.pc
|
|
|
346a55 |
%{_datadir}/gir-1.0/Wp-0.4.gir
|
|
|
346a55 |
|
|
|
346a55 |
%changelog
|
|
|
346a55 |
* Fri Feb 18 2022 Wim Taymans <wtaymans@redhat.com> - 0.4.8-1
|
|
|
346a55 |
- Update to version 0.4.8
|
|
|
346a55 |
Resolves: rhbz#2055692
|
|
|
346a55 |
|
|
|
346a55 |
* Wed Nov 17 2021 Neal Gompa <ngompa@centosproject.org> - 0.4.5-1
|
|
|
346a55 |
- Update to version 0.4.5
|
|
|
346a55 |
Resolves: rhbz#2022695
|
|
|
346a55 |
|
|
|
346a55 |
* Tue Nov 16 2021 Neal Gompa <ngompa@centosproject.org> - 0.4.1-3
|
|
|
346a55 |
- Obsolete pipewire-media-session
|
|
|
346a55 |
Related: rhbz#2022694
|
|
|
346a55 |
|
|
|
346a55 |
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.4.1-2
|
|
|
346a55 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
346a55 |
|
|
|
346a55 |
* Tue Jul 06 2021 Peter Hutterer <peter.hutterer@redhat.com> 0.4.1-1
|
|
|
346a55 |
- Initial package (#1976012)
|