package created using the webbuild interface [release 2.1.3-1mamba;Mon Mar 29 2021]

This commit is contained in:
Silvan Calarco 2024-01-05 17:39:19 +01:00
parent 9905765463
commit 68b42522c4
2 changed files with 80 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# sbcl
Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler. It is open source / free software, with a permissive license. In addition to the compiler and runtime system for ANSI Common Lisp, it provides an interactive environment including a debugger, a statistical profiler, a code coverage tool, and many other extensions.

78
sbcl.spec Normal file
View File

@ -0,0 +1,78 @@
Name: sbcl
Version: 2.1.3
Release: 1mamba
Summary: Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler
Group: Applications/Development
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.sbcl.org/
Source: https://downloads.sourceforge.net/project/sbcl/sbcl/%{version}/sbcl-%{version}-source.tar.bz2
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRequires: clisp
%description
Steel Bank Common Lisp (SBCL) is a high performance Common Lisp compiler. It is open source / free software, with a permissive license. In addition to the compiler and runtime system for ANSI Common Lisp, it provides an interactive environment including a debugger, a statistical profiler, a code coverage tool, and many other extensions.
%debug_package
%prep
%setup -q
%build
export CFLAGS+=" -D_GNU_SOURCE -fno-omit-frame-pointer -DSBCL_HOME=/usr/lib/sbcl"
export GNUMAKE="make"
# build system uses LINKFLAGS and OS_LIBS to build LDFLAGS
export LINKFLAGS="$LDFLAGS"
unset LDFLAGS
unset MAKEFLAGS
sh make.sh sbcl --prefix=/usr --fancy --xc-host='clisp'
make -C doc/manual info
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
# cannot have both SBCL_HOME and INSTALL_ROOT
SBCL_HOME="" INSTALL_ROOT=%{buildroot}%{_prefix} sh install.sh
# sources
mkdir -p %{buildroot}%{_datadir}/sbcl-source
cp -R -t %{buildroot}%{_datadir}/sbcl-source {src,contrib}
# drop unwanted files
find %{buildroot} \( -name Makefile -o -name .cvsignore \) -delete
find %{buildroot}%{_datadir}/sbcl-source -type f \
\( -name \*.fasl -o -name \*.o -o -name \*.log -o -name \*.so -o -name a.out \) -delete
rm %{buildroot}%{_datadir}/sbcl-source/src/runtime/sbcl
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files
%defattr(-,root,root)
%{_bindir}/sbcl
%dir %{_prefix}/lib/sbcl
%dir %{_prefix}/lib/sbcl/contrib
%{_prefix}/lib/sbcl/contrib/*
%{_prefix}/lib/sbcl/sbcl.core
%{_prefix}/lib/sbcl/sbcl.mk
%dir %{_datadir}/sbcl-source
%dir %{_datadir}/sbcl-source/contrib
%{_datadir}/sbcl-source/contrib/*
%dir %{_datadir}/sbcl-source/src
%{_datadir}/sbcl-source/src/*
%dir %{_datadir}/doc/sbcl
%{_datadir}/doc/sbcl/*
%{_infodir}/asdf.info*
%{_infodir}/sbcl.info*
%{_mandir}/man1/sbcl.1*
%doc COPYING CREDITS
%changelog
* Mon Mar 29 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 2.1.3-1mamba
- package created using the webbuild interface