1 |
%define name BasiliskII |
2 |
%define version 0.8 |
3 |
%define release 1 |
4 |
|
5 |
Summary: 68k Macintosh emulator |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Copyright: GPL |
10 |
Group: Applications/Emulators |
11 |
Source: %{name}_src_10102000.tar.gz |
12 |
URL: http://www.uni-mainz.de/~bauec002/B2Main.html |
13 |
BuildRoot: %{_tmppath}/%{name}-root |
14 |
Prefix: %{_prefix} |
15 |
|
16 |
%description |
17 |
Basilisk II is an Open Source 68k Macintosh emulator. That is, it enables |
18 |
you to run 68k MacOS software on you computer, even if you are using a |
19 |
different operating system. However, you still need a copy of MacOS and |
20 |
a Macintosh ROM image to use Basilisk II. |
21 |
|
22 |
Some features of Basilisk II: |
23 |
- Emulates either a Mac Classic (which runs MacOS 0.x thru 7.5) |
24 |
or a Mac II series machine (which runs MacOS 7.x, 8.0 and 8.1), |
25 |
depending on the ROM being used |
26 |
- Color video display |
27 |
- CD quality sound output |
28 |
- Floppy disk driver (only 1.44MB disks supported) |
29 |
- Driver for HFS partitions and hardfiles |
30 |
- CD-ROM driver with basic audio functions |
31 |
- Easy file exchange with the host OS via a "Host Directory Tree" icon |
32 |
on the Mac desktop |
33 |
- Ethernet driver |
34 |
- Serial drivers |
35 |
- SCSI Manager (old-style) emulation |
36 |
- Emulates extended ADB keyboard and 3-button mouse |
37 |
- Uses UAE 68k emulation or (under AmigaOS and NetBSD/m68k) real 68k |
38 |
processor |
39 |
|
40 |
%prep |
41 |
%setup -q |
42 |
|
43 |
%build |
44 |
cd src/Unix |
45 |
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} |
46 |
if [ -x /usr/bin/getconf ] ; then |
47 |
NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN) |
48 |
if [ $NCPU -eq 0 ] ; then |
49 |
NCPU=1 |
50 |
fi |
51 |
else |
52 |
NCPU=1 |
53 |
fi |
54 |
PARL=$[ $NCPU + 1 ] |
55 |
make -j $PARL |
56 |
|
57 |
%install |
58 |
rm -rf ${RPM_BUILD_ROOT} |
59 |
cd src/Unix |
60 |
make DESTDIR=${RPM_BUILD_ROOT} install |
61 |
|
62 |
%clean |
63 |
rm -rf ${RPM_BUILD_ROOT} |
64 |
|
65 |
%files |
66 |
%defattr(-,root,root) |
67 |
%doc ChangeLog COPYING INSTALL README TECH TODO |
68 |
%{_bindir}/BasiliskII |
69 |
%{_mandir}/man1/BasiliskII.1 |
70 |
%{_datadir}/BasiliskII/keycodes |
71 |
%{_datadir}/BasiliskII/fbdevices |