%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: linux-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