rebuilt with --disable-static --disable-error-on-warning and removed make scmconfig.h [release 2.0.13-2mamba;Thu Dec 08 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 04:33:36 +01:00
parent 1f4fcefefd
commit 1dbf391ae1

View File

@ -1,7 +1,7 @@
%define majversion %(echo %version | cut -d. -f 1-2)
Name: libguile
Version: 2.0.13
Release: 1mamba
Release: 2mamba
Summary: A GNU implementation of Scheme for application extensibility
Group: Development/Applications
Vendor: openmamba
@ -52,24 +52,29 @@ You'll also need to install the guile package.
%prep
%setup -q -n guile-%{version}
#-D -T
%build
#:<< _EOF
%configure \
--with-threads \
--disable-static \
--disable-error-on-warning \
%ifarch arm
CFLAGS="%{optflags} -O1"
%endif
%make scmconfig.h \
-j1 \
-C libguile
#% make scmconfig.h \
# -j1 \
# -C libguile
# Guile forgets to set it's onw shard lib path to use shared uninstalled apps.
# It ain't pretty, but it works.
LD_LIBRARY_PATH="`pwd`/libguile/.libs:`pwd`/qt/.libs:`pwd`/libguile-ltdl/.libs" \
%make \
LDFLAGS="-L`pwd`/libguile/.libs"
#LD_LIBRARY_PATH="`pwd`/libguile/.libs:`pwd`/qt/.libs:`pwd`/libguile-ltdl/.libs" \
%make
#\
# LDFLAGS="-L`pwd`/libguile/.libs"
%install
[ "%{buildroot}" != "/" ] && rm -rf "%{buildroot}"
@ -116,18 +121,18 @@ fi
%postun -p /sbin/ldconfig
%define info_files goops guile-tut guile r5rs
%post devel
for info_file in %info_files
do %install_info $info_file.info
done
%preun devel
for info_file in %info_files
do %uninstall_info $info_file.info
done
:
#% define info_files goops guile-tut guile r5rs
#
#% post devel
#for info_file in %info_files
# do %install_info $info_file.info
#done
#
#% preun devel
#for info_file in %info_files
# do %uninstall_info $info_file.info
#done
#:
%files
%defattr(-,root,root,-)
@ -161,12 +166,12 @@ done
%{_includedir}/guile/2.0/*.h
%dir %{_includedir}/guile/2.0/libguile
%{_includedir}/guile/2.0/libguile/*.h
%{_libdir}/libguile-2.0.a
#%{_libdir}/libguile-2.0.a
%{_libdir}/libguile-2.0.la
%{_libdir}/libguile-2.0.so
#%{_libdir}/libguile-srfi-srfi-*.a
#%{_libdir}/libguile-srfi-srfi-*.la
%{_libdir}/libguilereadline-v-18.a
#%{_libdir}/libguilereadline-v-18.a
%{_libdir}/libguilereadline-v-18.la
%{_libdir}/libguilereadline-v-18.so
%{_libdir}/pkgconfig/guile-%{majversion}.pc
@ -175,6 +180,9 @@ done
#%doc ChangeLog GUILE-VERSION HACKING NEWS.bz2 README
%changelog
* Thu Dec 08 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.0.13-2mamba
- rebuilt with --disable-static --disable-error-on-warning and removed make scmconfig.h
* Fri Oct 14 2016 Automatic Build System <autodist@mambasoft.it> 2.0.13-1mamba
- automatic version update by autodist