File pulseaudio-config-droid.spec of Package pulseaudio-config-droid
#
# spec file for package phosh-helpers
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: pulseaudio-config-droid
Version: 0.0.1
Release: 1%{?dist}
Summary: Pulseaudio config for GSI image package
License: GPL-3.0-or-later
URL: https://gitlab.com/slem.os/%{name}
Source0: 10-lxc-android.conf
Source1: 20-droid-wait.conf
Source2: default.pa.droid
Source3: touch-stream-restore.table
BuildArch: aarch64
BuildRequires: pulseaudio
#Requires: pulseaudio
Provides: /usr/bin/pulseaudio
%systemd_requires
%description
GSI image helpers package.
%prep
%build
%install
%{__install} -d %{buildroot}%{_datadir}/pulseaudio-config-droid/
%{__install} -Dm0755 -t %{buildroot}%{_datadir}/pulseaudio-config-droid/ %{SOURCE2}
%{__install} -d %{buildroot}%{_sysconfdir}/pulse/
%{__install} -Dm0755 -t %{buildroot}%{_sysconfdir}/pulse/ %{SOURCE3}
%{__install} -d %{buildroot}%{_userunitdir}/pulseaudio.service.d/
%{__install} -Dm0755 -t %{buildroot}%{_userunitdir}/pulseaudio.service.d/ %{SOURCE0} %{SOURCE1}
%files
%dir %{_userunitdir}/pulseaudio.service.d/
%{_userunitdir}/pulseaudio.service.d/*
%{_sysconfdir}/pulse/*
%dir %{_datadir}/pulseaudio-config-droid/
%{_datadir}/pulseaudio-config-droid/*
%changelog