2007-01-12 01:27:09 +01:00
|
|
|
#
|
2011-07-14 14:43:10 +02:00
|
|
|
# spec file for package guile (Version 1.8.6)
|
2007-01-12 01:27:09 +01:00
|
|
|
#
|
2011-07-14 14:43:10 +02:00
|
|
|
# Copyright (c) 2009 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
2007-01-12 01:27:09 +01:00
|
|
|
#
|
2008-09-08 01:31:38 +02:00
|
|
|
# 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.
|
|
|
|
|
2007-01-12 01:27:09 +01:00
|
|
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2008-02-28 17:59:01 +01:00
|
|
|
|
2007-01-12 01:27:09 +01:00
|
|
|
Name: guile
|
2011-07-14 14:43:10 +02:00
|
|
|
BuildRequires: gmp-devel readline-devel libunistring-devel gc-devel pkg-config libffi-devel
|
|
|
|
License: LGPL v2.1 or later
|
2007-01-12 01:27:09 +01:00
|
|
|
Group: Development/Languages/Scheme
|
2008-01-09 22:17:39 +01:00
|
|
|
AutoReqProv: on
|
2011-08-15 16:09:22 +02:00
|
|
|
Version: 2.0.2
|
2010-01-27 17:50:44 +01:00
|
|
|
Release: 2
|
2007-01-12 01:27:09 +01:00
|
|
|
Summary: GNU's Ubiquitous Intelligent Language for Extension
|
2008-01-09 22:17:39 +01:00
|
|
|
Url: http://www.gnu.org/software/guile/
|
2007-01-12 01:27:09 +01:00
|
|
|
Source0: %{name}-%{version}.tar.bz2
|
|
|
|
Patch1: %{name}-64bit.patch
|
2008-02-28 17:59:01 +01:00
|
|
|
Patch2: %{name}-1.6.10-mktemp.patch
|
2007-01-12 01:27:09 +01:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
PreReq: fileutils sh-utils
|
|
|
|
PreReq: %install_info_prereq
|
2008-02-08 19:16:08 +01:00
|
|
|
Conflicts: slib < 3a5
|
2007-01-12 01:27:09 +01:00
|
|
|
|
|
|
|
%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
|
2011-07-14 14:43:10 +02:00
|
|
|
License: LGPL v2.1 or later
|
2007-01-12 01:27:09 +01:00
|
|
|
Group: Development/Languages/Scheme
|
|
|
|
Summary: GNU's Ubiquitous Intelligent Language for Extension
|
2011-07-14 14:43:10 +02:00
|
|
|
Requires: %{name} = %{version} gmp-devel readline-devel ncurses-devel gc-devel libunistring-devel libffi-devel
|
2007-01-12 01:27:09 +01:00
|
|
|
|
|
|
|
%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
|
2009-02-08 00:10:24 +01:00
|
|
|
# force rebuild with non-broken makeinfo
|
2011-07-14 14:43:10 +02:00
|
|
|
#rm -f doc/*/*.info
|
2007-01-12 01:27:09 +01:00
|
|
|
|
|
|
|
%build
|
2007-03-06 09:06:21 +01:00
|
|
|
# FIXME: Following files are apparently compiled without RPM_OPT_FLAGS:
|
2007-01-12 01:27:09 +01:00
|
|
|
# gen-scmconfig.c,c-tokenize.c
|
2009-01-19 01:53:31 +01:00
|
|
|
%configure --disable-static --with-pic\
|
2007-01-12 01:27:09 +01:00
|
|
|
--with-threads
|
2011-07-14 14:43:10 +02:00
|
|
|
make
|
2009-01-19 01:53:31 +01:00
|
|
|
|
|
|
|
%check
|
2011-07-14 14:43:10 +02:00
|
|
|
LD_LIBRARY_PATH="." make check
|
2007-01-12 01:27:09 +01:00
|
|
|
|
|
|
|
%install
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT
|
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_datadir}/guile/site
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -fr $RPM_BUILD_ROOT
|
|
|
|
|
2009-02-08 00:10:24 +01:00
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%post devel
|
2007-01-12 01:27:09 +01:00
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info.gz
|
|
|
|
%install_info --info-dir=%{_infodir} %{_infodir}/r5rs.info.gz
|
|
|
|
|
2009-02-08 00:10:24 +01:00
|
|
|
%postun devel
|
2007-01-12 01:27:09 +01:00
|
|
|
%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)
|
2011-07-14 14:43:10 +02:00
|
|
|
%doc ABOUT-NLS AUTHORS COPYING* ChangeLog GUILE-VERSION HACKING
|
2008-07-08 18:47:20 +02:00
|
|
|
%doc LICENSE NEWS README THANKS
|
2007-01-12 01:27:09 +01:00
|
|
|
%{_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
|
2009-06-17 15:43:54 +02:00
|
|
|
%{_mandir}/man1/guile.1.gz
|
2011-07-14 14:43:10 +02:00
|
|
|
%{_libdir}/guile
|
2007-01-12 01:27:09 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/*
|
2011-07-14 14:43:10 +02:00
|
|
|
%{_datadir}/aclocal/guile.m4
|
2007-01-12 01:27:09 +01:00
|
|
|
%doc %{_infodir}/%{name}.info.gz
|
|
|
|
%doc %{_infodir}/%{name}.info-[0-9].gz
|
|
|
|
%doc %{_infodir}/r5rs.info.gz
|
2008-07-08 18:47:20 +02:00
|
|
|
%{_libdir}/pkgconfig/*
|
2007-01-12 01:27:09 +01:00
|
|
|
|
2007-03-06 09:06:21 +01:00
|
|
|
%changelog
|