efibootmgr/efibootmgr.spec

63 lines
2.0 KiB
RPMSpec
Raw Normal View History

Name: efibootmgr
Version: 0.11.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: https://github.com/vathpela/efibootmgr.git/efibootmgr-%{version}/efibootmgr-%{version}.tar.bz2
#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
BuildRequires: libefivar-devel
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
* Wed Nov 12 2014 Automatic Build System <autodist@mambasoft.it> 0.11.0-1mamba
- automatic version update by autodist
* Thu Oct 09 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.8.0-1mamba
- update to 0.8.0
* Mon Jul 28 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.0-1mamba
- update to 0.7.0
* 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