Blame SPECS/wireplumber.spec

2454e2
Name:       wireplumber
2454e2
Version:    0.4.1
2454e2
Release:    2%{?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
2454e2
BuildRequires:  pkgconfig(libpipewire-0.3) >= 0.3.26
2454e2
BuildRequires:  pkgconfig(systemd)
2454e2
BuildRequires:  pkgconfig(lua)
2454e2
BuildRequires:  gobject-introspection-devel
2454e2
BuildRequires:  python3-lxml doxygen
2454e2
BuildRequires:  systemd-rpm-macros
2454e2
2454e2
Provides:       pipewire-session-manager
2454e2
Conflicts:      pipewire-session-manager
2454e2
2454e2
%package        libs
2454e2
Summary:        Libraries for WirePlumber clients
2454e2
Recommends:     %{name}%{?_isa} = %{version}-%{release}
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}%{?_isa} = %{version}-%{release}
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
2454e2
%autosetup
2454e2
2454e2
%build
2454e2
%meson -Dsystem-lua=true \
2454e2
       -Ddoc=disabled \
2454e2
       -Dsystemd=enabled \
2454e2
       -Dsystemd-user-service=true \
2454e2
       -Dintrospection=enabled
2454e2
%meson_build
2454e2
2454e2
%install
2454e2
%meson_install
2454e2
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
%config(noreplace) %{_sysconfdir}/wireplumber/bluetooth.conf
2454e2
%dir %{_sysconfdir}/wireplumber/bluetooth.lua.d
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/bluetooth.lua.d/00-functions.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/bluetooth.lua.d/30-bluez-monitor.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/bluetooth.lua.d/50-bluez-config.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/bluetooth.lua.d/90-enable-all.lua
2454e2
%dir %{_sysconfdir}/wireplumber/common
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/common/00-functions.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.conf
2454e2
%dir %{_sysconfdir}/wireplumber/main.lua.d
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/00-functions.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/20-default-access.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/30-alsa-monitor.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/30-v4l2-monitor.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/40-device-defaults.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/50-alsa-config.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/50-default-access-config.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/50-v4l2-config.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/main.lua.d/90-enable-all.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/policy.conf
2454e2
%dir %{_sysconfdir}/wireplumber/policy.lua.d
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/policy.lua.d/00-functions.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/policy.lua.d/10-default-policy.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/policy.lua.d/50-endpoints-config.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/policy.lua.d/90-enable-all.lua
2454e2
%config(noreplace) %{_sysconfdir}/wireplumber/wireplumber.conf
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
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)