File makebootfat.spec of Package makebootfat
#
# spec file for package makebootfat (Version 1.4)
#
# Copyright (c) 2009 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 http://bugs.opensuse.org/
#
# norootforbuild
Name: makebootfat
BuildRequires: nasm
Url: http://advancemame.sourceforge.net
License: GPL v2 or later
Group: System/Boot
AutoReqProv: on
ExclusiveArch: %ix86
Summary: Create Bootable FAT File Systems
Version: 1.4
Release: 130
Source: %{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Create bootable FAT file systems, mainly for USB disks.
Authors:
--------
Andrea Mazzoleni <amadvance@users.sourceforge.net>
%prep
%setup
rm -f mbrfat.bin
%build
./configure --prefix=%{_prefix} --mandir=%{_mandir}
make mbrfat.bin
make
%install
make DESTDIR=%{buildroot} install
mkdir -p %{buildroot}/%{_prefix}/lib/makebootfat
install -m 644 mbrfat.bin %{buildroot}/%{_prefix}/lib/makebootfat
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root)
%{_prefix}/bin/makebootfat
%{_prefix}/lib/makebootfat
%{_mandir}/man1/makebootfat.1.gz
%doc README COPYING HISTORY
%changelog
* Fri Jan 09 2009 olh@suse.de
- use ExclusiveArch as in /SRC/arch/
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jul 28 2005 snwint@suse.de
- file list fixed
* Tue Jul 26 2005 snwint@suse.de
- moved mbrfat.bin into separate directory
* Mon Jul 25 2005 snwint@suse.de
- initial version