File shim.spec of Package shim

# spec file for package shim
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           shim
Version:        0.2
Release:        0
Summary:        UEFI shim loader
License:        BSD-2-Clause
Group:          System/Boot
Source:         shim-12.3-update.tar.xz
Source3:        shim-install
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
Recommends:     grub2-efi
ExclusiveArch:  x86_64

shim is a trivial EFI application that, when run, attempts to open and
execute another application.

    Matthew Garrett <>



install -d %{buildroot}/%{_sbindir}
install -m 755 %{SOURCE3} %{buildroot}/%{_sbindir}/
cd %{buildroot}
tar xvf %{S:0}

/sbin/update-bootloader --refresh || true

%dir %{_libdir}/efi

openSUSE Build Service is sponsored by