X-Git-Url: http://git.pld-linux.org/?p=packages%2Fefi-boot-update.git;a=blobdiff_plain;f=efi-boot-update.spec;h=297c7b0c67fd315b2d98a2458ee45fcbaf884ec9;hp=505ba152dac4751c40641d99b2bc0deac30a7415;hb=7dca6d58e3ee4e5236dfd474e80c65eb40aa8f18;hpb=1ef784d842f20125b8e94b061bf718fdd27a036c diff --git a/efi-boot-update.spec b/efi-boot-update.spec index 505ba15..297c7b0 100644 --- a/efi-boot-update.spec +++ b/efi-boot-update.spec @@ -1,22 +1,23 @@ # $Revision: 1.81 $, $Date: 2012/04/20 10:52:52 $ -# Summary: EFI bootloader updater +Summary(pl.UTF-8): Skrypt do uaktualniania bootloaderów EFI Name: efi-boot-update Version: 0.1 -Release: 0.1 +Release: 2 License: GPL v2 -Group: Applications +Group: Applications/System Source0: %{name} Source1: update.conf -Source2: shellx64.conf -Source3: shellia32.conf -Source4: grub.conf -Source5: grub-installed.conf +Source2: grub.conf +Source3: grub-installed.conf +Source4: kernel.conf +Source5: kernel-old.conf Source10: README Source11: TODO URL: http://www.pld-linux.org/ BuildRequires: help2man Suggests: efibootmgr +Suggests: efi-shell-x64 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %define _sbindir /sbin @@ -24,6 +25,9 @@ BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Script to update EFI bootloaders. +%description -l pl.UTF-8 +Skrypt do uaktualniania bootloaderów EFI. + %prep %setup -qcT cp %{SOURCE0} . @@ -41,18 +45,18 @@ install -d $RPM_BUILD_ROOT{/lib/efi/{ia32,x64},%{_sbindir},%{_mandir}/man8} install %{name} $RPM_BUILD_ROOT%{_sbindir}/%{name} install %{name}.8 $RPM_BUILD_ROOT%{_mandir}/man8/%{name}.8 install %{SOURCE1} $RPM_BUILD_ROOT/etc/efi-boot -install %{SOURCE2} %{SOURCE3} %{SOURCE4} %{SOURCE5} \ - $RPM_BUILD_ROOT/etc/efi-boot/update.d +install %{SOURCE2} %{SOURCE3} $RPM_BUILD_ROOT/etc/efi-boot/update.d +install %{SOURCE4} %{SOURCE5} $RPM_BUILD_ROOT/etc/efi-boot/update.d %clean rm -rf $RPM_BUILD_ROOT # Most efi-boot-update-managed loaders will use kernel files -# even if the kernel itself is not build as EFI +# even if the kernel itself is not built as EFI %triggerin -- kernel -/sbin/efi-boot-update || : +/sbin/efi-boot-update --auto || : %triggerin -- kernel-longterm -/sbin/efi-boot-update || : +/sbin/efi-boot-update --auto || : %files %defattr(644,root,root,755) @@ -60,8 +64,11 @@ rm -rf $RPM_BUILD_ROOT %attr(755,root,root) %{_sbindir}/%{name} %dir /etc/efi-boot %config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.conf -%config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/*.conf %dir /etc/efi-boot/update.d +%config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/grub.conf +%config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/grub-installed.conf +%config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/kernel.conf +%config(noreplace) %verify(not md5 mtime size) /etc/efi-boot/update.d/kernel-old.conf %dir /lib/efi %dir /lib/efi/ia32 %dir /lib/efi/x64