update to 3.0.2 [release 3.0.2-1mamba;Thu May 21 2020]

This commit is contained in:
Silvan Calarco 2024-01-06 04:33:36 +01:00
parent 90d6461240
commit b431cbc882

View File

@ -1,7 +1,7 @@
%define majversion %(echo %version | cut -d. -f 1-2)
Name: libguile
Version: 2.2.6
Release: 2mamba
Version: 3.0.2
Release: 1mamba
Summary: A GNU implementation of Scheme for application extensibility
Group: Development/Applications
Vendor: openmamba
@ -13,6 +13,7 @@ Patch0: libguile-2.0.11-arm-asm.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libffi-devel
BuildRequires: libgc-devel
BuildRequires: libgmp-devel
@ -37,9 +38,10 @@ GUILE provides a machine-independent execution platform that can be linked in as
Install the guile package if you'd like to add extensibility to programs that you are developing.
%package devel
Summary: Libraries and header files for the GUILE extensibility library.
Summary: Libraries and header files for the GUILE extensibility library
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Provides: guile-devel
Obsoletes: guile-devel
@ -48,6 +50,16 @@ The guile-devel package includes the libraries, header files, etc., that you'll
You need to install the guile-devel package if you want to develop applications that will be linked to GUILE.
You'll also need to install the guile package.
%package tools
Summary: Tools for the GUILE extensibility library
Group: Development/Tools
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
The guile-devel package includes the libraries, header files, etc., that you'll need to develop applications that are linked with the GUILE extensibility library.
You need to install the guile-devel package if you want to develop applications that will be linked to GUILE.
You'll also need to install the guile package.
%debug_package
%prep
@ -74,9 +86,10 @@ chmod +x %{_builddir}/guile-%{version}/find_requires.sh
%build
%configure \
--with-threads \
--disable-static \
--disable-error-on-warning \
--disable-static \
--disable-error-on-warning \
%ifarch arm
--enable-jit=no \
CFLAGS="%{optflags} -O1"
%endif
@ -89,6 +102,7 @@ chmod +x %{_builddir}/guile-%{version}/find_requires.sh
#LD_LIBRARY_PATH="`pwd`/libguile/.libs:`pwd`/qt/.libs:`pwd`/libguile-ltdl/.libs" \
%make
#\
# LDFLAGS="-L`pwd`/libguile/.libs"
@ -128,15 +142,15 @@ mv %{buildroot}%{_libdir}/*.scm %{buildroot}%{_datadir}/gdb/auto-load/%{_libdir}
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post
/sbin/ldconfig
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%posttrans tools
if [ $1 -ge 1 ]; then
guile -c "(use-modules (ice-9 slib)) (require 'printf)" &>/dev/null
fi
:
%postun -p /sbin/ldconfig
#% define info_files goops guile-tut guile r5rs
#
#% post devel
@ -152,9 +166,6 @@ fi
%files
%defattr(-,root,root,-)
%{_bindir}/guild
%{_bindir}/guile
%{_bindir}/guile-tools
%{_libdir}/libguile-%{majversion}.so.*
%dir %{_libdir}/guile
%dir %{_libdir}/guile/%{majversion}
@ -164,15 +175,8 @@ fi
%{_libdir}/guile/%{majversion}/extensions/guile-readline.la
%{_libdir}/guile/%{majversion}/extensions/guile-readline.so
%{_libdir}/guile/%{majversion}/extensions/guile-readline.so.*
%dir %{_datadir}/guile
%dir %{_datadir}/guile/%{majversion}
%{_datadir}/guile/%{majversion}/*
%{_datadir}/guile/slib
%{_datadir}/gdb/auto-load/%{_libdir}/*.scm
#%{_datadir}/emacs/site-lisp/*.el
%{_mandir}/man1/guile.*
%doc AUTHORS
%doc THANKS
%doc AUTHORS THANKS
%files devel
%defattr(-,root,root,-)
@ -190,7 +194,21 @@ fi
%{_infodir}/*
#%doc ChangeLog GUILE-VERSION HACKING NEWS.bz2 README
%files tools
%defattr(-,root,root,-)
%{_bindir}/guild
%{_bindir}/guile
%{_bindir}/guile-tools
%dir %{_datadir}/guile
%dir %{_datadir}/guile/%{majversion}
%{_datadir}/guile/%{majversion}/*
%{_datadir}/guile/slib
%{_datadir}/gdb/auto-load/%{_libdir}/*.scm
%changelog
* Thu May 21 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 3.0.2-1mamba
- update to 3.0.2
* Tue Jan 28 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.6-2mamba
- remove version in provides/obsoletes for guile and guile-devel (attempt to fix dnf upgrade error on arm)