File xiaomi-elish-helpers.spec of Package xiaomi-elish-helpers

#
# spec file for package xiaomi-elish-helpers
#
# Copyright (c) 2024 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:           xiaomi-elish-helpers
Version:        1.0
Release:        0
Summary:        Necessary files for xiaomi-elish
License:        SUSE-Public-Domain
URL:            http://gitlab.com/jianhua000/pmaports
Source0:        10-xiaomi-elish-dracut.conf
Source1:        81-libssc-xiaomi-elish.rules
Source2:        hexagonrpcd.confd
BuildRequires:  dracut
#General requirements
Requires:       plymouth
Requires:       plymouth-branding-openSUSE
#Requirements for opengl and vulkan
Requires:       libdrm_freedreno1
Requires:       libvulkan_freedreno
#Requirements for a/b boot slot
Requires:       qbootctl
#Requirements for Audio
Requires:       alsa-ucm-conf-xiaomi-elish
#Requirements for sensors
Requires:       iio-sensor-proxy
Requires:       hexagonrpc
#Requirements for x64 application
Requires:       box64
#Require the openSUSE logos
Requires:       distribution-logos-openSUSE
Requires:       distribution-logos-openSUSE-icons

BuildArch:      noarch

%description
Shell independent setup helpers for the xiaomi elish.
Includes configuration scripts for initialization and system setup.

%prep

%build

%install
%{__install} -Dm0644 -t %{buildroot}%{_sysconfdir}/dracut.conf.d/ %{SOURCE0}
%{__install} -Dm0644 %{SOURCE1} \
		%{buildroot}/usr/lib/udev/rules.d/81-libssc-xiaomi-elish.rules
%{__install} -Dm0644  %{SOURCE2} \
		%{buildroot}/etc/conf.d/hexagonrpcd-sdsp

%files
%{_sysconfdir}/dracut.conf.d/
/usr/lib/udev/rules.d/81-libssc-xiaomi-elish.rules
%dir /etc/conf.d
/etc/conf.d/hexagonrpcd-sdsp

%changelog
openSUSE Build Service is sponsored by