File mkelfImage.spec of Package mkelfImage

# spec file for package mkelfImage
# Copyright (c) 2017 SUSE LINUX 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:           mkelfImage
Version:        2.5
Release:        0
Summary:        Utility to Create ELF Boot Images from Linux Kernel Images
License:        GPL-2.0+
Group:          Development/Tools/Building
Source0:        %{name}-%{version}.tar.gz
Patch0:         %{name}-%{version}.dif
Patch1:         %{name}-optflags.patch
BuildRequires:  autoconf
BuildRequires:  automake
BuildRequires:  zlib-devel

mkelfImage is a program that makes an ELF boot image for Linux kernel
images. The image should work with any i386 multiboot compliant boot loader
as well as with an ELF boot loader that passes no options. It is compliant
with the LinuxBIOS ELF booting specification or with the Linux kexec kernel
patch.Its key feature is, that nothing relies on BIOS calls, but they are
made when necessary. This is useful for systems running LinuxBIOS.

%setup -q
%patch1 -p1

autoreconf -fiv
make %{?_smp_mflags}