forked from d-iii-s/msim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmsim-git.rpkg.spec
42 lines (33 loc) · 1.16 KB
/
msim-git.rpkg.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Summary: A virtual machine simulator based on a MIPS R4000 and RISC-V processor
Name: {{{ git_name name="msim-git" }}}
Version: {{{ git_version lead=2.3.1 }}}
Release: 1%{?dist}
License: GPLv2+
Group: Development/Tools
URL: https://d3s.mff.cuni.cz/software/msim/
VCS: {{{ git_dir_vcs }}}
Source: {{{ git_dir_pack }}}
Requires: readline
BuildRequires: readline-devel, makedepend, diffutils
%description
MSIM is a light-weight computer simulator based on MIPS R4000 and RISC-V.
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.
%global debug_package %{nil}
%define pkgdocdir %{_datadir}/doc/%{name}-%{version}
%prep
{{{ git_setup_macro dir_name="msim" }}}
%build
./configure --prefix=%{_prefix}
make
%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
%files
%defattr(-,root,root)
%{_bindir}/msim
%changelog