Package not found: devel:languages:rust/rust1.78

File halium-wrappers.spec of Package halium-wrappers

#
# 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:           halium-wrappers
Version:        0.0.1
Release:        0%{?dist}
Summary:        Halium wrappers
License:        GPL-3.0-or-later
URL:            https://gitlab.com/slem.os/%{name}
Source0:        %{NAME}-%{VERSION}.tar.xz
BuildRequires:  libhybris-devel
%systemd_requires

%description
Flash bootimage.

%package libtls-padding
Summary: libtls for %{name}
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Requires: %{name} = %{version}-%{release}

%description libtls-padding
%{summary}.


%prep
%autosetup

%build
make all

%install
install -d %{buildroot}%{_bindir}
install -d %{buildroot}%{_sbindir}
install -d %{buildroot}%{_libdir}/halium-wrappers
install -m 755 src/waitforservice %{buildroot}%{_bindir}/
install -m 4644 src/libtls-padding.so %{buildroot}%{_libdir}/
install -m 755 src/halium-lxc-exec.sh %{buildroot}%{_libdir}/halium-wrappers/

ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/android_bootctl
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/android_logcat
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/android_lshal
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/android_getprop
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/android_setprop
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/android_reboot
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/logcat
ln -s %{_libdir}/halium-wrappers/halium-lxc-exec.sh %{buildroot}%{_sbindir}/lshal

%post libtls-padding -p /sbin/ldconfig
%postun libtls-padding -p /sbin/ldconfig

%files
%defattr(-,root,root,-)
%{_bindir}/*
%{_sbindir}/*
%dir %{_libdir}/halium-wrappers/
%{_libdir}/halium-wrappers/*

%files libtls-padding
%defattr(-,root,root,-)
%{_libdir}/libtls-padding.so

%changelog
openSUSE Build Service is sponsored by