Blame SPECS/wireplumber.spec

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