when starting maxima I get this error:

clisp:
/home/peroyvind/rpm/tmp/clisp-2.30-buildroot/usr/lib/clisp/base/lisp.ru
n: No such file or directory

I edited the clisp.spec and attach the diff to the current spec. Don't
shoot me, it's late and I needed that fixed some way or another.

maxima needs a rebuild against the new clisp. And I'd love to see the
current menu entry fixed (s/Maxsima/Maxima/) or, preferably, renamed to
xmaxima.


Mark



--- clisp.spec.mdk      2003-06-17 20:15:00.000000000 +0200
+++ clisp.spec  2003-06-22 22:59:22.000000000 +0200
@@ -48,8 +48,8 @@
                --fsstnd=redhat \
                --host=%{_target_platform}
 
-(cd src 
-./makemake --with-readline --with-gettext --with-dynamic-ffi --fsstnd=redhat > 
Makefile
+(cd src
+./makemake --prefix=/usr --with-readline --with-gettext --with-dynamic-ffi 
--fsstnd=redhat > Makefile
 %make config.lisp
 %make CFLAGS="-W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type  
-fomit-frame-pointer -Wno-sign-compare -O2 -fexpensive-optimizations -DUNICODE 
-DDYNAMIC_FFI -DNO_SIGSEGV $RPM_OPT_FLAGS"
 %make check
@@ -58,21 +58,10 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p $RPM_BUILD_ROOT%_bindir
-mkdir -p $RPM_BUILD_ROOT%_libdir
-(
-cd src ;
-%makeinstall
-mkdir -p $RPM_BUILD_ROOT%_mandir
-#mv $RPM_BUILD_ROOT%_prefix/man/* $RPM_BUILD_ROOT%_mandir
-#rm -fr $RPM_BUILD_ROOT%_prefix/man
-
-mkdir -p $RPM_BUILD_ROOT%_docdir/%name
-mv $RPM_BUILD_ROOT%_prefix/doc/* $RPM_BUILD_ROOT%_docdir/%name
-rm -fr $RPM_BUILD_ROOT%_prefix/doc
-mv $RPM_BUILD_ROOT%_datadir/dvi $RPM_BUILD_ROOT%_docdir/%name/dvi
-mv $RPM_BUILD_ROOT%_datadir/html $RPM_BUILD_ROOT%_docdir/%name/html
 
+(
+cd src
+%makeinstall_std
 )
 
 %{find_lang} %{name}
@@ -82,14 +71,10 @@
 
 %files -f %{name}.lang
 %defattr(-,root,root)
+%doc ANNOUNCE COPYRIGHT GNU-GPL INSTALL SUMMARY src/clisp.html src/README 
doc/impnotes.html doc/clisp.png
 %{_bindir}/clisp
 %{_libdir}/clisp
-%doc ANNOUNCE COPYRIGHT GNU-GPL INSTALL SUMMARY
-%doc src/clisp.html 
-%doc src/README
-%doc src/impnotes.html src/clisp.png
-%{_docdir}/clisp
-%{_mandir}/*/*
+%{_mandir}/*
 
 %clean
 rm -fr $RPM_BUILD_ROOT

Reply via email to