ms-sys/ms-sys.spec

Name: ms-sys
Summary: Create DOS/MS-compatible boot records
Version: 2.3.0
Release: 1
License: GPL
Group: Applications/System
URL: http://ms-sys.sourceforge.net/
Description: This program is used to create DOS/MS-compatible boot records. It is able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is also able to do the same as DOS "sys" to a floppy or FAT32 partition except that it does not copy any system files, only the boot record is written.

CentOS 7 x86_64

The build could not start because the following file is missing: ms-sys-2.3.0.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: ms-sys-2.3.0.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag
# Upstream: Henrik Carlqvist <henca$users,sf,net>

Summary: Create DOS/MS-compatible boot records
Name: ms-sys
Version: 2.3.0
Release: 1%{?dist}
License: GPL
Group: Applications/System
URL: http://ms-sys.sourceforge.net/

Source: http://dl.sf.net/ms-sys/ms-sys-%{version}.tar.gz
BuildRequires: bash
BuildRequires: gettext
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

%description
This program is used to create DOS/MS-compatible boot records. It is
able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is
also able to do the same as DOS "sys" to a floppy or FAT32 partition
except that it does not copy any system files, only the boot record is
written.

%prep
%setup

%build
%{__make} debug \
    CC="${CC:-%{__cc}}" \
    EXTRA_CFLAGS="%{optflags} -fasm" \
    EXTRA_LDFLAGS="%{optflags}" \
    PREFIX="%{_prefix}" \
    SHELL="/bin/bash"

%install
%{__rm} -rf %{buildroot}
%{__make} install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}"
%find_lang %{name}

%clean
%{__rm} -rf %{buildroot}

%files -f %{name}.lang
%defattr(-, root, root, 0755)
%doc CHANGELOG CONTRIBUTORS COPYING FAQ README TODO
%doc %{_mandir}/man1/ms-sys.1*
%{_bindir}/ms-sys

%changelog
* Sun Apr 08 2012 Dag Wieers <dag@wieers.com> - 2.3.0-1
- Updated to release 2.3.0.

* Wed Jan 26 2011 Dag Wieers <dag@wieers.com> - 2.2.1-1
- Updated to release 2.2.1.

* Fri May 14 2010 Dag Wieers <dag@wieers.com> - 2.2.0-1
- Updated to release 2.2.0.

* Sun Mar 21 2010 Dag Wieers <dag@wieers.com> - 2.1.5-1
- Updated to release 2.1.5.

* Thu Oct 22 2009 Dag Wieers <dag@wieers.com> - 2.1.4-1
- Updated to release 2.1.4.

* Mon Dec 31 2007 Dag Wieers <dag@wieers.com> - 2.1.3-1
- Updated to release 2.1.3.

* Sat Nov 26 2005 Dag Wieers <dag@wieers.com> - 2.1.2-1
- Updated to release 2.1.2.

* Thu Aug 04 2005 Dag Wieers <dag@wieers.com> - 2.1.1-1
- Updated to release 2.1.1.

* Sun Jun 06 2004 Dag Wieers <dag@wieers.com> - 2.0.0-1
- Updated to release 2.0.0.

* Mon Mar 22 2004 Dag Wieers <dag@wieers.com> - 1.0.2-1
- Initial package. (using DAR)