LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File MOPS.spec of Package MOPS (Project home:jnweiger)

#
# spec file for package 
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

Name:           MOPS
Version:	1.00
Release:	0
License:	SUSE-Permissive
Summary:	Simulator of an van-Neuman-Machine
Url:		http://www.viktorianer.de/info/info-mops.html
Group:		Education	# missing group
Group:		Amusements/Toys/Other
Source:		http://www.viktorianer.de/info/software/mops-100-linux.zip
Source1:	MOPS.sh
Source2:	rueckwaerts_zaehlen.ass
Source3:	a_plus_b.ass
Source4:	bitshift.ass

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:	unzip
Requires:	python3 >= 3.2.0
Requires:	python3 < 3.3.0
Requires:	python3-tk
# just catch them early:
BuildRequires:	python3 >= 3.2.0
BuildRequires:	python3 < 3.3.0
BuildRequires:	python3-tk
# BuildArch:	i586
BuildArch:	noarch
%define my_libdir /usr/lib

%description
Didaktisch ausgerichteter, wie ein Von-Neumann-Rechner (VNR) aufgebauter
Modellrechner mit Pseudo-Assembler, da der Rechner lediglich einen Pseudo-Code
erstellt, keine echte Assemblierung durchführt und keinen echten Maschinencode
erzeugt; enthält zudem einen einfachen Quelltext-Editor; Modellrechner
simulieren in vereinfachter Form die Abläufe in einem realen Rechner mit dem
Ziel, die Abläufe verständlich und nachvollziehbar zu machen.

See example programs under %{my_libdir}/MOPS/*.ass
See documentation in %{datadir}/mops.pdf

%prep
%setup -n mops-1.00-linux
cp %{SOURCE1} %{SOURCE2} %{SOURCE3} %{SOURCE4} .

%build

%install
mkdir -p %{buildroot}%{my_libdir}/MOPS
install *.pyc mops.cfg *.ass %{buildroot}%{my_libdir}/MOPS
mkdir -p %{buildroot}%{_bindir}
install MOPS.sh %{buildroot}%{_bindir}/MOPS

%files
%defattr(-,root,root)
%doc mops-linux.howto mops.pdf
%{_bindir}/*
%{my_libdir}/*

%changelog