RPM spec file for a Qualcomm bootctl HAL for Linux
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
%global _vpath_srcdir sdk/%{name}/projects/meson
Name: qbootctl
Version: 0.1.2
Release: 1%{?dist}
Summary: Qualcomm bootctl HAL for Linux
License: GPL-3.0-or-later
URL: https://code.tokarch.uk/third_party/qbootctl
Source: https://code.tokarch.uk/third_party/qbootctl/archive/main.zip
BuildRequires: meson
BuildRequires: cmake
BuildRequires: zlib-devel
BuildRequires: kernel-headers
BuildRequires: gcc
BuildRequires: gcc-c++
Requires: zlib
%description
Qualcomm bootctl HAL for Linux
This HAL was pulled from AOSP source code and bastardised to build and run on a musl/glibc system. This may or may not render any hardware you run it on unusable, you have been warned.
%prep
%autosetup -c
%build
%meson
%meson_build
%install
%meson_install
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%{_bindir}/qbootctl