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) %define majversion %(echo %version | cut -d. -f 1-2)
Name: libguile Name: libguile
Version: 2.2.6 Version: 3.0.2
Release: 2mamba Release: 1mamba
Summary: A GNU implementation of Scheme for application extensibility Summary: A GNU implementation of Scheme for application extensibility
Group: Development/Applications Group: Development/Applications
Vendor: openmamba Vendor: openmamba
@ -13,6 +13,7 @@ Patch0: libguile-2.0.11-arm-asm.patch
License: LGPL License: LGPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libffi-devel BuildRequires: libffi-devel
BuildRequires: libgc-devel BuildRequires: libgc-devel
BuildRequires: libgmp-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. Install the guile package if you'd like to add extensibility to programs that you are developing.
%package devel %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 Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: %{name}-tools = %{?epoch:%epoch:}%{version}-%{release}
Provides: guile-devel Provides: guile-devel
Obsoletes: 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 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. 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 %debug_package
%prep %prep
@ -77,6 +89,7 @@ chmod +x %{_builddir}/guile-%{version}/find_requires.sh
--disable-static \ --disable-static \
--disable-error-on-warning \ --disable-error-on-warning \
%ifarch arm %ifarch arm
--enable-jit=no \
CFLAGS="%{optflags} -O1" CFLAGS="%{optflags} -O1"
%endif %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" \ #LD_LIBRARY_PATH="`pwd`/libguile/.libs:`pwd`/qt/.libs:`pwd`/libguile-ltdl/.libs" \
%make %make
#\ #\
# LDFLAGS="-L`pwd`/libguile/.libs" # LDFLAGS="-L`pwd`/libguile/.libs"
@ -128,15 +142,15 @@ mv %{buildroot}%{_libdir}/*.scm %{buildroot}%{_datadir}/gdb/auto-load/%{_libdir}
%clean %clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post %post -p /sbin/ldconfig
/sbin/ldconfig %postun -p /sbin/ldconfig
%posttrans tools
if [ $1 -ge 1 ]; then if [ $1 -ge 1 ]; then
guile -c "(use-modules (ice-9 slib)) (require 'printf)" &>/dev/null guile -c "(use-modules (ice-9 slib)) (require 'printf)" &>/dev/null
fi fi
: :
%postun -p /sbin/ldconfig
#% define info_files goops guile-tut guile r5rs #% define info_files goops guile-tut guile r5rs
# #
#% post devel #% post devel
@ -152,9 +166,6 @@ fi
%files %files
%defattr(-,root,root,-) %defattr(-,root,root,-)
%{_bindir}/guild
%{_bindir}/guile
%{_bindir}/guile-tools
%{_libdir}/libguile-%{majversion}.so.* %{_libdir}/libguile-%{majversion}.so.*
%dir %{_libdir}/guile %dir %{_libdir}/guile
%dir %{_libdir}/guile/%{majversion} %dir %{_libdir}/guile/%{majversion}
@ -164,15 +175,8 @@ fi
%{_libdir}/guile/%{majversion}/extensions/guile-readline.la %{_libdir}/guile/%{majversion}/extensions/guile-readline.la
%{_libdir}/guile/%{majversion}/extensions/guile-readline.so %{_libdir}/guile/%{majversion}/extensions/guile-readline.so
%{_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.* %{_mandir}/man1/guile.*
%doc AUTHORS %doc AUTHORS THANKS
%doc THANKS
%files devel %files devel
%defattr(-,root,root,-) %defattr(-,root,root,-)
@ -190,7 +194,21 @@ fi
%{_infodir}/* %{_infodir}/*
#%doc ChangeLog GUILE-VERSION HACKING NEWS.bz2 README #%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 %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 * 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) - remove version in provides/obsoletes for guile and guile-devel (attempt to fix dnf upgrade error on arm)