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.12 by cebix, 2000-01-30T18:55:45Z vs.
Revision 1.13 by cebix, 2000-10-05T17:24:47Z

# 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: Free, portable 68k Macintosh emulator
6 > Name: %{name}
7 > Version: %{version}
8 > Release: %{release}
9   Copyright: GPL
10   Group: Applications/Emulators
11 < Source: BasiliskII_src_30012000.tar.gz
13 < BuildRoot: /tmp/BasiliskII-%{ver}-root
14 < Packager:  Christian Bauer <Christian.Bauer@uni-mainz.de>
11 > Source: %{name}_src_05102000.tar.gz
12   URL: http://www.uni-mainz.de/~bauec002/B2Main.html
13 < Docdir: %{prefix}/doc
13 > BuildRoot: %{_tmppath}/%{name}-root
14 > Prefix: %{_prefix}
15  
16   %description
17 < Basilisk II is a free, portable, Open Source 68k Mac emulator. It requires
18 < a copy of a Mac ROM and a copy of MacOS to run. Basilisk II is freeware and
19 < distributed under the GNU General Public License.
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)
# Line 38 | Line 36 | Some features of Basilisk II:
36    - Uses UAE 68k emulation or (under AmigaOS) real 68k processor
37  
38   %prep
39 < %setup
39 > %setup -q
40  
41   %build
42   cd src/Unix
43 < CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure --prefix=%prefix
44 < if [ "$SMP" != "" ]; then
45 <  (make "MAKE=make -k -j $SMP"; exit 0)
46 <  make
47 < else
48 <  make
43 > ./configure --prefix=%{_prefix}
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
56 > rm -rf ${RPM_BUILD_ROOT}
57   cd src/Unix
58 < make prefix=$RPM_BUILD_ROOT%{prefix} install
58 > make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install
59  
60   %clean
61 < rm -rf $RPM_BUILD_ROOT
61 > rm -rf ${RPM_BUILD_ROOT}
62  
63   %files
64 < %defattr(-, root, root)
64 > %defattr(-,root,root)
65   %doc ChangeLog COPYING INSTALL README TECH TODO
66 < /usr/bin/BasiliskII
67 < /usr/man/man1/BasiliskII.1
68 < /usr/share/BasiliskII/keycodes
69 < /usr/share/BasiliskII/fbdevices
66 > %{_bindir}/BasiliskII
67 > %{_mandir}/man1/BasiliskII.1
68 > %{_datadir}/BasiliskII/keycodes
69 > %{_datadir}/BasiliskII/fbdevices
70 >
71 > %changelog

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines