2006-12-20 01:22:33 +00:00
|
|
|
#
|
2011-09-20 10:52:59 +00:00
|
|
|
# spec file for package efibootmgr
|
2006-12-20 01:22:33 +00:00
|
|
|
#
|
2013-02-19 11:36:40 +00:00
|
|
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2006-12-20 01:22:33 +00:00
|
|
|
#
|
2008-10-15 10:20:59 +00:00
|
|
|
# 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.
|
|
|
|
|
2006-12-20 01:22:33 +00:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
Name: efibootmgr
|
|
|
|
Summary: EFI Boot Manager
|
2011-12-06 17:07:47 +00:00
|
|
|
License: GPL-2.0+
|
2012-06-13 07:14:07 +00:00
|
|
|
Group: System/Boot
|
|
|
|
Version: 0.5.4
|
|
|
|
Release: 0
|
2008-07-31 19:30:20 +00:00
|
|
|
Url: http://linux.dell.com/efibootmgr/
|
2006-12-20 01:22:33 +00:00
|
|
|
Source: http://linux.dell.com/efibootmgr/efibootmgr-%{version}.tar.gz
|
2008-07-31 19:30:20 +00:00
|
|
|
Patch0: %{name}-%{version}.diff
|
2013-02-19 11:36:40 +00:00
|
|
|
Patch1: %{name}-%{version}-sector-size.diff
|
|
|
|
Patch2: %{name}-%{version}-catchup.diff
|
2006-12-20 01:22:33 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2008-07-31 19:30:20 +00:00
|
|
|
BuildRequires: pciutils-devel
|
2012-06-13 07:14:07 +00:00
|
|
|
BuildRequires: zlib-devel
|
2008-10-15 10:20:59 +00:00
|
|
|
ExclusiveArch: ia64 x86_64
|
2006-12-20 01:22:33 +00:00
|
|
|
|
|
|
|
%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
|
2008-07-31 19:30:20 +00:00
|
|
|
%setup -q
|
|
|
|
%patch0 -p1
|
2013-02-19 11:36:40 +00:00
|
|
|
%patch1 -p1
|
|
|
|
%patch2 -p1
|
2006-12-20 01:22:33 +00:00
|
|
|
chmod +x tools/install.pl
|
|
|
|
|
|
|
|
%build
|
2008-07-31 19:30:20 +00:00
|
|
|
make %{?_smp_mflags} EXTRA_CFLAGS="$RPM_OPT_FLAGS"
|
2006-12-20 01:22:33 +00:00
|
|
|
|
|
|
|
%install
|
2008-07-31 19:30:20 +00:00
|
|
|
install -d $RPM_BUILD_ROOT%{_sbindir}
|
|
|
|
make install BINDIR=$RPM_BUILD_ROOT%{_sbindir}
|
2006-12-20 01:22:33 +00:00
|
|
|
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
|
2008-07-31 19:30:20 +00:00
|
|
|
%{_sbindir}/efibootmgr
|
2006-12-20 01:22:33 +00:00
|
|
|
%{_mandir}/man8/*.gz
|
|
|
|
|
2008-07-31 19:30:20 +00:00
|
|
|
%changelog
|