X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=efibootmgr.spec;h=6990bcd5180e918a41ac9139e616afd112397097;hb=47bdcea4622d29412752da2b575a64e352059030;hp=45627e9169c25f4bd872dfaf14b7474e28101715;hpb=98db23750431fa650821f391aca2ce1898cb8020;p=debian%2Fefibootmgr diff --git a/efibootmgr.spec b/efibootmgr.spec index 45627e9..6990bcd 100644 --- a/efibootmgr.spec +++ b/efibootmgr.spec @@ -1,36 +1,54 @@ Summary: EFI Boot Manager Name: efibootmgr -Version: 0.4.1 -Release: 0 +Version: 0.5.4 +Release: 1%{?dist} Group: System Environment/Base -Copyright: GPL -Vendor: Dell Computer Corporation www.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://domsch.com/linux/ia64/efibootmgr/efibootmgr-%{version}.tar.gz +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 + * Fri May 18 2001 Matt Domsch - See doc/ChangeLog