%define name lush %define version 1.1 %define release %mkrel 1 # This makes sure the binaries are UNSTRIPPED! %define __os_install_post %{nil} Summary: The Lisp Universal Shell Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Other Source: http://ovh.dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.bz2 Patch: %{name}-%{version}-manual.patch.bz2 URL: http://lush.sourceforge.net/ Requires: binutils BuildRequires: binutils-devel libMesaglut-devel libSDL_image-devel libgsl-devel libblas-devel liblapack-devel BuildRoot: %{_tmppath}/%{name}-buildroot %description Lush is an object-oriented Lisp interpreter and compiler with a seamless interface to C, a vector, matrix, and tensor engine, a huge numerical library, a GUI toolkit, and bindings to GSL, SDL, OpenGL, V4l, and others. It is an alternative to Matlab, Python, and Scheme, and allows Lisp and C to be mixed within a single function, providing a unique combination of flexibility and efficiency. Lush is an ideal programming language for researchers in AI, computer vision, audio, image, and video processing, machine learning, statistics, bio-informatics, as well as for interactive graphics and multimedia applications. Lush includes a huge numerical library including full interfaces to GSL, LAPACK and BLAS, a object-oriented GUI toolkit and interfaces to extensive graphics and multimedia libraries such as OpenGL and SDL. %prep rm -rf %{buildroot} %setup -q -n %{name}-%{version} %patch -p1 -b .manual %build %configure # OPTS contain wrong value for our optim %make OPTS=" -DNO_DEBUG " etc/make-latex-manual cd doc/latex latex lush-manual.tex dvips -o ../manual.ps lush-manual.dvi %install rm -fr %{buildroot} %makeinstall bzip2 $RPM_BUILD_ROOT/%_mandir/man1/* #rm -fr $RPM_BUILD_ROOT/%_datadir/%name/src #rm -fr $RPM_BUILD_ROOT/%_datadir/%name/include %clean rm -fr %{buildroot} %files %defattr(-, root, root) %doc COPYING COPYRIGHT README doc/manual.ps %_bindir/* %_datadir/%name %_mandir/man1/* %changelog * Mon Apr 04 2005 Nicolas Lécureuil <neoclust@mandrake.org> 1.1-1mdk - New version 1.1 - %%mkrel - rpmbuildupdate-able * Wed Jun 16 2004 Lenny Cartier <lenny@mandrakesoft.com> 0.98-3mdk - rebuild * Wed Dec 24 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 0.98-2mdk - fix Builrequires/Requires - add ps manual - fix CC flags * Thu Jun 05 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.98-1mdk - from David Coe <david@coent.co.uk> : - Do not strip executable to avoid dld/bdf load errors. - Remove source directory from binary RPM. - Initial 0.98 RPM release. * Thu Feb 06 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.97.1-1mdk - 0.97.1 * Sat Feb 01 2003 Lenny Cartier <lenny@mandrakesoft.com> 0.96-2mdk - rebuild * Wed Jan 15 2003 Austin Acton <aacton@yorku.ca> 0.96-1mdk - bump version - cleanup %_datadir/lush * Mon Nov 11 2002 Lenny Cartier <lenny@mandrakesoft.com> 0.95-1mdk - new