ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/BasiliskII.spec
(Generate patch)

Comparing BasiliskII/BasiliskII.spec (file contents):
Revision 1.11 by cebix, 1999-12-22T17:27:25Z vs.
Revision 1.17 by cebix, 2001-01-02T21:03:27Z

# Line 1 | Line 1
1 < # Note that this is NOT a relocatable package
2 < %define ver 0.8
3 < %define rel 1
4 < %define prefix /usr
5 <
6 < Summary: A free, portable Mac II emulator
7 < Name: BasiliskII
8 < Version: %ver
9 < Release: %rel
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: BasiliskII_src_22121999.tar.gz
13 < BuildRoot: /tmp/BasiliskII-%{ver}-root
14 < Packager:  Christian Bauer <Christian.Bauer@uni-mainz.de>
11 > Source: %{name}_src_08122000.tar.gz
12   URL: http://www.uni-mainz.de/~bauec002/B2Main.html
13 < Docdir: %{prefix}/doc
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 a free, portable, Open Source 68k Mac emulator. It requires
23 < a copy of a Mac ROM and a copy of MacOS to run. Basilisk II is freeware and
24 < distributed under the GNU General Public License.
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)
# Line 35 | Line 39 | Some features of Basilisk II:
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) real 68k processor
42 >  - Uses UAE 68k emulation or (under AmigaOS and NetBSD/m68k) real 68k
43 >    processor
44  
45   %prep
46 < %setup
46 > %setup -q
47  
48   %build
49   cd src/Unix
50 < CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
51 < if [ "$SMP" != "" ]; then
52 <  (make "MAKE=make -k -j $SMP"; exit 0)
53 <  make
54 < else
55 <  make
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 + PARL=$[ $NCPU + 1 ]
60 + make -j $PARL
61  
62   %install
63 < rm -rf $RPM_BUILD_ROOT
63 > rm -rf ${RPM_BUILD_ROOT}
64   cd src/Unix
65 < make prefix=$RPM_BUILD_ROOT%{prefix} install
65 > make DESTDIR=${RPM_BUILD_ROOT} install
66  
67   %clean
68 < rm -rf $RPM_BUILD_ROOT
68 > rm -rf ${RPM_BUILD_ROOT}
69  
70   %files
71 < %defattr(-, root, root)
71 > %defattr(-,root,root)
72   %doc ChangeLog COPYING INSTALL README TECH TODO
73 < /usr/bin/BasiliskII
74 < /usr/man/man1/BasiliskII.1
75 < /usr/share/BasiliskII/keycodes
76 < /usr/share/BasiliskII/fbdevices
73 > %{_bindir}/BasiliskII
74 > %{_mandir}/man1/BasiliskII.1*
75 > %config %{_datadir}/BasiliskII/keycodes
76 > %config %{_datadir}/BasiliskII/fbdevices

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines