efibootmgr/efibootmgr.spec

52 lines
1.6 KiB
RPMSpec
Raw Permalink Normal View History

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 <silvan.calarco@mambasoft.it>
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 <autodist@mambasoft.it> 0.6.0-1mamba
- automatic version update by autodist
* Thu Nov 12 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 0.5.4-1mamba
- package created by autospec