X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=efibootmgr.spec;fp=efibootmgr.spec;h=6990bcd5180e918a41ac9139e616afd112397097;hb=438378f384ede73602fcdfd288e45ac41d933bb0;hp=5a8b832ee80108b9428bc1b0cfec6b70d3c3e999;hpb=5a32ac6f167fe2ffdd5711ceafe2b39db8ad1ce0;p=debian%2Fefibootmgr diff --git a/efibootmgr.spec b/efibootmgr.spec index 5a8b832..6990bcd 100644 --- a/efibootmgr.spec +++ b/efibootmgr.spec @@ -1,38 +1,52 @@ Summary: EFI Boot Manager Name: efibootmgr -Version: 0.5.0 -Release: 0 +Version: 0.5.4 +Release: 1%{?dist} Group: System Environment/Base -Copyright: GPL -Vendor: Dell linux.dell.com -Packager: Matt Domsch +License: GPLv2+ +URL: http://linux.dell.com/%{name}/ +BuildRequires: pciutils-devel, zlib-devel +BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXXXX) +# EFI/UEFI don't exist on PPC +ExclusiveArch: i386 x86_64 ia64 +# for RHEL / Fedora when efibootmgr was part of the elilo package +Conflicts: elilo < 3.6-6 +Obsoletes: elilo < 3.6-6 -Source0: http://linux.dell.com/efibootmgr/permalink/efibootmgr-%{version}.tar.gz -Source1: http://linux.dell.com/efibootmgr/permalink/efibootmgr-%{version}.tar.gz.sign +Source0: http://linux.dell.com/%{name}/permalink/%{name}-%{version}.tar.gz %description -efibootmgr displays and allows the user to edit the Intel Extensible +%{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. +http://developer.intel.com/technology/efi/efi.htm and http://uefi.org/. %prep -%setup +%setup -q %build -make +make %{?_smp_mflags} EXTRA_CFLAGS='%{optflags}' %install -install --group=root --owner=root --mode 555 src/efibootmgr/efibootmgr $RPM_BUILD_ROOT/usr/sbin -install --group=root --owner=root --mode 444 src/man/man8/efibootmgr.8 $RPM_BUILD_ROOT/usr/share/man/man8 +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 -%files -/usr/sbin/efibootmgr -/usr/share/man/man8/efibootmgr.8 -%doc README -%doc INSTALL +%clean +rm -rf %{buildroot} +%files +%defattr(-,root,root,-) +%{_sbindir}/%{name} +%{_mandir}/man8/%{name}.8.gz +%doc README INSTALL COPYING %changelog +* Thu Jan 3 2008 Matt Domsch 0.5.4-1 +- split efibootmgr into its own RPM for Fedora/RHEL. + * Thu Aug 24 2004 Matt Domsch - new home linux.dell.com