File simh.spec of Package simh

#
# spec file for package simh (Version 3.7_3)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# 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
Group:          System/Emulators/Other
AutoReqProv:    on
Version:        3.7_3
Release:        1
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
* Tue Apr 15 2008 kkaempf@suse.de
- update to v37-3
  bugfix update, see http://simh.trailing-edge.com/changes37.html
  for details.
* Thu Aug 02 2007 kkaempf@suse.de
- update to v37-2
  bugfix update, see http://simh.trailing-edge.com/changes37.html
  for details.
- enable network support.
* Thu Mar 29 2007 kkaempf@suse.de
- unzip is required during build.
* Tue Feb 06 2007 kkaempf@suse.de
- update to 3.7
  added VAX780 emulation.
  See http://simh.trailing-edge.com/changes34.html,
  http://simh.trailing-edge.com/changes35.html,
  http://simh.trailing-edge.com/changes36.html,
  http://simh.trailing-edge.com/changes37.html
  for the complete list of changes since 3.3
* Thu Apr 06 2006 hvogel@suse.de
- define operation on "i" [#160437]
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Tue Jan 25 2005 kkaempf@suse.de
- update to 3.3_1
  lots of fixes for HP2100
  see http://simh.trailing-edge.com/changes33.html for details.
* Fri Aug 13 2004 kkaempf@suse.de
- rename /usr/bin/eclipse to /usr/bin/simh-eclipse, the package
  eclipse already claimed the initial name.
- provide more .txt files as documentation.
* Tue Aug 10 2004 kkaempf@suse.de
- update to 3.2.2
  added LGP-30 (LGP-31) simulator
  see http://simh.trailing-edge.com/changes32.html for details
* Tue Feb 03 2004 kkaempf@suse.de
- update to 3.1-0
  lots of changes, see http://simh.trailing-edge.com/changes30.html
  and http://simh.trailing-edge.com/changes31.html for details
* Sat Jan 10 2004 adrian@suse.de
- build as user
* Fri Jul 25 2003 coolo@suse.de
- use BuildRoot
* Tue Jun 17 2003 kkaempf@suse.de
- update to 2.10-4
  includes all systems in a single .zip file now
  enhanced magtape emulation, .ini file support, line frequency
  clocks, and more.
- compile properly on 32bit archs
* Wed Jan 08 2003 kkaempf@suse.de
- update to 2.10-1
  Added simulators for SDS 940, Interdata (Perkin-Elmer) 16b/32b,
  IBM 1130, IBM 1620, GRI 909
  Further features:
  Telnet console capability, removed VT emulation; DO with
  substitutable arguments; quiet mode; device enable/disable
  support optional simulator for input, output, commands;
  PDP-11 KW11P programmable clock; PDP-11 RK611/RK06/RK07 disk
  PDP-11/VAX TMSCP tape; PDP-11/VAX DELQA Ethernet support
  (from David Hittner); PDP-11/PDP-10 RX211/RX02 floppy disk;
  PDP-11/VAX autoconfiguration support; PDP-10/PDP-11/VAX variable
  vector support; PDP-1 DECtape; PDP-8 RX28 support; HP2100 12845A
  line printer; HP2100 13183 magtape support; HP2100 boot ROM
  support; 16b DECtape file format support; support for statically
  buffered devices; magtape end of medium support; 7B/8B support to
  terminals and multiplexors
* Thu Jun 13 2002 uli@suse.de
- update -> 2.9-10 (All simulators: Widened the POS register for
  serial devices to 32b; PDP11: fixed bugs, added special case for
  PS<15:12> = 1111 to MFPI, removed from MTPI, added masking of
  relocation adds; 1401: added hardware multiply/divide, added 1311
  disk pack, added 1401-like memory dump, fixed bugs, 8 character N
  is legal, 5 and 7 character H are legal, 7 character  H doesn't
  branch)
* Tue Jun 04 2002 uli@suse.de
- update -> 2.9-9 (VAX!)
* Wed Feb 27 2002 uli@suse.de
- made some docs non-world-writable
* Fri Jan 25 2002 uli@suse.de
- initial package
openSUSE Build Service is sponsored by