From 256168394d87c7e5b7391e5d57413575f10dfe61 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 07:21:24 +0100 Subject: [PATCH] update to 2.3.0 [release 2.3.0-1mamba;Tue May 14 2013] --- README.md | 3 +++ ms-sys.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+) create mode 100644 ms-sys.spec diff --git a/README.md b/README.md index cab37c3..9c8de82 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,5 @@ # ms-sys +ms-sys is a Linux program for writing Microsoft compatible boot records. +The program does the same as Microsoft "fdisk /mbr" to a hard disk or "sys d:" to a floppy or FAT partition except that it does not copy any system files, only the boot record is written. + diff --git a/ms-sys.spec b/ms-sys.spec new file mode 100644 index 0000000..a0271c2 --- /dev/null +++ b/ms-sys.spec @@ -0,0 +1,59 @@ +Name: ms-sys +Version: 2.3.0 +Release: 1mamba +Summary: A Linux program for writing Microsoft compatible boot records +Group: System/Kernel and Hardware +Vendor: openmamba +Distribution: openmamba +Packager: Stefano Cotta Ramusino +URL: http://ms-sys.sourceforge.net/ +Source: http://downloads.sourceforge.net/project/ms-sys/ms-sys%20development/%{version}/ms-sys-%{version}.tar.gz +#Source: http://downloads.sourceforge.net/project/ms-sys/ms-sys%20stable/%{version}/ms-sys-%{version}.tar.gz +License: GPL +Requires(post):%{__install_info} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +ms-sys is a Linux program for writing Microsoft compatible boot records. +The program does the same as Microsoft "fdisk /mbr" to a hard disk or "sys d:" to a floppy or FAT partition except that it does not copy any system files, only the boot record is written. + +%prep +%setup -q + +%build +%make \ + EXTRA_CFLAGS="%{optflags}" + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeoldinstall \ + BINDIR=%{buildroot}%{_bindir} \ + LOCALEDIR=%{buildroot}%{_datadir}/locale \ + MANDIR=%{buildroot}%{_mandir} + +%find_lang %{name} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%files -f %{name}.lang +%defattr(-,root,root) +%{_bindir}/%{name} +%{_mandir}/man1/* +%doc CHANGELOG CONTRIBUTORS COPYING README TODO + +%changelog +* Tue May 14 2013 Automatic Build System 2.3.0-1mamba +- update to 2.3.0 + +* Wed Jan 26 2011 Automatic Build System 2.2.1-1mamba +- automatic update by autodist + +* Fri Jun 04 2010 Automatic Build System 2.2.0-1mamba +- update to 2.2.0 + +* Tue Jan 27 2009 Silvan Calarco 2.1.3-1mamba +- automatic update by autodist + +* Sat Nov 17 2007 Stefano Cotta Ramusino 2.1.2-1mamba +- package created by autospec