Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-12-SP4:GA
efivar
efivar.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File efivar.spec of Package efivar
# # spec file for package efivar # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: efivar Version: 0.23 Release: 0 Summary: Tools to manage UEFI variables License: LGPL-2.1 Group: Development/Libraries/Other Url: https://github.com/rhinstaller/efivar Source0: https://github.com/rhinstaller/efivar/releases/download/%{version}/%{name}-%{version}.tar.bz2 Patch1: efivar-0.21-gcc6.diff Patch2: efivar-no-static.patch Patch3: efivar-nvme-rename.patch Patch4: efivar-nvme-no-kernel-header.patch Patch5: efivar-relicensing.patch Patch6: efivar-bsc988000-fix-mode-efi_set_variable.patch Patch7: efivar-bsc988000-remove-versioning-efi_set_variable.patch BuildRequires: fdupes BuildRequires: pkg-config BuildRequires: popt-devel Requires: libefivar0 = %{version}-%{release} %description efivar provides a simple command line interface to the UEFI variable facility. %package -n libefivar0 Summary: Library to manage UEFI variables Group: Development/Libraries/Other %description -n libefivar0 Library to allow for the simple manipulation of UEFI variables. %package devel Summary: Development headers for libefivar Group: Development/Libraries/Other Requires: libefivar0 = %{version}-%{release} %description devel development headers required to use libefivar. %prep %setup -q %patch1 %patch2 -p1 %patch3 -p1 %patch4 -p1 %patch5 -p1 %patch6 -p1 %patch7 -p1 %build export CFLAGS="%{optflags} -Wno-nonnull" make \ libdir=%{_libdir} \ bindir=%{_bindir} %install make DESTDIR=%{buildroot} libdir=%{_libdir} install %fdupes -s %{buildroot} %post -n libefivar0 -p /sbin/ldconfig %postun -n libefivar0 -p /sbin/ldconfig %files %defattr(-,root,root) %doc COPYING %{_bindir}/efivar %{_mandir}/man1/* %files devel %defattr(-,root,root) %{_mandir}/man3/* %{_includedir}/* %{_libdir}/*.so %{_libdir}/pkgconfig/*.pc %files -n libefivar0 %defattr(-,root,root) %{_libdir}/*.so.* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor