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
BuildArch:      aarch64 
%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

%install
make install DESTDIR=%{buildroot}

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

%files
%defattr(-,root,root,-)
/usr/bin/*
/usr/sbin/*
%dir /usr/lib/halium-wrappers/
/usr/lib/halium-wrappers/*

%files libtls-padding
%defattr(-,root,root,-)
%dir /usr/lib/%{_arch}-suse-linux/
/usr/lib/%{_arch}-suse-linux/libtls-padding.so

%changelog
openSUSE Build Service is sponsored by