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