1 |
|
%define name BasiliskII |
2 |
< |
%define version 0.8 |
2 |
> |
%define version 1.0rc1 |
3 |
|
%define release 1 |
4 |
|
|
5 |
|
Summary: 68k Macintosh emulator |
6 |
|
Name: %{name} |
7 |
|
Version: %{version} |
8 |
|
Release: %{release} |
9 |
< |
Copyright: GPL |
9 |
> |
License: GPL |
10 |
|
Group: Applications/Emulators |
11 |
< |
Source: %{name}_src_11102000.tar.gz |
11 |
> |
Source0: %{name}_src_30062005.tar.gz |
12 |
|
URL: http://www.uni-mainz.de/~bauec002/B2Main.html |
13 |
< |
BuildRoot: %{_tmppath}/%{name}-root |
13 |
> |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
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 |
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 |
< |
PARL=$[ $NCPU + 1 ] |
60 |
< |
make -j $PARL |
50 |
> |
%configure |
51 |
> |
make |
52 |
|
|
53 |
|
%install |
54 |
|
rm -rf ${RPM_BUILD_ROOT} |
55 |
|
cd src/Unix |
56 |
< |
make DESTDIR=${RPM_BUILD_ROOT} install |
56 |
> |
%makeinstall |
57 |
|
|
58 |
|
%clean |
59 |
|
rm -rf ${RPM_BUILD_ROOT} |
62 |
|
%defattr(-,root,root) |
63 |
|
%doc ChangeLog COPYING INSTALL README TECH TODO |
64 |
|
%{_bindir}/BasiliskII |
65 |
< |
%{_mandir}/man1/BasiliskII.1 |
65 |
> |
%{_mandir}/man1/BasiliskII.1* |
66 |
|
%config %{_datadir}/BasiliskII/keycodes |
67 |
|
%config %{_datadir}/BasiliskII/fbdevices |