--- BasiliskII/BasiliskII.spec 1999/10/03 17:21:45 1.4 +++ BasiliskII/BasiliskII.spec 1999/12/22 17:27:25 1.11 @@ -1,12 +1,19 @@ -Summary: A free, portable Mac II emulator -Name: BasiliskII -Version: 0.7 -Release: 1 -URL: http://www.uni-mainz.de/~bauec002/B2Main.html -Source: BasiliskII_src_03101999.tar.gz +# Note that this is NOT a relocatable package +%define ver 0.8 +%define rel 1 +%define prefix /usr + +Summary: A free, portable Mac II emulator +Name: BasiliskII +Version: %ver +Release: %rel Copyright: GPL -Group: Applications/Emulators +Group: Applications/Emulators +Source: BasiliskII_src_22121999.tar.gz +BuildRoot: /tmp/BasiliskII-%{ver}-root Packager: Christian Bauer +URL: http://www.uni-mainz.de/~bauec002/B2Main.html +Docdir: %{prefix}/doc %description Basilisk II is a free, portable, Open Source 68k Mac emulator. It requires @@ -22,6 +29,8 @@ Some features of Basilisk II: - Floppy disk driver (only 1.44MB disks supported) - Driver for HFS partitions and hardfiles - CD-ROM driver with basic audio functions + - Easy file exchange with the host OS via a "Host Directory Tree" icon + on the Mac desktop - Ethernet driver - Serial drivers - SCSI Manager (old-style) emulation @@ -33,20 +42,26 @@ Some features of Basilisk II: %build cd src/Unix -./configure --prefix=/usr --exec_prefix=/usr/X11R6 -make RPM_OPT_FLAGS="$RPM_OPT_FLAGS" +CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix +if [ "$SMP" != "" ]; then + (make "MAKE=make -k -j $SMP"; exit 0) + make +else + make +fi %install +rm -rf $RPM_BUILD_ROOT cd src/Unix -make install +make prefix=$RPM_BUILD_ROOT%{prefix} install + +%clean +rm -rf $RPM_BUILD_ROOT %files +%defattr(-, root, root) %doc ChangeLog COPYING INSTALL README TECH TODO -/usr/X11R6/bin/BasiliskII +/usr/bin/BasiliskII /usr/man/man1/BasiliskII.1 /usr/share/BasiliskII/keycodes - -%changelog -* Fri Jul 23 1999 Roman Niewiarowski - [0.6-1] -- First rpm release +/usr/share/BasiliskII/fbdevices