ms-sys/ms-sys.spec

60 lines
1.9 KiB
RPMSpec
Raw Permalink Normal View History

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 <stefano.cotta@openmamba.org>
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 <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