File gsi-helpers.spec of Package gsi-helpers

#
# 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:           gsi-helpers
Version:        v0.0.1
Release:        2%{?dist}
Summary:        GSI image helpers package
License:        GPL-3.0-or-later
URL:            https://gitlab.com/slem.os/%{name}
Source0:        zz-tls-padding.sh
Source1:        zz-gsi-phone.sh
Source2:        90-modem-manager.rules
BuildArch:      noarch
Requires:       pulseaudio-modules-droid
Requires:       pulseaudio-modules-droid-hidl
Requires:       ofono
Requires:       ofono-ril-binder-plugin
Requires:       ofono-ril-plugin
Requires:       oFono2MM
Requires:       ofono-config-ril-binder
%systemd_requires

%description
GSI image helpers package.

%prep

%build

%install
touch %{buildroot}/.writable_image
%{__install} -Dm0755 -t %{buildroot}%{_sysconfdir}/profile.d/ %{SOURCE0} %{SOURCE1}
%{__install} -Dm0644 -t %{buildroot}%{_datadir}/polkit-1/rules.d/ %{SOURCE2}


%files
/.writable_image
%config %{_sysconfdir}/profile.d/*
%dir %{_datadir}/polkit-1
%dir %{_datadir}/polkit-1/rules.d/
%{_datadir}/polkit-1/rules.d/*

%changelog
openSUSE Build Service is sponsored by