update to 2.49.93 [release 2.49.93-1mamba;Sun Dec 01 2019]

This commit is contained in:
Silvan Calarco 2024-01-05 21:25:31 +01:00
parent 2a1d3be7ee
commit 76d0f41a54
2 changed files with 47 additions and 27 deletions

12
clisp-autoupdate Normal file
View File

@ -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}

View File

@ -1,15 +1,16 @@
%define with_postgresql 0 %define with_postgresql 0
Name: clisp Name: clisp
Version: 2.49 Version: 2.49.93
Release: 2mamba Release: 1mamba
Summary: Common Lisp (ANSI CL) implementation Summary: Common Lisp (ANSI CL) implementation
Group: Applications/Development Group: Applications/Development
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://clisp.cons.org/ 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 Patch0: %{name}-2.49-db-5.1.patch
Patch1: clisp-2.49-glibc-2.17-1.patch Patch1: clisp-2.49-glibc-2.17-1.patch
Patch2: clisp-2.49-glibc-2.17-2.patch Patch2: clisp-2.49-glibc-2.17-2.patch
@ -22,6 +23,7 @@ BuildRequires: libncurses-devel
BuildRequires: libreadline-devel BuildRequires: libreadline-devel
BuildRequires: libsigsegv-devel BuildRequires: libsigsegv-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRequires: mercurial
BuildRequires: gettext-devel >= 0.14.4 BuildRequires: gettext-devel >= 0.14.4
%if %with_postgresql %if %with_postgresql
BuildRequires: postgresql-devel >= 8.0 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. This package contains files necessary for linking CLISP.
%debug_package
%prep %prep
%setup -q %setup -q
%patch0 -p1 #%patch0 -p1
%patch1 -p1 #%patch1 -p1
%patch2 -p1 #%patch2 -p1
%patch3 -p0 #%patch3 -p0
%build %build
sed -i -e 's|^ make check$||' configure sed -i -e 's|^ make check$||' configure
@ -80,13 +84,14 @@ sed -i -e 's|^ make check$||' configure
--with-module=rawsock \ --with-module=rawsock \
--with-module=regexp \ --with-module=regexp \
--with-module=syscalls \ --with-module=syscalls \
--with-module=wildcard \
--with-module=zlib \ --with-module=zlib \
--with-module=bindings/glibc \ --with-module=bindings/glibc \
--with-readline \ --with-readline \
build \ build \
CC=%{_host}-gcc CC=%{_host}-gcc
# --build %{_host} \ # --build %{_host} \
# --with-module=wildcard \
cd build cd build
make make
@ -112,12 +117,12 @@ cat %{name}low.lang >> %{name}.lang
%{_datadir}/vim/vimfiles/after/syntax/lisp.vim %{_datadir}/vim/vimfiles/after/syntax/lisp.vim
%{_datadir}/emacs/site-lisp/*.el %{_datadir}/emacs/site-lisp/*.el
%{_datadir}/emacs/site-lisp/*.lisp %{_datadir}/emacs/site-lisp/*.lisp
%dir %{_libdir}/clisp-%{version} %dir %{_libdir}/clisp-%{version}+
%dir %{_libdir}/clisp-%{version}/base %dir %{_libdir}/clisp-%{version}+/base
%{_libdir}/clisp-%{version}/base/lispinit.mem %{_libdir}/clisp-%{version}+/base/lispinit.mem
%{_libdir}/clisp-%{version}/base/lisp.run %{_libdir}/clisp-%{version}+/base/lisp.run
%{_libdir}/clisp-%{version}/data %{_libdir}/clisp-%{version}+/data
%{_libdir}/clisp-%{version}/dynmod %{_libdir}/clisp-%{version}+/dynmod
%{_mandir}/man1/* %{_mandir}/man1/*
%dir %{_docdir}/%{name}-%{version} %dir %{_docdir}/%{name}-%{version}
%{_docdir}/%{name}-%{version}/* %{_docdir}/%{name}-%{version}/*
@ -125,22 +130,25 @@ cat %{name}low.lang >> %{name}.lang
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
%attr(0755,root,root) %{_bindir}/clisp-link %attr(0755,root,root) %{_bindir}/clisp-link
%{_libdir}/clisp-%{version}/base/*.a %{_libdir}/clisp-%{version}+/base/*.a
%{_libdir}/clisp-%{version}/base/*.o %{_libdir}/clisp-%{version}+/base/*.o
%{_libdir}/clisp-%{version}/base/*.h %{_libdir}/clisp-%{version}+/base/*.h
%{_libdir}/clisp-%{version}/base/makevars %{_libdir}/clisp-%{version}+/base/makevars
%{_libdir}/clisp-%{version}/berkeley-db %{_libdir}/clisp-%{version}+/berkeley-db
%{_libdir}/clisp-%{version}/bindings/glibc %{_libdir}/clisp-%{version}+/bindings/glibc
%{_libdir}/clisp-%{version}/build-aux %{_libdir}/clisp-%{version}+/build-aux
%{_libdir}/clisp-%{version}/clx %{_libdir}/clisp-%{version}+/clx
%{_libdir}/clisp-%{version}/linkkit %{_libdir}/clisp-%{version}+/linkkit
%{_libdir}/clisp-%{version}/pcre %{_libdir}/clisp-%{version}+/pcre
%{_libdir}/clisp-%{version}/rawsock %{_libdir}/clisp-%{version}+/rawsock
%{_libdir}/clisp-%{version}/wildcard #%{_libdir}/clisp-%{version}+/wildcard
%{_libdir}/clisp-%{version}/zlib %{_libdir}/clisp-%{version}+/zlib
%{_datadir}/aclocal/clisp.m4 %{_datadir}/aclocal/clisp.m4
%changelog %changelog
* Sun Dec 01 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49.93-1mamba
- update to 2.49.93
* Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba * Sat Aug 03 2013 Silvan Calarco <silvan.calarco@mambasoft.it> 2.49-2mamba
- rebuilt with db 5.1 (added patch) - rebuilt with db 5.1 (added patch)