]>
Commit | Line | Data |
---|---|---|
621d2b86 JB |
1 | Summary: EFI Boot Manager |
2 | Summary(pl.UTF-8): Boot Manager dla EFI | |
3 | Name: efibootmgr | |
4f321126 JB |
4 | Version: 0.12 |
5 | Release: 1 | |
621d2b86 JB |
6 | License: GPL v2+ |
7 | Group: Base | |
62ac9020 JB |
8 | #Source0: http://linux.dell.com/efibootmgr/permalink/%{name}-%{version}.tar.gz |
9 | Source0: https://github.com/rhinstaller/efibootmgr/archive/%{name}-%{version}.tar.gz | |
4f321126 | 10 | # Source0-md5: 0c4fa2e1d850c8391914071ff2ddb361 |
621d2b86 | 11 | URL: http://linux.dell.com/projects.shtml#efibootmgr |
4f321126 | 12 | BuildRequires: efivar-devel >= 0.20 |
621d2b86 | 13 | BuildRequires: pciutils-devel |
4f321126 | 14 | Requires: efivar >= 0.20 |
acf94dda | 15 | ExclusiveArch: %{ix86} %{x8664} ia64 x32 |
621d2b86 JB |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
17 | ||
18 | %description | |
19 | efibootmgr displays and allows the user to edit the Intel Extensible | |
20 | Firmware Interface (EFI) Boot Manager variables. Additional | |
21 | information about EFI can be found at | |
22 | <http://developer.intel.com/technology/efi/efi.htm>. | |
23 | ||
24 | %description -l pl.UTF-8 | |
25 | efibootmgr wyświetla i pozwala modyfikować wartości Boot Managera | |
26 | EFI (Extensible Firmware Interface) Intela. Dodatkowe informacje o EFI | |
27 | można znaleźć pod adresem | |
28 | <http://developer.intel.com/technology/efi/efi.htm>. | |
29 | ||
30 | %prep | |
62ac9020 | 31 | %setup -q -n %{name}-%{name}-%{version} |
621d2b86 JB |
32 | |
33 | %build | |
621d2b86 JB |
34 | %{__make} \ |
35 | CC="%{__cc}" \ | |
62ac9020 | 36 | EXTRA_CFLAGS="%{rpmcflags} -I/usr/include/efivar" \ |
621d2b86 JB |
37 | VPATH=%{_libdir} |
38 | ||
39 | %install | |
40 | rm -rf $RPM_BUILD_ROOT | |
41 | install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8} | |
42 | ||
43 | install src/efibootmgr/efibootmgr $RPM_BUILD_ROOT%{_sbindir} | |
44 | install src/man/man8/efibootmgr.8 $RPM_BUILD_ROOT%{_mandir}/man8 | |
45 | ||
46 | %clean | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %files | |
50 | %defattr(644,root,root,755) | |
51 | %doc AUTHORS README doc/{ChangeLog,TODO} | |
52 | %attr(755,root,root) %{_sbindir}/efibootmgr | |
53 | %{_mandir}/man8/efibootmgr.8* |