From 346a556ee3c9655e4c38d4f3442ec1ff016f1adb Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: May 17 2022 08:49:27 +0000 Subject: import wireplumber-0.4.8-1.el9 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3687d61 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/wireplumber-0.4.8.tar.bz2 diff --git a/.wireplumber.metadata b/.wireplumber.metadata new file mode 100644 index 0000000..54dda04 --- /dev/null +++ b/.wireplumber.metadata @@ -0,0 +1 @@ +708898deebd04dc74f122eb3a7c24ae5e64be7b5 SOURCES/wireplumber-0.4.8.tar.bz2 diff --git a/SPECS/wireplumber.spec b/SPECS/wireplumber.spec new file mode 100644 index 0000000..6e67931 --- /dev/null +++ b/SPECS/wireplumber.spec @@ -0,0 +1,124 @@ +Name: wireplumber +Version: 0.4.8 +Release: 1%{?dist} +Summary: A modular session/policy manager for PipeWire + +License: MIT +URL: https://pipewire.pages.freedesktop.org/wireplumber/ +Source0: https://gitlab.freedesktop.org/pipewire/%{name}/-/archive/%{version}/%{name}-%{version}.tar.bz2 + +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(systemd) +BuildRequires: systemd-devel >= 184 +BuildRequires: pkgconfig(lua) +BuildRequires: gobject-introspection-devel +BuildRequires: python3-lxml doxygen +BuildRequires: systemd-rpm-macros +%{?systemd_ordering} + +# 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 + +%description libs +This package contains the runtime libraries for any application that wishes +to interface with WirePlumber. + +%package devel +Summary: Development files for %{name} +Requires: %{name}-libs%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + +%description +WirePlumber is a modular session/policy manager for PipeWire and a +GObject-based high-level library that wraps PipeWire's API, providing +convenience for writing the daemon's modules as well as external tools for +managing PipeWire. + +%prep +%autosetup -p1 + +%build +%meson -Dsystem-lua=true \ + -Ddoc=disabled \ + -Dsystemd=enabled \ + -Dsystemd-user-service=true \ + -Dintrospection=enabled \ + -Delogind=disabled +%meson_build + +%install +%meson_install + +# Create local config skeleton +mkdir -p %{buildroot}%{_sysconfdir}/wireplumber/{bluetooth.lua.d,common,main.lua.d,policy.lua.d} + +%post +%systemd_user_post %{name}.service + +%preun +%systemd_user_preun %{name}.service + +%files +%license LICENSE +%{_bindir}/wireplumber +%{_bindir}/wpctl +%{_bindir}/wpexec +%dir %{_sysconfdir}/wireplumber +%dir %{_sysconfdir}/wireplumber/bluetooth.lua.d +%dir %{_sysconfdir}/wireplumber/common +%dir %{_sysconfdir}/wireplumber/main.lua.d +%dir %{_sysconfdir}/wireplumber/policy.lua.d +%{_datadir}/wireplumber/ +%{_userunitdir}/wireplumber.service +%{_userunitdir}/wireplumber@.service + +%files libs +%license LICENSE +%dir %{_libdir}/wireplumber-0.4/ +%{_libdir}/wireplumber-0.4/libwireplumber-*.so +%{_libdir}/libwireplumber-0.4.so.* +%{_libdir}/girepository-1.0/Wp-0.4.typelib + +%files devel +%{_includedir}/wireplumber-0.4/ +%{_libdir}/libwireplumber-0.4.so +%{_libdir}/pkgconfig/wireplumber-0.4.pc +%{_datadir}/gir-1.0/Wp-0.4.gir + +%changelog +* Fri Feb 18 2022 Wim Taymans - 0.4.8-1 +- Update to version 0.4.8 + Resolves: rhbz#2055692 + +* Wed Nov 17 2021 Neal Gompa - 0.4.5-1 +- Update to version 0.4.5 + Resolves: rhbz#2022695 + +* Tue Nov 16 2021 Neal Gompa - 0.4.1-3 +- Obsolete pipewire-media-session + Related: rhbz#2022694 + +* Fri Jul 23 2021 Fedora Release Engineering - 0.4.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jul 06 2021 Peter Hutterer 0.4.1-1 +- Initial package (#1976012)