--- BasiliskII/BasiliskII.spec 2000/10/11 18:07:05 1.16 +++ BasiliskII/BasiliskII.spec 2005/06/30 21:27:26 1.22 @@ -1,16 +1,16 @@ %define name BasiliskII -%define version 0.8 +%define version 1.0rc1 %define release 1 Summary: 68k Macintosh emulator Name: %{name} Version: %{version} Release: %{release} -Copyright: GPL +License: GPL Group: Applications/Emulators -Source: %{name}_src_11102000.tar.gz +Source0: %{name}_src_30062005.tar.gz URL: http://www.uni-mainz.de/~bauec002/B2Main.html -BuildRoot: %{_tmppath}/%{name}-root +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # While the data file path (/usr/share/BasiliskII) is compiled into the # executable, the data files are not required for operation and their location @@ -47,22 +47,13 @@ Some features of Basilisk II: %build cd src/Unix -CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./configure --prefix=%{_prefix} --mandir=%{_mandir} -if [ -x /usr/bin/getconf ] ; then - NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN) - if [ $NCPU -eq 0 ] ; then - NCPU=1 - fi -else - NCPU=1 -fi -PARL=$[ $NCPU + 1 ] -make -j $PARL +%configure +make %install rm -rf ${RPM_BUILD_ROOT} cd src/Unix -make DESTDIR=${RPM_BUILD_ROOT} install +%makeinstall %clean rm -rf ${RPM_BUILD_ROOT} @@ -71,6 +62,6 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root) %doc ChangeLog COPYING INSTALL README TECH TODO %{_bindir}/BasiliskII -%{_mandir}/man1/BasiliskII.1 +%{_mandir}/man1/BasiliskII.1* %config %{_datadir}/BasiliskII/keycodes %config %{_datadir}/BasiliskII/fbdevices