1 |
%define name BasiliskII |
2 |
%define version 0.8 |
3 |
%define release 1 |
4 |
|
5 |
Summary: Free, portable 68k Macintosh emulator |
6 |
Name: %{name} |
7 |
Version: %{version} |
8 |
Release: %{release} |
9 |
Copyright: GPL |
10 |
Group: Applications/Emulators |
11 |
Source: %{name}_src_05102000.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 a free, portable, Open Source 68k Macintosh emulator. It |
18 |
requires a copy of a Mac ROM and a copy of MacOS to run. Basilisk II is |
19 |
freeware and distributed under the GNU General Public License. |
20 |
|
21 |
Some features of Basilisk II: |
22 |
- Emulates either a Mac Classic (which runs MacOS 0.x thru 7.5) |
23 |
or a Mac II series machine (which runs MacOS 7.x, 8.0 and 8.1), |
24 |
depending on the ROM being used |
25 |
- Color video display |
26 |
- CD quality sound output |
27 |
- Floppy disk driver (only 1.44MB disks supported) |
28 |
- Driver for HFS partitions and hardfiles |
29 |
- CD-ROM driver with basic audio functions |
30 |
- Easy file exchange with the host OS via a "Host Directory Tree" icon |
31 |
on the Mac desktop |
32 |
- Ethernet driver |
33 |
- Serial drivers |
34 |
- SCSI Manager (old-style) emulation |
35 |
- Emulates extended ADB keyboard and 3-button mouse |
36 |
- Uses UAE 68k emulation or (under AmigaOS) real 68k processor |
37 |
|
38 |
%prep |
39 |
%setup -q |
40 |
|
41 |
%build |
42 |
cd src/Unix |
43 |
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} |
44 |
if [ -x /usr/bin/getconf ] ; then |
45 |
NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN) |
46 |
if [ $NCPU -eq 0 ] ; then |
47 |
NCPU=1 |
48 |
fi |
49 |
else |
50 |
NCPU=1 |
51 |
fi |
52 |
PARL=$[ $NCPU + 1 ] |
53 |
make -j $PARL |
54 |
|
55 |
%install |
56 |
rm -rf ${RPM_BUILD_ROOT} |
57 |
cd src/Unix |
58 |
make DESTDIR=${RPM_BUILD_ROOT} install |
59 |
|
60 |
%clean |
61 |
rm -rf ${RPM_BUILD_ROOT} |
62 |
|
63 |
%files |
64 |
%defattr(-,root,root) |
65 |
%doc ChangeLog COPYING INSTALL README TECH TODO |
66 |
%{_bindir}/BasiliskII |
67 |
%{_mandir}/man1/BasiliskII.1 |
68 |
%{_datadir}/BasiliskII/keycodes |
69 |
%{_datadir}/BasiliskII/fbdevices |