--- mon/mon.spec.in 2000/10/05 18:00:31 1.2 +++ mon/mon.spec.in 2000/10/10 19:01:28 1.5 @@ -13,8 +13,6 @@ URL: http://www.uni-mainz.de/~bauec002/ BuildRoot: %{_tmppath}/%{name}-root Prefix: %{_prefix} -Requires: SDL >= 1.1.4 - %description "mon" is an interactive command-driven file manipulation tool that is inspired by the "Amiga Monitor" by Timo Rossi . It has @@ -26,7 +24,7 @@ PowerPC, 680x0, 80x86, 6502 and 8080 dis %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 @@ -40,7 +38,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} @@ -50,5 +48,3 @@ rm -rf ${RPM_BUILD_ROOT} %doc AUTHORS ChangeLog COPYING README %{_bindir}/* %{_mandir}/man1/* - -%changelog