Compare commits

..

1 Commits

Author SHA1 Message Date
eabdullin
62ae41f0b1 import CS wireplumber-0.4.14-1.el9 2023-09-21 20:42:31 +00:00
3 changed files with 27 additions and 10 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
SOURCES/wireplumber-0.4.8.tar.bz2 SOURCES/wireplumber-0.4.14.tar.bz2

View File

@ -1 +1 @@
708898deebd04dc74f122eb3a7c24ae5e64be7b5 SOURCES/wireplumber-0.4.8.tar.bz2 88a23fffb7240a3db7906546b13867b41b8e1c12 SOURCES/wireplumber-0.4.14.tar.bz2

View File

@ -1,5 +1,5 @@
Name: wireplumber Name: wireplumber
Version: 0.4.8 Version: 0.4.14
Release: 1%{?dist} Release: 1%{?dist}
Summary: A modular session/policy manager for PipeWire Summary: A modular session/policy manager for PipeWire
@ -7,13 +7,20 @@ License: MIT
URL: https://pipewire.pages.freedesktop.org/wireplumber/ URL: https://pipewire.pages.freedesktop.org/wireplumber/
Source0: https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 Source0: https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2
## upstream patches
## upstreamable patches
## fedora patches
BuildRequires: gettext
BuildRequires: meson gcc pkgconfig BuildRequires: meson gcc pkgconfig
BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(libspa-0.2) >= 0.2 BuildRequires: pkgconfig(libspa-0.2) >= 0.2
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.37 BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.26
BuildRequires: pkgconfig(systemd) BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-devel >= 184 BuildRequires: systemd-devel >= 184
BuildRequires: pkgconfig(lua) BuildRequires: pkgconfig(lua)
@ -25,15 +32,12 @@ BuildRequires: systemd-rpm-macros
# Make sure that we have -libs package in the same version # Make sure that we have -libs package in the same version
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# WirePlumber is a PipeWire session manager
Provides: pipewire-session-manager Provides: pipewire-session-manager
Conflicts: pipewire-session-manager Conflicts: pipewire-session-manager
# Replace pipewire-media-session with wireplumber
Obsoletes: pipewire-media-session < 0.3.32-4
%package libs %package libs
Summary: Libraries for WirePlumber clients Summary: Libraries for WirePlumber clients
Recommends: %{name}%{?_isa} = %{version}-%{release}
%description libs %description libs
This package contains the runtime libraries for any application that wishes This package contains the runtime libraries for any application that wishes
@ -41,6 +45,7 @@ to interface with WirePlumber.
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release} Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel %description devel
@ -71,12 +76,20 @@ managing PipeWire.
# Create local config skeleton # Create local config skeleton
mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d} mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d}
%post %find_lang %{name}
%posttrans
%systemd_user_post %{name}.service %systemd_user_post %{name}.service
%preun %preun
%systemd_user_preun %{name}.service %systemd_user_preun %{name}.service
%triggerun -- fedora-release < 35
# When upgrading to Fedora Linux 35, transition to WirePlumber by default
if [ -x "/bin/systemctl" ]; then
/bin/systemctl --no-reload preset --global %{name}.service || :
fi
%files %files
%license LICENSE %license LICENSE
%{_bindir}/wireplumber %{_bindir}/wireplumber
@ -91,7 +104,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua
%{_userunitdir}/wireplumber.service %{_userunitdir}/wireplumber.service
%{_userunitdir}/wireplumber@.service %{_userunitdir}/wireplumber@.service
%files libs %files libs -f %{name}.lang
%license LICENSE %license LICENSE
%dir %{_libdir}/wireplumber-0.4/ %dir %{_libdir}/wireplumber-0.4/
%{_libdir}/wireplumber-0.4/libwireplumber-*.so %{_libdir}/wireplumber-0.4/libwireplumber-*.so
@ -105,6 +118,10 @@ mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua
%{_datadir}/gir-1.0/Wp-0.4.gir %{_datadir}/gir-1.0/Wp-0.4.gir
%changelog %changelog
* Wed Mar 22 2023 Wim Taymans <wtaymans@redhat.com> - 0.4.14-1
- Update to version 0.4.14
Resolves: rhbz#2180783
* Fri Feb 18 2022 Wim Taymans <wtaymans@redhat.com> - 0.4.8-1 * Fri Feb 18 2022 Wim Taymans <wtaymans@redhat.com> - 0.4.8-1
- Update to version 0.4.8 - Update to version 0.4.8
Resolves: rhbz#2055692 Resolves: rhbz#2055692