File simh.spec of Package simh

#
# spec file for package simh (Version 3.7_3)
#
# Copyright (c) 2009 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/
#

# norootforbuild


Name:           simh
BuildRequires:  libpcap-devel unzip
Url:            http://simh.trailing-edge.com/
License:        BSD 3-clause (or similar)
Group:          System/Emulators/Other
AutoReqProv:    on
Version:        3.7_3
Release:        35
Summary:        A collection of simulators of historically significant data processing systems
Source:         simhv37-3.zip
Source1:        uv7swre.tar.bz2
Patch:          simhv37-3.dif
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
This package contains simulators of the following systems:

Data General Nova

Data General Eclipse

Digital Equipment Corporation PDP-1

Digital Equipment Corporation PDP-4

Digital Equipment Corporation PDP-7

Digital Equipment Corporation PDP-8

Digital Equipment Corporation PDP-9

Digital Equipment Corporation PDP-10

Digital Equipment Corporation PDP-11

Digital Equipment Corporation PDP-15

Digital Equipment Corporation PDP-18B

IBM 1401

IBM System 3

Hewlett-Packard HP 2100

Honeywell H316

MITS Altair 8800

A disk image with UNIX V7 for the PDP-11 is included, instructions on
how to make it work can be found in the file
/usr/share/doc/packages/simh/simh_swre.txt in chapter 2.1.3.

A selection of software for other systems can be found at The Computer
History Simulation Project at http://simh.trailing-edge.com/



Authors:
--------
    Bob Supnik
    Charles Owen
    Peter Schorn

%prep
%setup -c -T -a 1
unzip -a %SOURCE0
%patch
#for i in `find -name "*.[ch]"` makefile
#do
#	recode ibmpc..lat1 $i || true
#done

%build
mkdir -p BIN
USE_NETWORK=1 make

%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/usr/bin
install -m 755 BIN/* $RPM_BUILD_ROOT/usr/bin
chmod 644 *.txt SDS/*.txt Interdata/*.txt

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%doc *.txt Disks */*txt
/usr/bin/altair
/usr/bin/altairz80
/usr/bin/simh-eclipse
/usr/bin/gri
/usr/bin/h316
/usr/bin/hp2100
/usr/bin/i1401
/usr/bin/i1620
/usr/bin/i7094
/usr/bin/ibm1130
/usr/bin/id16
/usr/bin/id32
/usr/bin/lgp
/usr/bin/nova
/usr/bin/pdp1
/usr/bin/pdp10
/usr/bin/pdp11
/usr/bin/pdp15
/usr/bin/pdp4
/usr/bin/pdp7
/usr/bin/pdp8
/usr/bin/pdp9
/usr/bin/s3
/usr/bin/sds
/usr/bin/vax
/usr/bin/vax780

%changelog
openSUSE Build Service is sponsored by