Summary: A shared library that implements a Lisp dialect Name: librep Version: 0.17 Release: 2 License: GPLv2+ Group: Development/Languages Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz Patch: librep-0.17.remove-rpath-flag.patch URL: http://librep.sourceforge.net/ BuildRequires: autoconf gmp-devel gdbm-devel readline-devel Requires(pre): /sbin/install-info Requires(post): /sbin/install-info BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) %description The librep shared library implements a Lisp dialect that is lightweight, reasonably fast, and extensible. It contains an interpreter, byte-code compiler, and virtual machine. Applications may use the interpreter as an extension language, or it may be used for standalone scripts. The Lisp dialect was originally inspired by Emacs Lisp. Unlike Emacs Lisp, the reliance on dynamic scope has been removed and librep only has a single namespace for symbols. %package devel Summary: Include files and link libraries for librep development Group: Development/Languages Requires: librep = %{version} %description devel The link libraries and C header files for librep development. Librep is an embeddable dialect of Lisp. %prep %setup -q %patch -p0 %build autoconf %configure \ %ifarch ia64 --with-malloc-alignment=8 \ %endif --with-readline --enable-shared --disable-static --enable-rpath=no # Must have specify host_type, otherwise will build i686 on i386 %{__make} %{?_smp_mflags} host_type=%{_target_platform} %install %{__rm} -rf %{buildroot} %{__make} DESTDIR=%{buildroot} host_type=%{_target_platform} install %{__gzip} -9nf %{buildroot}%{_infodir}/librep* # Remove files from buildroot that we are not going to package %{__rm} -f %{buildroot}%{_libdir}/*.la %{__rm} -f %{buildroot}%{_infodir}/dir %clean %{__rm} -rf %{buildroot} %files %defattr(-, root, root, -) %doc AUTHORS BUGS COPYING ChangeLog HACKING NEWS README THANKS TODO TREE %{_bindir}/rep %{_bindir}/rep-remote %{_libdir}/*.so.* %{_datadir}/rep %dir %{_libexecdir}/rep %{_libexecdir}/rep/%{version} %files devel %defattr(-, root, root, -) %{_bindir}/rep-config %{_bindir}/rep-xgettext %{_bindir}/repdoc %{_libdir}/*.so %{_libexecdir}/rep/*linux-gnu %{_includedir}/rep*.h # with automake 1.5 this may not be found, because configure # uses aclocal --print-ac-dir %{_datadir}/aclocal/* %{_datadir}/emacs/site-lisp/* %{_datadir}/info/*.info* %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post devel /sbin/install-info %{_infodir}/librep.info.gz %{_infodir}/dir 2>/dev/null || : %preun devel if [ "$1" = "0" ] ; then /sbin/install-info --delete %{_infodir}/librep.info.gz \ %{_infodir}/dir 2>/dev/null || : fi %changelog * Fri Aug 17 2007 Terje Røsten - 0.17-2 - *.la files is needed - add disable-static and disable-rpath to configure * Thu Aug 16 2007 Terje Røsten - 0.17-1 - 0.17 - cleanup * Wed Jan 22 2003 Tim Powers - rebuilt * Thu Dec 12 2002 Havoc Pennington - 0.16.1 * Mon Nov 25 2002 Mike A. Harris 0.16-4 - s/Copyright/License - Put _tmppath in Buildroot tag - Remove unpackaged files in %%install * Thu Aug 15 2002 Havoc Pennington - do the install-info stuff in -devel post/preun, not base package * Tue Aug 13 2002 Havoc Pennington - don't own files in both -devel and regular, #71133 * Sat Jul 27 2002 Havoc Pennington - change CVS snap to 0.16 version * Fri Jun 21 2002 Tim Powers - automated rebuild * Wed Jun 19 2002 Havoc Pennington - don't own some funky /usr/share/info/dir file that the build system is somehow creating * Wed Jun 19 2002 Havoc Pennington - cvs snap 2002-06-11 * Tue May 28 2002 Havoc Pennington - rebuild in different environment * Tue May 28 2002 Havoc Pennington - cvs snap 2002-05-24 * Mon Mar 18 2002 Havoc Pennington - require new gmp, old ones make it crash for some reason, #60857 * Wed Feb 27 2002 Havoc Pennington - don't strip libraries - avoid putting same files in both -devel and plain package * Sun Oct 28 2001 Havoc Pennington - upgrade to 0.15.1 * Wed Aug 8 2001 Jonathan Blandford - We own %%{_datadir}/rep and %%{_datadir}/libexec/rep. Fix #51156 * Mon Jul 16 2001 Havoc Pennington - BuildPrereq gdbm-devel - fix TODO in doc file list * Tue Jun 26 2001 Florian La Roche - add links to library major version number into rpm filelist * Fri May 11 2001 Bernhard Rosenkraenzer 0.13.6-2 - Rebuild with new readline * Mon Apr 30 2001 Jonathan Blandford - Upgrade to 0.13.6 * Tue Dec 5 2000 Havoc Pennington - Upgrade to .13.3 - put all files in prefix/libexec/platform/rep/* in the file list * Fri Aug 11 2000 Jonathan Blandford - Up Epoch and release * Thu Jul 13 2000 Prospector - automatic rebuild * Sun Jun 18 2000 Matt Wilson - 0.12.1 - remove stack smash workaround patch * Sat Jun 17 2000 Matt Wilson - use %%configure and %%makeinstall - use %%{_infodir} * Sat Jun 17 2000 Havoc Pennington - 0.12 - remove gmp patch to configure.in, seems to have been merged upstream - remove ia64 hack, since upstream seems to have addressed the issue (though it isn't the same solution as our patch, so may or may not work) * Thu May 18 2000 Bill Nottingham - tweaks for ia64 * Fri Apr 28 2000 Matt Wilson - rebuilt against gmp 3.0.1 * Sat Apr 22 2000 Bill Nottingham - update to 0.11.3 * Mon Apr 10 2000 Bill Nottingham - update to 0.11.2 * Mon Apr 3 2000 Bill Nottingham - ditto * Tue Mar 21 2000 Bernhard Rosenkraenzer - rebuild with new readline * Fri Mar 10 2000 Bill Nottingham - update to 0.11.1 * Thu Feb 3 2000 Bill Nottingham - add install-info stuff * Mon Jan 10 2000 Bill Nottingham - update to 0.10 - don't pacakge ldconfig symlinks * Thu Nov 11 1999 Michael K. Johnson - Remove stack tracing on alpha in order not to trigger internal compiler error. Should be reverted when we get a newer compiler; development gcc has this fixed. * Wed Nov 10 1999 Michael K. Johnson - post{,un} use -p * Mon Sep 13 1999 Aron Griffis - 0.5 spec file update: added buildroot