mirror of
https://github.com/openRuyi-Project/openRuyi.git
synced 2026-05-13 10:23:41 +00:00
62 lines
1.7 KiB
RPMSpec
62 lines
1.7 KiB
RPMSpec
# SPDX-FileCopyrightText: (C) 2025 Institute of Software, Chinese Academy of Sciences (ISCAS)
|
|
# SPDX-FileCopyrightText: (C) 2025 openRuyi Project Contributors
|
|
# SPDX-FileContributor: Suyun114 <ziyu.oerv@isrc.iscas.ac.cn>
|
|
# SPDX-FileContributor: Zheng Junjie <zhengjunjie@iscas.ac.cn>
|
|
# SPDX-FileContributor: yyjeqhc <jialin.oerv@isrc.iscas.ac.cn>
|
|
# SPDX-FileContributor: misaka00251 <liuxin@iscas.ac.cn>
|
|
#
|
|
# SPDX-License-Identifier: MulanPSL-2.0
|
|
|
|
Name: efivar
|
|
Version: 39
|
|
Release: %autorelease
|
|
Summary: Tools to manage UEFI variables
|
|
License: LGPL-2.1-only
|
|
URL: https://github.com/rhboot/efivar
|
|
#!RemoteAsset
|
|
Source: https://github.com/rhboot/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
|
BuildSystem: autotools
|
|
|
|
# skip some tests need grub2 as we have no grub2 yet.
|
|
Patch0: 0001-skip-some-tests.patch
|
|
# From https://github.com/rhboot/efivar/pull/292
|
|
Patch1: fix-build-failure-with-glibc-2.43.patch
|
|
|
|
BuildOption(install): libdir=%{_libdir}
|
|
|
|
BuildRequires: mandoc
|
|
|
|
%description
|
|
efivar provides a simple command line interface to the UEFI variable facility.
|
|
|
|
%package devel
|
|
Summary: Development files for %{name}
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
|
%description devel
|
|
Development headers required to use libefivar.
|
|
|
|
%conf
|
|
# efivar has no configuration script
|
|
|
|
%check
|
|
make -j1 V=1 test
|
|
|
|
%files
|
|
%license COPYING
|
|
%{_bindir}/efivar
|
|
%{_bindir}/efisecdb
|
|
%{_libdir}/*.so.*
|
|
%{_mandir}/man1/*
|
|
|
|
%files devel
|
|
%{_mandir}/man3/*
|
|
%{_includedir}/*
|
|
%{_libdir}/*.so
|
|
%{_libdir}/pkgconfig/efiboot.pc
|
|
%{_libdir}/pkgconfig/efisec.pc
|
|
%{_libdir}/pkgconfig/efivar.pc
|
|
|
|
%changelog
|
|
%{?autochangelog}
|