%define name swi-prolog %define version 5.4.6 %define rel 2 %define release %mkrel %{rel} Summary: Prolog interpreter and compiler Name: %{name} Version: %{version} Release: %{release} License: GPL Group: Development/Other Packager: Pixel <pixel@mandrakesoft.com> BuildRequires: ncurses-devel readline-devel URL: http://www.swi-prolog.org/ Source0: ftp://swi.psy.uva.nl/pub/SWI-Prolog/pl-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot Obsoletes: swi-pl Provides: swi-pl %description Edinburgh-style Prolog compiler including modules, autoload, libraries, Garbage-collector, stack-expandor, C-interface, GNU-readline and GNU-Emacs interface, very fast compiler. %prep %setup -n pl-%{version} -q %build %{?__cputoolize: %{__cputoolize} -c src} %configure2_5x make COFLAGS="%{optflags} -fno-strict-aliasing" make -C src check %install rm -rf $RPM_BUILD_ROOT %makeinstall rm -f $RPM_BUILD_ROOT%{_mandir}/man3/readline* %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,0755) %doc LSM PORTING README VERSION %{_bindir}/* %{_prefix}/lib/pl-* %{_mandir}/*/pl* %changelog * Tue May 03 2005 Per Ãyvind Karlsen <pkarlsen@mandriva.com> 5.4.6-2mdk - fix lib path - %%mkrel * Fri Jan 21 2005 Per Ãyvind Karlsen <peroyvind@linux-mandrake.com> 5.4.6-1mdk - 5.4.6 - fix summary-ended-with-dot - do not remove builddir in %%clean * Fri Nov 12 2004 Pixel <pixel@mandrakesoft.com> 5.4.3-1mdk - new release * Thu Dec 25 2003 Olivier Thauvin <thauvin@aerov.jussieu.fr> 5.2.11-1mdk - 5.2.11 * Tue Oct 21 2003 Gwenole Beauchesne <gbeauchesne@mandrakesoft.com> 5.0.10-3mdk - cputoolize * Mon Jun 17 2003 Stefan van der Eijk <stefan@eijk.nu> 5.0.10-2mdk - BuildRequires * Thu Jan 2 2003 Pixel <pixel@mandrakesoft.com> 5.0.10-1mdk - new release * Wed Jul 24 2002 Thierry Vignaud <tvignaud@mandrakesoft.com> 5.0.7-2mdk - rebuild for new readline * Thu Jun 27 2002 Pixel <pixel@mandrakesoft.com> 5.0.7-1mdk - new release - update %%URL * Mon Feb 4 2002 Pixel <pixel@mandrakesoft.com> 5.0.0-1mdk - compile with -fno-strict-aliasing - new release * Fri Feb 1 2002 Pixel <pixel@mandrakesoft.com> 4.1.0-1mdk - new version * Fri Nov 16 2001 Jeff Garzik <jgarzik@mandrakesoft.com> 4.0.10-3mdk - use %%old_makeinstall * Fri Nov 9 2001 Stew Benedict <sbenedict@mandrakesoft.com> 4.0.10-2mdk - powerpc patch not needed anymore * Tue Nov 6 2001 Pixel <pixel@mandrakesoft.com> 4.0.10-1mdk - new version * Thu Sep 6 2001 Pixel <pixel@mandrakesoft.com> 3.4.1-3mdk - add missing Provides * Mon Jul 2 2001 Pixel <pixel@mandrakesoft.com> 3.4.1-2mdk - rebuild * Fri Oct 27 2000 Pixel <pixel@mandrakesoft.com> 3.4.1-1mdk - new version * Wed Aug 23 2000 Pixel <pixel@mandrakesoft.com> 3.3.6-6mdk - add packager field * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 3.3.6-5mdk - automatically added BuildRequires * Wed Jul 19 2000 Pixel <pixel@mandrakesoft.com> 3.3.6-4mdk - BM * Tue Jul 11 2000 Pixel <pixel@mandrakesoft.com> 3.3.6-3mdk - and pixel changed a few other things to stef's changes * Mon Jul 10 2000 Stefan van der Eijk <s.vandereijk@chello.nl> 3.3.6-2mdk - makeinstall macro - macroszifications * Wed Jun 7 2000 Pixel <pixel@mandrakesoft.com> 3.3.6-1mdk - change name to swi-prolog - new version - fix licence - fix buildroot - much cleanup * Wed Jun 7 2000 Guillaume Cottenceau <gc@mandrakesoft.com> 3.2.9-2mdk - first package for Mandrake * Thu Jul 29 1999 David Kuester <kuestler@zeta.org.au> - New source build version 3.2.9 * Tue Jun 22 1999 David Kuester <kuestler@zeta.org.au> - New source build version 3.2.8 - Split the single patch in two (emacs) and (powerpc) * Sun Nov 15 1998 Justin Cormack <jpc1@doc.ic.ac.uk> - added changelog - various tidying up things - adjusted so will build on all architectures - previous packagers: - David Kuestler <kuestler@zeta.org.au> - Kjetil Wiekhorst Jørgensen <jorgens@zarhan.pvv.org> - Adam P. Jenkins <ajenkins@cs.umass.