diff --git a/README.md b/README.md index 1c0bf07..9e56289 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # efibootmgr +A user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager. + diff --git a/efibootmgr.spec b/efibootmgr.spec new file mode 100644 index 0000000..13d3a0e --- /dev/null +++ b/efibootmgr.spec @@ -0,0 +1,51 @@ +Name: efibootmgr +Version: 0.6.0 +Release: 1mamba +Summary: A user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://linux.dell.com/efibootmgr/efibootmgr.txt +Source: http://linux.dell.com/efibootmgr/permalink/efibootmgr-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libpci-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A user-space application to modify the Intel Extensible Firmware Interface (EFI) Boot Manager. + +%prep +%setup -q + +%build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +mkdir -p %{buildroot}%{_sbindir} %{buildroot}%{_mandir}/man8 +install -p --mode 755 src/%{name}/%{name} %{buildroot}%{_sbindir} +gzip -9 -c src/man/man8/%{name}.8 > src/man/man8/%{name}.8.gz +touch -r src/man/man8/%{name}.8 src/man/man8/%{name}.8.gz +install -p --mode 644 src/man/man8/%{name}.8.gz %{buildroot}%{_mandir}/man8 + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files +%defattr(-,root,root) +%{_sbindir}/%{name} +%{_mandir}/man8/%{name}.8.gz +%doc AUTHORS COPYING README + +%changelog +* Sat Jan 26 2013 Automatic Build System 0.6.0-1mamba +- automatic version update by autodist + +* Thu Nov 12 2009 Silvan Calarco 0.5.4-1mamba +- package created by autospec