Compare commits

..

No commits in common. "c9-beta" and "imports/c9-beta/wireplumber-0.4.8-1.el9" have entirely different histories.

3 changed files with 10 additions and 27 deletions

2
.gitignore vendored
View File

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

View File

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

View File

@ -1,5 +1,5 @@
Name: wireplumber
Version: 0.4.14
Version: 0.4.8
Release: 1%{?dist}
Summary: A modular session/policy manager for PipeWire
@ -7,20 +7,13 @@ 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.26
BuildRequires: pkgconfig(libpipewire-0.3) >= 0.3.37
BuildRequires: pkgconfig(systemd)
BuildRequires: systemd-devel >= 184
BuildRequires: pkgconfig(lua)
@ -32,12 +25,15 @@ 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
@ -45,7 +41,6 @@ to interface with WirePlumber.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
%description devel
@ -76,20 +71,12 @@ managing PipeWire.
# Create local config skeleton
mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d}
%find_lang %{name}
%posttrans
%post
%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
@ -104,7 +91,7 @@ fi
%{_userunitdir}/wireplumber.service
%{_userunitdir}/wireplumber@.service
%files libs -f %{name}.lang
%files libs
%license LICENSE
%dir %{_libdir}/wireplumber-0.4/
%{_libdir}/wireplumber-0.4/libwireplumber-*.so
@ -118,10 +105,6 @@ fi
%{_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