forked from open-power/secvarctl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
secvarctl.spec
40 lines (31 loc) · 921 Bytes
/
secvarctl.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# SPDX-License-Identifier: Apache-2.0
# Copyright (C) 2023 IBM Corp.
Name: secvarctl
Version: 1.1.0
Release: 1%{?dist}
Summary: PowerPC secure variable control
BuildArch: ppc64le ppcl64 x86_64
Group: None
License: Apache 2.0
URL: https://github.com/open-power/secvarctl
Source0: https://github.com/open-power/secvarctl/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: cmake openssl-devel
Requires: openssl
%description
%{name} facilitates manipulation of PowerPC authenticated variables from
userspace via sysfs. The primary use case is management of secure boot
variables.
%global debug_package %{nil}
%prep
%setup -q
%build
%cmake -DCMAKE_BUILD_TYPE=Release
%cmake_build
%install
%cmake_install
%files
%defattr(-,root,root)
%license LICENSE
%doc README.md
%{_mandir}/man1/%{name}.1.gz
%attr(0755,root,root) %{_bindir}/%{name}