forked from pool/guile
Petr Gajdos
896b37a464
** `guile-tools' renamed to `guild' ** New control operators: `shift' and `reset' ** `while' as an expression ** Disallow access to handles of weak hash tables ** More precision for `get-internal-run-time', `get-internal-real-time' ** Guile now measures time spent in GC ** Add `gcprof' ** `map', `for-each' and some others now implemented in Scheme ** Add `scm_peek_byte_or_eof'. ** Implement #:stop-at-first-non-option option for getopt-long ** Improve R6RS conformance for conditions in the I/O libraries ** All deprecated routines emit warnings ** Constants in compiled code now share state better ** VLists: optimize `vlist-fold-right', and add `vhash-fold-right' ** UTF-8 ports to bypass `iconv' entirely ** Compiler speedups ** VM speed tuning ** SRFI-1 list-set optimizations ** `memq', `memv' optimizations ** Deprecate scm_whash API ** Deprecate scm_struct_table ** Deprecate scm_internal_dynamic_wind ** Deprecate scm_immutable_cell, scm_immutable_double_cell ** Fix double-loading of script in -ds case ** -x error message fix ** iconveh-related cross-compilation fixes ** Fix small integer return value packing on big endian machines. ** Fix hash-set! in weak-value table from non-immediate to immediate ** Fix call-with-input-file & relatives for multiple values OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile?expand=0&rev=13
149 lines
4.3 KiB
RPMSpec
149 lines
4.3 KiB
RPMSpec
#
|
|
# spec file for package guile (Version 1.8.6)
|
|
#
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
|
#
|
|
# All modifications and additions to the file contributed by third parties
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
# upon. The license for this file, and modifications and additions to the
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
# license for the pristine package is not an Open Source License, in which
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
# published by the Open Source Initiative.
|
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
#
|
|
|
|
|
|
|
|
Name: guile
|
|
BuildRequires: gmp-devel readline-devel libunistring-devel gc-devel pkg-config libffi-devel
|
|
License: LGPL v2.1 or later
|
|
Group: Development/Languages/Scheme
|
|
AutoReqProv: on
|
|
Version: 2.0.2
|
|
Release: 2
|
|
Summary: GNU's Ubiquitous Intelligent Language for Extension
|
|
Url: http://www.gnu.org/software/guile/
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
Patch1: %{name}-64bit.patch
|
|
Patch2: %{name}-1.6.10-mktemp.patch
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
PreReq: fileutils sh-utils
|
|
PreReq: %install_info_prereq
|
|
Conflicts: slib < 3a5
|
|
|
|
%description
|
|
This is Guile, a portable, embeddable Scheme implementation written in
|
|
C. Guile provides a machine independent execution platform that can be
|
|
linked in as a library when building extensible programs.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jim Blandy <jimb@floss.red-bean.com>
|
|
George Carrette
|
|
Aubrey Jaffer
|
|
Gary Houston <ghouston@actrix.gen.nz>
|
|
Tom Lord
|
|
Anthony Green
|
|
Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
|
Mark Galassi <rosalia@papageno.lanl.gov>
|
|
Tim Pierce <twp@twp.tezcat.com>
|
|
Marius Vollmer <mvo@zagadka.ping.de>
|
|
Tom Tromey <tromey@cygnus.com>
|
|
|
|
%package devel
|
|
License: LGPL v2.1 or later
|
|
Group: Development/Languages/Scheme
|
|
Summary: GNU's Ubiquitous Intelligent Language for Extension
|
|
Requires: %{name} = %{version} gmp-devel readline-devel ncurses-devel gc-devel libunistring-devel libffi-devel
|
|
|
|
%description devel
|
|
This is Guile, a portable, embeddable Scheme implementation written in
|
|
C. Guile provides a machine independent execution platform that can be
|
|
linked in as a library when building extensible programs.
|
|
|
|
|
|
|
|
Authors:
|
|
--------
|
|
Jim Blandy <jimb@floss.red-bean.com>
|
|
George Carrette
|
|
Aubrey Jaffer
|
|
Gary Houston <ghouston@actrix.gen.nz>
|
|
Tom Lord
|
|
Anthony Green
|
|
Mikael Djurfeldt <mdj@mdj.nada.kth.se>
|
|
Mark Galassi <rosalia@papageno.lanl.gov>
|
|
Tim Pierce <twp@twp.tezcat.com>
|
|
Marius Vollmer <mvo@zagadka.ping.de>
|
|
Tom Tromey <tromey@cygnus.com>
|
|
|
|
%prep
|
|
%setup -q
|
|
%patch1
|
|
%patch2
|
|
# force rebuild with non-broken makeinfo
|
|
#rm -f doc/*/*.info
|
|
|
|
%build
|
|
# FIXME: Following files are apparently compiled without RPM_OPT_FLAGS:
|
|
# gen-scmconfig.c,c-tokenize.c
|
|
%configure --disable-static --with-pic\
|
|
--with-threads
|
|
make
|
|
|
|
%check
|
|
LD_LIBRARY_PATH="." make check
|
|
|
|
%install
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/guile/site
|
|
|
|
%clean
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
%post devel
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/r5rs.info.gz
|
|
|
|
%postun devel
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
%install_info_delete --info-dir=%{_infodir} %{_infodir}/r5rs.info.gz
|
|
|
|
%pre
|
|
# Remove obsolete files (< SuSE Linux 10.2)
|
|
rm -f var/adm/SuSEconfig/md5/usr/share/guile/*/slibcat
|
|
rm -f usr/share/guile/site/slibcat.SuSEconfig
|
|
|
|
%files
|
|
%defattr(-,root,root)
|
|
%doc ABOUT-NLS AUTHORS COPYING* ChangeLog GUILE-VERSION HACKING
|
|
%doc LICENSE NEWS README THANKS
|
|
%{_bindir}/*
|
|
%{_datadir}/guile
|
|
%{_libdir}/libguile*.so.*
|
|
# NOTE: At least some .so files must be here, required for dynamic-link.
|
|
%{_libdir}/libguile*.so
|
|
%{_libdir}/libguile*.la
|
|
%{_mandir}/man1/guile.1.gz
|
|
%{_libdir}/guile
|
|
|
|
%files devel
|
|
%defattr(-,root,root)
|
|
%{_includedir}/*
|
|
%{_datadir}/aclocal/guile.m4
|
|
%doc %{_infodir}/%{name}.info.gz
|
|
%doc %{_infodir}/%{name}.info-[0-9].gz
|
|
%doc %{_infodir}/r5rs.info.gz
|
|
%{_libdir}/pkgconfig/*
|
|
|
|
%changelog
|