1428ab6
Name:		clisp
1428ab6
Summary:	Common Lisp (ANSI CL) implementation
66b82d3
Version:	2.41
66b82d3
Release: 	1%{?dist}
1428ab6
1428ab6
Group:		Development/Languages
1428ab6
License:	GPL
a97ff9f
URL:		http://clisp.cons.org
66b82d3
Source:		http://download.sourceforge.net/clisp/clisp-2.41.tar.bz2
1428ab6
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
72ed86e
BuildRequires:	readline-devel, gettext, pcre-devel, postgresql-devel
1428ab6
BuildRequires:	libsigsegv-devel, db4-devel, zlib-devel
5dffc32
BuildRequires:  libICE-devel
5dffc32
BuildRequires:  libSM-devel
5dffc32
BuildRequires:  libX11-devel
5dffc32
BuildRequires:  libXaw-devel
5dffc32
BuildRequires:  libXext-devel
5dffc32
BuildRequires:  libXft-devel
5dffc32
BuildRequires:  libXmu-devel
5dffc32
BuildRequires:  libXrender-devel
5dffc32
BuildRequires:  libXt-devel
10e9409
BuildRequires:	imake
4c56dc8
ExcludeArch:	ppc ppc64
1428ab6
1428ab6
ff72eab
%description
ff72eab
ANSI Common Lisp is a high-level, general-purpose programming
ff72eab
language.  GNU CLISP is a Common Lisp implementation by Bruno Haible
ff72eab
of Karlsruhe University and Michael Stoll of Munich University, both
ff72eab
in Germany.  It mostly supports the Lisp described in the ANSI Common
ff72eab
Lisp standard.  It runs on most Unix workstations (GNU/Linux, FreeBSD,
ff72eab
NetBSD, OpenBSD, Solaris, Tru64, HP-UX, BeOS, NeXTstep, IRIX, AIX and
ff72eab
others) and on other systems (Windows NT/2000/XP, Windows 95/98/ME)
ff72eab
and needs only 4 MB of RAM.
ff72eab
ff72eab
It is Free Software and may be distributed under the terms of GNU GPL,
ff72eab
while it is possible to distribute commercial proprietary applications
ff72eab
compiled with GNU CLISP.
ff72eab
ff72eab
The user interface comes in English, German, French, Spanish, Dutch,
ff72eab
Russian and Danish, and can be changed at run time.  GNU CLISP
ff72eab
includes an interpreter, a compiler, a debugger, CLOS, MOP, a foreign
ff72eab
language interface, sockets, i18n, fast bignums and more.  An X11
ff72eab
interface is available through CLX, Garnet, CLUE/CLIO.  GNU CLISP runs
ff72eab
Maxima, ACL2 and many other Common Lisp packages.
1428ab6
1428ab6
1428ab6
%package devel
1428ab6
Summary:	Development files for CLISP
1428ab6
Group:		Development/Languages
1428ab6
Requires:	%{name} = %{version}-%{release}
1428ab6
1428ab6
%description devel
1428ab6
Files necessary for linking CLISP.
1428ab6
bba28db
1428ab6
%prep
1428ab6
%setup -q
1428ab6
1428ab6
1428ab6
%build
08fe268
CFLAGS="" ./configure --prefix=%{_prefix} \
36acdf2
	    --libdir=%{_libdir} \
1428ab6
	    --fsstnd=redhat \
1428ab6
	    --with-dynamic-ffi \
1428ab6
	    --with-module=berkeley-db \
1428ab6
	    --with-module=clx/new-clx \
1428ab6
	    --with-module=pcre \
1428ab6
	    --with-module=postgresql \
1428ab6
	    --with-module=rawsock \
1428ab6
	    --with-module=wildcard \
1428ab6
	    --with-module=zlib \
1428ab6
   	    --with-module=bindings/glibc \
1428ab6
	    --with-readline \
ff72eab
	    --build build
1428ab6
1428ab6
1428ab6
%install
1428ab6
rm -rf $RPM_BUILD_ROOT
1c43286
make -C \
1c43286
	build \
1c43286
	prefix=%{_prefix} \
1c43286
	libdir=%{_libdir} \
1c43286
	mandir=%{_mandir} \
1c43286
	docdir=%{_docdir}/clisp-%{version} \
1c43286
	DESTDIR=$RPM_BUILD_ROOT \
1c43286
	install
1428ab6
rm -f $RPM_BUILD_ROOT%{_docdir}/clisp-%{version}/doc/clisp.{dvi,1,ps}
1428ab6
cp -p doc/mop-spec.pdf $RPM_BUILD_ROOT%{_docdir}/clisp-%{version}/doc
1428ab6
%find_lang %{name}
1428ab6
%find_lang %{name}low
1428ab6
cat %{name}low.lang >> %{name}.lang
1428ab6
1428ab6
1428ab6
%files -f %{name}.lang
1428ab6
%defattr(-,root,root,-)
1428ab6
%{_bindir}/clisp
1428ab6
%{_mandir}/man1/*
1428ab6
%{_docdir}/clisp-%{version}
1428ab6
%dir %{_libdir}/clisp/base
1428ab6
%dir %{_libdir}/clisp/full
1428ab6
%dir %{_libdir}/clisp
1428ab6
%{_libdir}/clisp/base/lispinit.mem
1428ab6
%{_libdir}/clisp/base/lisp.run
1428ab6
%{_libdir}/clisp/full/lispinit.mem
1428ab6
%{_libdir}/clisp/full/lisp.run
1428ab6
%{_libdir}/clisp/data
e8dcc16
%{_datadir}/emacs/site-lisp/*
1428ab6
1428ab6
1428ab6
%files devel
1428ab6
%defattr(-,root,root,-)
1428ab6
%attr(0755,root,root) %{_libdir}/clisp/clisp-link
1428ab6
%{_libdir}/clisp/base/*.a
1428ab6
%{_libdir}/clisp/base/*.o
1428ab6
%{_libdir}/clisp/base/*.h
1428ab6
%{_libdir}/clisp/base/*.dvi
1428ab6
%{_libdir}/clisp/base/makevars
1428ab6
%{_libdir}/clisp/full/*.a
1428ab6
%{_libdir}/clisp/full/*.o
1428ab6
%{_libdir}/clisp/full/*.h
1428ab6
%{_libdir}/clisp/full/*.dvi
1428ab6
%{_libdir}/clisp/full/makevars
1428ab6
%{_libdir}/clisp/linkkit
1428ab6
1428ab6
1428ab6
%clean
1428ab6
rm -fr $RPM_BUILD_ROOT
1428ab6
1428ab6
1428ab6
%changelog
66b82d3
* Fri Oct 13 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.41-1
66b82d3
- new version 2.41
66b82d3
4c56dc8
* Tue Oct  3 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.40-3
4c56dc8
- Added patch for x86_64
4c56dc8
e8dcc16
* Mon Oct  2 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.40-1
e8dcc16
- new version 2.40
e8dcc16
0adc193
* Mon Aug 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.39-4
0adc193
- Rebuild for FE6
0adc193
a97ff9f
* Fri Jul 28 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.39-3
a97ff9f
- changed url to canonical web page
a97ff9f
08fe268
* Mon Jul 24 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.39-2
08fe268
- rebuild with updated libsigsegv
08fe268
- set CFLAGS to ""
08fe268
1c43286
* Mon Jul 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.39-1
1c43286
- new version 2.39
1c43286
a5a3eaa
* Fri Feb 17 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.38-2
a5a3eaa
- Rebuild for Fedora Extras 5
a5a3eaa
bba28db
* Sun Jan 29 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.38-1
bba28db
- new version 2.38
bba28db
1f4808d
* Tue Jan  3 2006 Gerard Milmeister <gemi@bluewin.ch> - 2.37-1
1f4808d
- new version 2.37
1f4808d
0c74731
* Wed Dec 28 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.36-1
0c74731
- New Version 2.36
0c74731
ff72eab
* Tue Aug 30 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.35-1
ff72eab
- New Version 2.35
ff72eab
ff72eab
* Thu Aug 18 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.34-5
ff72eab
- do the compilation in the "build" directory
ff72eab
ff72eab
* Thu Aug 18 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.34-4
ff72eab
- Use ulimit for the build to succeed on ppc
ff72eab
c3fceea
* Wed Aug 17 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.34-3
c3fceea
- Build fails on ppc, exclude for now
c3fceea
36acdf2
* Wed Aug 17 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.34-2
36acdf2
- Fix libdir for x86_64
36acdf2
1428ab6
* Tue Aug 16 2005 Gerard Milmeister <gemi@bluewin.ch> - 2.34-1
1428ab6
- New Version 2.34