Name: msim-git Version: 0.0.git.260.703b27e Release: 1%{?dist} Summary: A virtual machine simulator based on a MIPS R4000 processor License: GPLv2+ Group: Development/Tools URL: http://d3s.mff.cuni.cz/~holub/sw/msim/ VCS: git+https://github.com/D-iii-S/msim.git#703b27efe8de81053d11f3443064f68bb16cbd8f: Source: msim-git-0.0.git.260.703b27e.tar.gz Requires: readline BuildRequires: readline-devel, makedepend, diffutils %description MSIM is a light-weight computer simulator based on MIPS R4000. It is used for education and research purposes, mainly to teach the construction and implementation of operating systems. MSIM is distributed with source code under the GNU GPL license to make possible modifications for users and works on most POSIX-compliance environments (mainly GNU/Linux, Mac OS X, but can be also compiled in Cygwin or MinGW in Windows). The user interface is simple terminal-style. %define pkgdocdir %{_datadir}/doc/%{name}-%{version} %prep %setup -q %build ./configure --prefix=%{_prefix} make %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_bindir}/ mkdir -p $RPM_BUILD_ROOT%{pkgdocdir}/ install -m 0755 msim $RPM_BUILD_ROOT%{_bindir}/ install -m 0644 -t $RPM_BUILD_ROOT%{pkgdocdir}/ doc/reference.html doc/default.css %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root) %doc %{pkgdocdir} %{_bindir}/msim %changelog