From 76d0f41a54e19e0f7714ac44e6e99a617374b3d9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 21:25:31 +0100 Subject: [PATCH] update to 2.49.93 [release 2.49.93-1mamba;Sun Dec 01 2019] --- clisp-autoupdate | 12 ++++++++++ clisp.spec | 62 +++++++++++++++++++++++++++--------------------- 2 files changed, 47 insertions(+), 27 deletions(-) create mode 100644 clisp-autoupdate diff --git a/clisp-autoupdate b/clisp-autoupdate new file mode 100644 index 0000000..345b399 --- /dev/null +++ b/clisp-autoupdate @@ -0,0 +1,12 @@ +#!/bin/bash +VERSION=$1 +if [ "${VERSION}" == "2.49.93" ]; then + REF=b55b8196c9f25428304ec3de87383319fd1f2264 +else + echo "ERROR: add ${VERSION} hg ref in clisp-autoupdate file." + exit 1 +fi +#hg clone -r ${REF} http://hg.code.sf.net/p/clisp/clisp clisp-${VERSION} || exit 1 +rm -rf clisp-${VERSION}/.hg +tar cjf clisp-${VERSION}.tar.bz2 clisp-${VERSION} || exit 1 +rm -rf clisp-${VERSION} diff --git a/clisp.spec b/clisp.spec index 7bf9887..bd30ce5 100644 --- a/clisp.spec +++ b/clisp.spec @@ -1,15 +1,16 @@ %define with_postgresql 0 Name: clisp -Version: 2.49 -Release: 2mamba +Version: 2.49.93 +Release: 1mamba Summary: Common Lisp (ANSI CL) implementation Group: Applications/Development Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://clisp.cons.org/ -Source: http://surfnet.dl.sourceforge.net/sourceforge/clisp/%{name}-%{version}.tar.bz2 +Source: http://downloads.sourceforge.net/sourceforge/clisp/%{name}-%{version}.tar.bz2 +Source1: clisp-autoupdate Patch0: %{name}-2.49-db-5.1.patch Patch1: clisp-2.49-glibc-2.17-1.patch Patch2: clisp-2.49-glibc-2.17-2.patch @@ -22,6 +23,7 @@ BuildRequires: libncurses-devel BuildRequires: libreadline-devel BuildRequires: libsigsegv-devel ## AUTOBUILDREQ-END +BuildRequires: mercurial BuildRequires: gettext-devel >= 0.14.4 %if %with_postgresql BuildRequires: postgresql-devel >= 8.0 @@ -54,12 +56,14 @@ GNU CLISP runs Maxima, ACL2 and many other Common Lisp packages. This package contains files necessary for linking CLISP. +%debug_package + %prep %setup -q -%patch0 -p1 -%patch1 -p1 -%patch2 -p1 -%patch3 -p0 +#%patch0 -p1 +#%patch1 -p1 +#%patch2 -p1 +#%patch3 -p0 %build sed -i -e 's|^ make check$||' configure @@ -80,13 +84,14 @@ sed -i -e 's|^ make check$||' configure --with-module=rawsock \ --with-module=regexp \ --with-module=syscalls \ - --with-module=wildcard \ --with-module=zlib \ --with-module=bindings/glibc \ --with-readline \ build \ CC=%{_host}-gcc + # --build %{_host} \ +# --with-module=wildcard \ cd build make @@ -112,12 +117,12 @@ cat %{name}low.lang >> %{name}.lang %{_datadir}/vim/vimfiles/after/syntax/lisp.vim %{_datadir}/emacs/site-lisp/*.el %{_datadir}/emacs/site-lisp/*.lisp -%dir %{_libdir}/clisp-%{version} -%dir %{_libdir}/clisp-%{version}/base -%{_libdir}/clisp-%{version}/base/lispinit.mem -%{_libdir}/clisp-%{version}/base/lisp.run -%{_libdir}/clisp-%{version}/data -%{_libdir}/clisp-%{version}/dynmod +%dir %{_libdir}/clisp-%{version}+ +%dir %{_libdir}/clisp-%{version}+/base +%{_libdir}/clisp-%{version}+/base/lispinit.mem +%{_libdir}/clisp-%{version}+/base/lisp.run +%{_libdir}/clisp-%{version}+/data +%{_libdir}/clisp-%{version}+/dynmod %{_mandir}/man1/* %dir %{_docdir}/%{name}-%{version} %{_docdir}/%{name}-%{version}/* @@ -125,22 +130,25 @@ cat %{name}low.lang >> %{name}.lang %files devel %defattr(-,root,root,-) %attr(0755,root,root) %{_bindir}/clisp-link -%{_libdir}/clisp-%{version}/base/*.a -%{_libdir}/clisp-%{version}/base/*.o -%{_libdir}/clisp-%{version}/base/*.h -%{_libdir}/clisp-%{version}/base/makevars -%{_libdir}/clisp-%{version}/berkeley-db -%{_libdir}/clisp-%{version}/bindings/glibc -%{_libdir}/clisp-%{version}/build-aux -%{_libdir}/clisp-%{version}/clx -%{_libdir}/clisp-%{version}/linkkit -%{_libdir}/clisp-%{version}/pcre -%{_libdir}/clisp-%{version}/rawsock -%{_libdir}/clisp-%{version}/wildcard -%{_libdir}/clisp-%{version}/zlib +%{_libdir}/clisp-%{version}+/base/*.a +%{_libdir}/clisp-%{version}+/base/*.o +%{_libdir}/clisp-%{version}+/base/*.h +%{_libdir}/clisp-%{version}+/base/makevars +%{_libdir}/clisp-%{version}+/berkeley-db +%{_libdir}/clisp-%{version}+/bindings/glibc +%{_libdir}/clisp-%{version}+/build-aux +%{_libdir}/clisp-%{version}+/clx +%{_libdir}/clisp-%{version}+/linkkit +%{_libdir}/clisp-%{version}+/pcre +%{_libdir}/clisp-%{version}+/rawsock +#%{_libdir}/clisp-%{version}+/wildcard +%{_libdir}/clisp-%{version}+/zlib %{_datadir}/aclocal/clisp.m4 %changelog +* Sun Dec 01 2019 Silvan Calarco 2.49.93-1mamba +- update to 2.49.93 + * Sat Aug 03 2013 Silvan Calarco 2.49-2mamba - rebuilt with db 5.1 (added patch)