347764f414
- Make -o parameter validation work better and be more informative - Better exit values - Fix a segfault with appending ascii arguments. Signed-off-by: Peter Jones <pjones@redhat.com>
94 lines
3.0 KiB
RPMSpec
94 lines
3.0 KiB
RPMSpec
Summary: EFI Boot Manager
|
|
Name: efibootmgr
|
|
Version: 0.10.0
|
|
Release: 1%{?dist}
|
|
Group: System Environment/Base
|
|
License: GPLv2+
|
|
URL: https://github.com/vathpela/%{name}/
|
|
BuildRequires: pciutils-devel, zlib-devel, git
|
|
BuildRequires: efivar-libs efivar-devel
|
|
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX)
|
|
# EFI/UEFI don't exist on PPC
|
|
ExclusiveArch: %{ix86} x86_64 aarch64
|
|
Requires: efivar-libs >= 0.8
|
|
|
|
# for RHEL / Fedora when efibootmgr was part of the elilo package
|
|
Conflicts: elilo < 3.6-6
|
|
Obsoletes: elilo < 3.6-6
|
|
|
|
Source0: https://github.com/vathpela/%{name}/releases/download/%{name}-%{version}/%{name}-%{version}.tar.bz2
|
|
|
|
%description
|
|
%{name} displays and allows the user to edit the Intel Extensible
|
|
Firmware Interface (EFI) Boot Manager variables. Additional
|
|
information about EFI can be found at
|
|
http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/.
|
|
|
|
%prep
|
|
%setup -q
|
|
git init
|
|
git config user.email "%{name}-owner@fedoraproject.org"
|
|
git config user.name "Fedora Ninjas"
|
|
git add .
|
|
git commit -a -q -m "%{version} baseline."
|
|
git am %{patches} </dev/null
|
|
|
|
%build
|
|
make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}'
|
|
%install
|
|
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
|
|
rm -rf %{buildroot}
|
|
|
|
%files
|
|
%defattr(-,root,root,-)
|
|
%{_sbindir}/%{name}
|
|
%{_mandir}/man8/%{name}.8.gz
|
|
%doc README INSTALL COPYING
|
|
|
|
%changelog
|
|
* Mon Oct 20 2014 Peter Jones <pjones@redhat.com> - 0.10.0-1
|
|
- Update to 0.10.0
|
|
- Make -o parameter validation work better and be more informative
|
|
- Better exit values
|
|
- Fix a segfault with appending ascii arguments.
|
|
|
|
* Tue Oct 14 2014 Peter Jones <pjones@redhat.com> - 0.9.0-1
|
|
- Update to 0.9.0
|
|
|
|
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-5
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
* Fri Aug 01 2014 Peter Jones <pjones@redhat.com> - 0.7.0-4
|
|
- Rebase to current upstream master (in preperation for 0.8.0)
|
|
|
|
* Thu Jun 19 2014 Peter Jones <pjones@redhat.com> - 0.7.0-3
|
|
- Reinstate an accidentally dropped hack to avoid apple brain damage.
|
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.0-2
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
* Tue Apr 01 2014 Peter Jones <pjones@redhat.com> - 0.7.0-1{?dist}
|
|
- Release 0.7
|
|
|
|
* Mon Jan 13 2014 Peter Jones <pjones@redhat.com> - 0.6.1-1
|
|
- Release 0.6.1
|
|
|
|
* Mon Jan 13 2014 Jared Dominguez <Jared_Dominguez@dell.com>
|
|
- new home https://github.com/vathpela/efibootmgr
|
|
|
|
* Thu Jan 3 2008 Matt Domsch <Matt_Domsch@dell.com> 0.5.4-1
|
|
- split efibootmgr into its own RPM for Fedora/RHEL.
|
|
|
|
* Tue Aug 24 2004 Matt Domsch <Matt_Domsch@dell.com>
|
|
- new home linux.dell.com
|
|
|
|
* Fri May 18 2001 Matt Domsch <Matt_Domsch@dell.com>
|
|
- See doc/ChangeLog
|