]> git.pld-linux.org Git - packages/efibootmgr.git/blob - efibootmgr.spec
- updated to 18
[packages/efibootmgr.git] / efibootmgr.spec
1 Summary:        EFI Boot Manager
2 Summary(pl.UTF-8):      Boot Manager dla EFI
3 Name:           efibootmgr
4 Version:        15
5 Release:        1
6 License:        GPL v2+
7 Group:          Base
8 Source0:        https://github.com/rhinstaller/efibootmgr/releases/download/%{version}/%{name}-%{version}.tar.bz2
9 # Source0-md5:  62597b082f27da940bf18f0ec8c5907b
10 URL:            https://github.com/rhinstaller/efibootmgr
11 BuildRequires:  efivar-devel >= 30
12 BuildRequires:  popt-devel
13 Requires:       efivar-libs >= 30
14 ExclusiveArch:  %{ix86} %{x8664} x32 %{arm} aarch64 ia64
15 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17 %description
18 efibootmgr displays and allows the user to edit the Intel Extensible
19 Firmware Interface (EFI) Boot Manager variables. Additional
20 information about EFI can be found at
21 <http://developer.intel.com/technology/efi/efi.htm>.
22
23 %description -l pl.UTF-8
24 efibootmgr wyświetla i pozwala modyfikować wartości Boot Managera
25 EFI (Extensible Firmware Interface) Intela. Dodatkowe informacje o EFI
26 można znaleźć pod adresem
27 <http://developer.intel.com/technology/efi/efi.htm>.
28
29 %prep
30 %setup -q
31
32 %build
33 %{__make} \
34         CC="%{__cc}" \
35         EFIDIR=pld \
36         EXTRA_CFLAGS="%{rpmcflags} -I/usr/include/efivar" \
37         VPATH=%{_libdir} \
38         libdir=%{_libdir}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{%{_sbindir},%{_mandir}/man8}
43
44 install src/efibootmgr $RPM_BUILD_ROOT%{_sbindir}
45 install src/efibootdump $RPM_BUILD_ROOT%{_sbindir}
46 install src/efibootmgr.8 $RPM_BUILD_ROOT%{_mandir}/man8
47 install src/efibootdump.8 $RPM_BUILD_ROOT%{_mandir}/man8
48
49 %clean
50 rm -rf $RPM_BUILD_ROOT
51
52 %files
53 %defattr(644,root,root,755)
54 %doc AUTHORS README.md TODO
55 %attr(755,root,root) %{_sbindir}/efibootdump
56 %attr(755,root,root) %{_sbindir}/efibootmgr
57 %{_mandir}/man8/efibootdump.8*
58 %{_mandir}/man8/efibootmgr.8*
This page took 0.267377 seconds and 3 git commands to generate.