2000-10-05 17:24:47 +00:00
|
|
|
%define name BasiliskII
|
2002-01-15 14:58:43 +00:00
|
|
|
%define version 1.0
|
2000-10-05 17:24:47 +00:00
|
|
|
%define release 1
|
1999-12-22 17:24:59 +00:00
|
|
|
|
2000-10-10 21:14:22 +00:00
|
|
|
Summary: 68k Macintosh emulator
|
2000-10-05 17:24:47 +00:00
|
|
|
Name: %{name}
|
|
|
|
Version: %{version}
|
|
|
|
Release: %{release}
|
1999-10-03 14:16:26 +00:00
|
|
|
Copyright: GPL
|
1999-12-22 17:24:59 +00:00
|
|
|
Group: Applications/Emulators
|
2002-01-15 14:58:43 +00:00
|
|
|
Source: %{name}_src_15012002.tar.gz
|
1999-12-22 17:24:59 +00:00
|
|
|
URL: http://www.uni-mainz.de/~bauec002/B2Main.html
|
2000-10-05 17:24:47 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-root
|
2000-10-11 18:07:05 +00:00
|
|
|
|
|
|
|
# While the data file path (/usr/share/BasiliskII) is compiled into the
|
|
|
|
# executable, the data files are not required for operation and their location
|
|
|
|
# can be overridden with prefs items, so I consider this package to be
|
|
|
|
# relocatable.
|
2000-10-05 17:24:47 +00:00
|
|
|
Prefix: %{_prefix}
|
1999-10-03 14:16:26 +00:00
|
|
|
|
|
|
|
%description
|
2000-10-10 21:14:22 +00:00
|
|
|
Basilisk II is an Open Source 68k Macintosh emulator. That is, it enables
|
|
|
|
you to run 68k MacOS software on you computer, even if you are using a
|
|
|
|
different operating system. However, you still need a copy of MacOS and
|
|
|
|
a Macintosh ROM image to use Basilisk II.
|
1999-10-03 14:16:26 +00:00
|
|
|
|
|
|
|
Some features of Basilisk II:
|
|
|
|
- Emulates either a Mac Classic (which runs MacOS 0.x thru 7.5)
|
|
|
|
or a Mac II series machine (which runs MacOS 7.x, 8.0 and 8.1),
|
|
|
|
depending on the ROM being used
|
|
|
|
- Color video display
|
|
|
|
- CD quality sound output
|
|
|
|
- Floppy disk driver (only 1.44MB disks supported)
|
|
|
|
- Driver for HFS partitions and hardfiles
|
|
|
|
- CD-ROM driver with basic audio functions
|
1999-10-21 18:29:08 +00:00
|
|
|
- Easy file exchange with the host OS via a "Host Directory Tree" icon
|
|
|
|
on the Mac desktop
|
1999-10-03 14:16:26 +00:00
|
|
|
- Ethernet driver
|
|
|
|
- Serial drivers
|
|
|
|
- SCSI Manager (old-style) emulation
|
|
|
|
- Emulates extended ADB keyboard and 3-button mouse
|
2000-10-10 21:14:22 +00:00
|
|
|
- Uses UAE 68k emulation or (under AmigaOS and NetBSD/m68k) real 68k
|
|
|
|
processor
|
1999-10-03 14:16:26 +00:00
|
|
|
|
|
|
|
%prep
|
2000-10-05 17:24:47 +00:00
|
|
|
%setup -q
|
1999-10-03 14:16:26 +00:00
|
|
|
|
|
|
|
%build
|
|
|
|
cd src/Unix
|
2000-10-10 18:54:34 +00:00
|
|
|
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir}
|
2000-10-05 17:24:47 +00:00
|
|
|
if [ -x /usr/bin/getconf ] ; then
|
|
|
|
NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN)
|
|
|
|
if [ $NCPU -eq 0 ] ; then
|
|
|
|
NCPU=1
|
|
|
|
fi
|
|
|
|
else
|
|
|
|
NCPU=1
|
1999-12-22 17:24:59 +00:00
|
|
|
fi
|
2000-10-05 17:24:47 +00:00
|
|
|
PARL=$[ $NCPU + 1 ]
|
|
|
|
make -j $PARL
|
1999-10-03 14:16:26 +00:00
|
|
|
|
|
|
|
%install
|
2000-10-05 17:24:47 +00:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
1999-10-03 16:21:28 +00:00
|
|
|
cd src/Unix
|
2000-10-10 18:54:34 +00:00
|
|
|
make DESTDIR=${RPM_BUILD_ROOT} install
|
1999-12-22 17:24:59 +00:00
|
|
|
|
|
|
|
%clean
|
2000-10-05 17:24:47 +00:00
|
|
|
rm -rf ${RPM_BUILD_ROOT}
|
1999-10-03 14:16:26 +00:00
|
|
|
|
|
|
|
%files
|
2000-10-05 17:24:47 +00:00
|
|
|
%defattr(-,root,root)
|
1999-10-03 17:11:52 +00:00
|
|
|
%doc ChangeLog COPYING INSTALL README TECH TODO
|
2000-10-05 17:24:47 +00:00
|
|
|
%{_bindir}/BasiliskII
|
2001-01-02 21:03:27 +00:00
|
|
|
%{_mandir}/man1/BasiliskII.1*
|
2000-10-11 18:07:05 +00:00
|
|
|
%config %{_datadir}/BasiliskII/keycodes
|
|
|
|
%config %{_datadir}/BasiliskII/fbdevices
|