File makebootfat.spec of Package makebootfat

# spec file for package makebootfat
# Copyright (c) 2015 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:           makebootfat
Version:        1.4
Release:        0
Summary:        Create Bootable FAT File Systems
License:        GPL-2.0+
Group:          System/Boot
BuildRequires:  nasm
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
ExclusiveArch:  %ix86

Create bootable FAT file systems, mainly for USB disks.

%setup -q
  rm -f mbrfat.bin

  make mbrfat.bin %{?_smp_mflags}
  make %{?_smp_mflags}

make DESTDIR=%{buildroot} install %{?_smp_mflags}
  mkdir -p %{buildroot}/%{_libexecdir}/makebootfat
  install -m 644 mbrfat.bin %{buildroot}/%{_libexecdir}/makebootfat