ms-sys/ms-sys.spec

73 lines
2.2 KiB
RPMSpec

Name: ms-sys
Version: 2.8.0
Release: 1mamba
Summary: A Linux program for writing Microsoft compatible boot records
Group: System/Kernel and Hardware
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://ms-sys.sourceforge.net/
Source: http://downloads.sourceforge.net/project/ms-sys/ms-sys%20stable/%{version}/ms-sys-%{version}.tar.gz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
Requires(post):%{__install_info}
%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.
%debug_package
%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} --with-man
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}.lang
%defattr(-,root,root)
%{_bindir}/%{name}
%{_mandir}/man1/*
%doc COPYING CONTRIBUTORS
#% doc CHANGELOG README TODO
%changelog
* Mon Oct 17 2022 Automatic Build System <autodist@mambasoft.it> 2.8.0-1mamba
- automatic version update by autodist
* Sun Aug 29 2021 Automatic Build System <autodist@mambasoft.it> 2.6.0-1mamba
- automatic version update by autodist
* Sun Dec 13 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 2.4.1-1mamba
- update to 2.4.1
* Tue May 14 2013 Automatic Build System <autodist@mambasoft.it> 2.3.0-1mamba
- update to 2.3.0
* Wed Jan 26 2011 Automatic Build System <autodist@mambasoft.it> 2.2.1-1mamba
- automatic update by autodist
* Fri Jun 04 2010 Automatic Build System <autodist@mambasoft.it> 2.2.0-1mamba
- update to 2.2.0
* Tue Jan 27 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
- automatic update by autodist
* Sat Nov 17 2007 Stefano Cotta Ramusino <stefano.cotta@openmamba.org> 2.1.2-1mamba
- package created by autospec