From 166943ac2d37603d314a9195150798f990c9a554 Mon Sep 17 00:00:00 2001 From: Nikita Tokarchuk Date: Sun, 16 Jul 2023 07:54:55 +0200 Subject: [PATCH] Add qbootctl spec file --- qbootctl.spec | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 qbootctl.spec diff --git a/qbootctl.spec b/qbootctl.spec new file mode 100644 index 0000000..92b6dea --- /dev/null +++ b/qbootctl.spec @@ -0,0 +1,37 @@ +%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://gitlab.com/sdm845-mainline +Source: https://gitlab.com/sdm845-mainline/qbootctl/-/archive/main/qbootctl-main.zip + +BuildRequires: meson +BuildRequires: cmake +BuildRequires: zlib-devel +BuildRequires: linux-headers +BuildRequires: gcc +BuildRequires: gcc-c++ +Requires: zlib + +%description devel +%{summary}. + +%prep +%autosetup -c + +%build +%meson +%meson_build + +%install +%meson_install + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%{_bindir}/qbootctl