Import from AlmaLinux stable repository

This commit is contained in:
eabdullin 2024-05-15 09:08:04 +00:00
parent 725513eddc
commit bc551bfbf3
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
Version: 0.4.8
Version: 0.4.14
Release: 1%{?dist}
Summary: A modular session/policy manager for PipeWire
@ -7,13 +7,20 @@ License: MIT
URL: https://pipewire.pages.freedesktop.org/wireplumber/
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: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
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: systemd-devel >= 184
BuildRequires: pkgconfig(lua)
@ -25,15 +32,12 @@ BuildRequires: systemd-rpm-macros
# Make sure that we have -libs package in the same version
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
# WirePlumber is a PipeWire session manager
Provides: pipewire-session-manager
Conflicts: pipewire-session-manager
# Replace pipewire-media-session with wireplumber
Obsoletes: pipewire-media-session < 0.3.32-4
%package libs
Summary: Libraries for WirePlumber clients
Recommends: %{name}%{?_isa} = %{version}-%{release}
%description libs
This package contains the runtime libraries for any application that wishes
@ -41,6 +45,7 @@ to interface with WirePlumber.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
@ -71,12 +76,20 @@ managing PipeWire.
# Create local config skeleton
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
%preun
%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
%license LICENSE
%{_bindir}/wireplumber
@ -91,7 +104,7 @@ mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua
%{_userunitdir}/wireplumber.service
%{_userunitdir}/wireplumber@.service
%files libs
%files libs -f %{name}.lang
%license LICENSE
%dir %{_libdir}/wireplumber-0.4/
%{_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
%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
- Update to version 0.4.8
Resolves: rhbz#2055692