efibootmgr/efibootmgr.spec
Stephan Kulow 212181db82 Accepting request 155796 from home:duwe:branches:Base:System
- Apply critical upstream fixes
 o for memory leaking variable creation.  [bnc#746324]
 o to improve spec conformance by removing device path padding.
 o to work around broken Apple firmware.

OBS-URL: https://build.opensuse.org/request/show/155796
OBS-URL: https://build.opensuse.org/package/show/Base:System/efibootmgr?expand=0&rev=8
2013-02-19 11:36:40 +00:00

64 lines
1.9 KiB
RPMSpec

#
# spec file for package efibootmgr
#
# Copyright (c) 2013 SUSE LINUX Products 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: efibootmgr
Summary: EFI Boot Manager
License: GPL-2.0+
Group: System/Boot
Version: 0.5.4
Release: 0
Url: http://linux.dell.com/efibootmgr/
Source: http://linux.dell.com/efibootmgr/efibootmgr-%{version}.tar.gz
Patch0: %{name}-%{version}.diff
Patch1: %{name}-%{version}-sector-size.diff
Patch2: %{name}-%{version}-catchup.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: pciutils-devel
BuildRequires: zlib-devel
ExclusiveArch: ia64 x86_64
%description
The EFI Boot Manager allows the user to edit the Intel Extensible
Firmware Interface (EFI) Boot Manager variables. Additional
information about the EFI can be found at
<http://developer.intel.com/technology/efi/efi.htm>.
%prep
%setup -q
%patch0 -p1
%patch1 -p1
%patch2 -p1
chmod +x tools/install.pl
%build
make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS"
%install
install -d $RPM_BUILD_ROOT%{_sbindir}
make install BINDIR=$RPM_BUILD_ROOT%{_sbindir}
install -d $RPM_BUILD_ROOT%{_mandir}/man8
install -m 644 src/man/man8/efibootmgr.8 $RPM_BUILD_ROOT%{_mandir}/man8
%files
%defattr(-, root, root)
%doc README
%{_sbindir}/efibootmgr
%{_mandir}/man8/*.gz
%changelog