From b431cbc882038ac810eb0162543049d45353aa41 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:33:36 +0100 Subject: [PATCH] update to 3.0.2 [release 3.0.2-1mamba;Thu May 21 2020] --- libguile.spec | 58 +++++++++++++++++++++++++++++++++------------------ 1 file changed, 38 insertions(+), 20 deletions(-) diff --git a/libguile.spec b/libguile.spec index 80b011e..2f71c0c 100644 --- a/libguile.spec +++ b/libguile.spec @@ -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 3.0.2-1mamba +- update to 3.0.2 + * Tue Jan 28 2020 Silvan Calarco 2.2.6-2mamba - remove version in provides/obsoletes for guile and guile-devel (attempt to fix dnf upgrade error on arm)