--- SIDPlayer/SIDPlayer.spec.in 2000/10/05 17:03:50 1.1 +++ SIDPlayer/SIDPlayer.spec.in 2000/10/10 19:01:39 1.4 @@ -13,6 +13,8 @@ URL: http://www.uni-mainz.de/~bauec002/S BuildRoot: %{_tmppath}/%{name}-root Prefix: %{_prefix} +Requires: SDL >= 1.1.4 + %description SIDPlayer is a replayer program for C64 music ("SID tunes"). You can think of it as being a stripped-down C64 emulator that only emulates the CPU and @@ -23,7 +25,7 @@ format, but it cannot run any C64 progra %setup -q %build -./configure --prefix=%{_prefix} +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 @@ -37,7 +39,7 @@ make -j $PARL %install rm -rf ${RPM_BUILD_ROOT} -make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install +make DESTDIR=${RPM_BUILD_ROOT} install-strip %clean rm -rf ${RPM_BUILD_ROOT} @@ -46,5 +48,3 @@ rm -rf ${RPM_BUILD_ROOT} %defattr(-,root,root) %doc COPYING README %{_bindir}/* - -%changelog