File ofono-config-ril-binder.spec of Package ofono-config-ril-binder

#
# 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:           ofono-config-ril-binder
Version:        0.0.1
Release:        1%{?dist}
Summary:        Ofono config files for devices
License:        GPL-3.0-or-later
URL:            https://gitlab.com/slem.os/%{name}
Source0:        10-lxc-android.conf
Source1:        ril_subscription.conf.binder
Source2:        10-dual-sim.conf
#Source3:        binder.conf
BuildRequires:  ofono
BuildRequires:  ofono-ril-binder-plugin
Requires:       ofono
Requires:       ofono-ril-binder-plugin
%systemd_requires

%description
Ofono config files for devices

%package -n ofono-config-ril-binder-dualsim
Summary: Add config for Dual SIM
Requires: ofono-config-ril-binder

%description -n ofono-config-ril-binder-dualsim
Config for Dual SIM


%prep

%build

%install
%{__install} -d %{buildroot}%{_datadir}/ofono-config-ril-binder/
%{__install} -Dm0755 -t %{buildroot}%{_datadir}/ofono-config-ril-binder/ %{SOURCE1}

%{__install} -d %{buildroot}%{_sysconfdir}/ofono/ril_subscription.d
%{__install} -Dm0755 -t %{buildroot}%{_sysconfdir}/ofono/ril_subscription.d/ %{SOURCE2}

#%{__install} -d %{buildroot}%{_sysconfdir}/ofono/
#%{__install} -Dm0755 -t %{buildroot}%{_sysconfdir}/ofono/ %{SOURCE3}

%{__install} -d %{buildroot}%{_unitdir}/ofono.service.d/
%{__install} -Dm0755 -t %{buildroot}%{_unitdir}/ofono.service.d/ %{SOURCE0}

%files
#%dir %{_sysconfdir}/ofono/
#%{_sysconfdir}/ofono/binder.conf
%dir %{_datadir}/ofono-config-ril-binder/
%{_datadir}/ofono-config-ril-binder/*
%dir %{_unitdir}/ofono.service.d
%{_unitdir}/ofono.service.d/*

%files -n ofono-config-ril-binder-dualsim
%dir %{_sysconfdir}/ofono/ril_subscription.d
%{_sysconfdir}/ofono/ril_subscription.d/*

%changelog
openSUSE Build Service is sponsored by