osc copypac from project:multimedia:libs package:guile1 revision:1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/guile1?expand=0&rev=1
This commit is contained in:
Petr Gajdos 2012-01-10 07:46:58 +00:00 committed by Git OBS Bridge
commit ee09a12a26
9 changed files with 935 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

14
guile-1.6.10-mktemp.patch Normal file
View File

@ -0,0 +1,14 @@
Index: libguile/guile-snarf.in
===================================================================
--- libguile/guile-snarf.in.orig 2010-12-13 19:24:40.000000000 +0200
+++ libguile/guile-snarf.in 2011-09-27 19:28:33.721419831 +0200
@@ -71,8 +71,7 @@ fi
cpp_ok_p=false
if [ x"$TMPDIR" = x ]; then TMPDIR="/tmp" ; else : ; fi
-tempdir="$TMPDIR/guile-snarf.$$"
-(umask 077 && mkdir $tempdir) || exit 1
+tempdir=$(mktemp -d -q "$TMPDIR/snarf.XXXXXX") || { echo >&2 "guile-snarf: can not create temporary file"; exit 1; }
temp="$tempdir/tmp"
if [ x"$CPP" = x ] ; then cpp="@CPP@" ; else cpp="$CPP" ; fi

3
guile-1.8.8.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:caff301c5285c3d935d72b528b5bf3457959c240ac80dcbe646c1a799b366ea7
size 3176365

35
guile-64bit.patch Normal file
View File

@ -0,0 +1,35 @@
Index: libguile/hash.c
===================================================================
--- libguile/hash.c.orig 2010-12-13 19:24:40.000000000 +0200
+++ libguile/hash.c 2011-09-27 19:28:16.762890910 +0200
@@ -169,7 +169,7 @@ scm_hasher(SCM obj, unsigned long n, siz
unsigned long
scm_ihashq (SCM obj, unsigned long n)
{
- return (SCM_UNPACK (obj) >> 1) % n;
+ return ((unsigned long) SCM_UNPACK (obj) >> 1) % n;
}
@@ -205,7 +205,7 @@ scm_ihashv (SCM obj, unsigned long n)
if (SCM_NUMP(obj))
return (unsigned long) scm_hasher(obj, n, 10);
else
- return SCM_UNPACK (obj) % n;
+ return (unsigned long) SCM_UNPACK (obj) % n;
}
Index: libguile/struct.c
===================================================================
--- libguile/struct.c.orig 2010-12-13 19:24:40.000000000 +0200
+++ libguile/struct.c 2011-09-27 19:28:16.769890717 +0200
@@ -825,7 +825,7 @@ scm_struct_ihashq (SCM obj, unsigned lon
{
/* The length of the hash table should be a relative prime it's not
necessary to shift down the address. */
- return SCM_UNPACK (obj) % n;
+ return (unsigned long) SCM_UNPACK (obj) % n;
}
SCM

10
guile-gcc.patch Normal file
View File

@ -0,0 +1,10 @@
Index: libguile/guile-snarf-docs.in
===================================================================
--- libguile/guile-snarf-docs.in.orig 2010-12-13 19:24:40.000000000 +0200
+++ libguile/guile-snarf-docs.in 2011-09-27 19:41:26.488724499 +0200
@@ -23,4 +23,4 @@ bindir=`dirname $0`
## Let the user override the preprocessor autoconf found.
test -n "${CPP+set}" || CPP="@CPP@"
-${CPP} -DSCM_MAGIC_SNARF_DOCS "$@"
+${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"

13
guile-popen-test.patch Normal file
View File

@ -0,0 +1,13 @@
Index: test-suite/tests/popen.test
===================================================================
--- test-suite/tests/popen.test.orig 2010-12-13 19:24:40.000000000 +0200
+++ test-suite/tests/popen.test 2011-09-27 19:28:47.178045945 +0200
@@ -168,7 +168,7 @@
(port (with-error-to-port (cdr c2p)
(lambda ()
(open-output-pipe
- "exec 0</dev/null; while true; do echo closed 1>&2; done")))))
+ "exec 0</dev/null; echo closed 1>&2; sleep 3")))))
(close-port (cdr c2p)) ;; write side
(with-epipe
(lambda ()

573
guile1.changes Normal file
View File

@ -0,0 +1,573 @@
-------------------------------------------------------------------
Wed Sep 28 14:40:32 UTC 2011 - davejplater@gmail.com
- Changed name to guile1 to create new package for factory, based
on the 11.4 guile-1.8.7, to enable lilypond to build.
Split off libraries and updated to version 1.8.8.
- Removed guile-testsuite-build.patch now incorporated in sources.
Upstream changes :
*Fix possible buffer overruns when parsing numbers
*Fix random number generator on 64-bit platforms
Previously the `scm_c_random' function would crash or return
only 32-bit worth of randomness. In addition, the new
`scm_c_random64' function explicitly returns 64 bits of randomness.
*Add missing range checks in `vector-move-left!' and
`vector-move-right!'Previously these procedures could write past
the end of a vector.
*Avoid clash with system setjmp/longjmp on IA64
*Don't dynamically link an extension that is already registered
*Fix `wrong type arg' exceptions with IPv6 addresses
*Fix typos in `(srfi srfi-19)'
*Have `(srfi srfi-35)' provide named struct vtables
*Fix C documentation extraction ("snarfing") with recent GCC
versions
*Fix some Interix build problems
*Fix Tru64 build problems
*Fix GC-related build issues on Solaris 10 x86 with Sun Studio 12.
*Several small documentation fixes.
-------------------------------------------------------------------
Mon Mar 22 12:39:55 CET 2010 - pgajdos@suse.cz
- fixed build with new gcc
-------------------------------------------------------------------
Tue Jan 26 19:26:58 CET 2010 - pgajdos@suse.cz
- fixed build:
"Earlier versions of ltdl would look for extensions under $PWD; this
behavior changed in 2.2.6b."
* testsuite-build.patch taken from guile git (1.8 branch)
-------------------------------------------------------------------
Mon Nov 30 17:49:57 CET 2009 - pgajdos@suse.cz
- updated to 1.8.7 (see NEWS)
- fixed testsuite with patch taken from Fedora
* popen-test.patch
-------------------------------------------------------------------
Tue Nov 3 19:09:20 UTC 2009 - coolo@novell.com
- updated patches to apply with fuzz=0
-------------------------------------------------------------------
Tue Jun 16 19:47:46 CEST 2009 - pgajdos@suse.cz
- Updated to 1.8.6 (see NEWS)
- removed ac.patch
-------------------------------------------------------------------
Sat Feb 7 19:26:11 CET 2009 - schwab@suse.de
- Rebuild broken info files.
- Fix %post scripts.
-------------------------------------------------------------------
Fri Jan 16 20:26:37 CET 2009 - crrodriguez@suse.de
- remove static libraries
- run make check
-------------------------------------------------------------------
Sun Sep 7 11:34:14 CEST 2008 - schwab@suse.de
- Fix conflicting options.
-------------------------------------------------------------------
Mon Jul 7 16:48:39 CEST 2008 - pgajdos@suse.cz
- updated to 1.8.5:
* new modules `(srfi srfi-88)'
* New `postfix' read option, for SRFI-88 keyword syntax
* Some I/O primitives have been inlined, which improves I/O performance
* New object-based traps infrastructure
* New support for working on Guile code from within Emacs
* bug fixes
-------------------------------------------------------------------
Thu Mar 13 14:27:07 CET 2008 - schwab@suse.de
- Use autoreconf.
-------------------------------------------------------------------
Thu Feb 28 13:48:12 CET 2008 - ro@suse.de
- update to 1.8.4:
* New modules (srfi srfi-69)
* Bug fixes
- fix code for recent gcc by checking for __GNUC_GNU_INLINE__
instead of __GNUC__ for inline specifics (thanks, richi)
-------------------------------------------------------------------
Mon Feb 4 11:34:00 CET 2008 - pgajdos@suse.cz
- guile conflicts with slib < 3a5 [#354936]
-------------------------------------------------------------------
Wed Dec 12 14:52:27 CET 2007 - pgajdos@suse.cz
- upgraded to 1.8.3:
* New modules (srfi srfi-35), (srfi srfi-37)
* Bug fixes
* The reader is now faster, which reduces startup time
* Procedures returned by `record-accessor' and `record-modifier'
are faster
* New procedures set-program-arguments, make-vtable
* Incompatible change:
~~~~~~~~~~~~~~~~~~~~
The body of a top-level `define' no longer sees the binding
being created. In a top-level `define', the binding being
created is no longer visible from the `define' body. This
breaks code like "(define foo (begin (set! foo 1) (+ foo 1)))",
where `foo' is now unbound in the body. However, such code
was not R5RS-compliant anyway, per Section 5.2.1.
- removed getcontext.patch -- no longer needed because
of code change
-------------------------------------------------------------------
Mon Mar 5 18:17:05 CET 2007 - sbrabec@suse.cz
- Slib guile library installation moved from guile to slib.
-------------------------------------------------------------------
Thu Jan 11 17:03:26 CET 2007 - sbrabec@suse.cz
- More spec file cleanups.
-------------------------------------------------------------------
Fri Dec 8 12:42:05 CST 2006 - maw@suse.de
- Clean up the spec, removing some hardcoded paths.
-------------------------------------------------------------------
Tue Nov 28 15:36:24 CET 2006 - sbrabec@suse.cz
- Build as user and do not alter root filesystem.
-------------------------------------------------------------------
Mon Nov 27 12:34:43 CET 2006 - sbrabec@suse.cz
- Created empty directory for site packages (#223837).
-------------------------------------------------------------------
Thu Nov 23 19:17:42 CET 2006 - sbrabec@suse.cz
- Fixed slib installation scriptlets (#214940).
-------------------------------------------------------------------
Wed Nov 8 17:11:40 CET 2006 - anicka@suse.cz
- moved .la files to the base package (#218032).
-------------------------------------------------------------------
Wed Oct 25 15:14:48 CEST 2006 - sbrabec@suse.cz
- Moved .so files to the base package (#214940).
-------------------------------------------------------------------
Mon Oct 16 16:19:36 CEST 2006 - anicka@suse.cz
- move /usr/share/guile from devel to main package
(fixes ##212545)
-------------------------------------------------------------------
Sun Oct 15 23:48:21 CEST 2006 - schwab@suse.de
- Make sure config.rpath is present.
-------------------------------------------------------------------
Fri Oct 13 16:14:40 CEST 2006 - schwab@suse.de
- Add split provide.
-------------------------------------------------------------------
Fri Oct 13 13:44:55 CEST 2006 - aj@suse.de
- Split up devel subpackage.
-------------------------------------------------------------------
Tue Oct 10 12:50:59 CEST 2006 - sbrabec@suse.cz
- Updated to version 1.8.1:
* LFS functions are now used to access 64-bit files on 32-bit
systems.
* New procedures and functions.
* New modules and module merges.
* API changes.
* Bugs fixed.
* Guile is now licensed with the GNU Lesser General
Public License.
* The manual is now licensed with the GNU Free Documentation
License.
* Guile now requires GNU MP.
* Guile now has separate private and public configuration
headers.
* Thread implementation has changed.
* Command line syntax changes.
-------------------------------------------------------------------
Fri Oct 6 18:55:18 CEST 2006 - anicka@suse.cz
- update to 1.6.8
* gcc 4.0 fixes
* Guile now allows multiple line comments to end without
a trailing newline.
* better support for new versions of SLIB
* changes in C interface
-------------------------------------------------------------------
Fri Sep 8 11:54:50 CEST 2006 - anicka@suse.cz
- rewrite SuSEconfig.guile to RPM triggers
-------------------------------------------------------------------
Sun Jul 16 09:40:47 CEST 2006 - schwab@suse.de
- Mark ia64_getcontext as returning twice.
-------------------------------------------------------------------
Wed Jan 25 21:36:23 CET 2006 - mls@suse.de
- converted neededforbuild to BuildRequires
-------------------------------------------------------------------
Tue Jan 17 01:57:00 CET 2006 - ro@suse.de
- add aclocal in libltdl
-------------------------------------------------------------------
Wed May 18 10:37:12 CEST 2005 - sbrabec@suse.cz
- Disabled randomly failing make -j.
-------------------------------------------------------------------
Tue Apr 5 15:57:22 CEST 2005 - sbrabec@suse.cz
- Fixed incomplete array element type.
-------------------------------------------------------------------
Thu Mar 24 16:11:11 CET 2005 - uli@suse.de
- fixed to build on ARM
-------------------------------------------------------------------
Fri Jan 21 13:01:11 CET 2005 - sbrabec@suse.cz
- Updated to version 1.6.7.
-------------------------------------------------------------------
Fri Dec 10 15:57:41 CET 2004 - meissner@suse.de
- make -j , added make check.
-------------------------------------------------------------------
Tue Mar 30 13:33:26 CEST 2004 - sbrabec@suse.cz
- Fixed tempfile creation in guile-snarf (#36367).
- Build with -fno-strict-aliasing.
-------------------------------------------------------------------
Thu Nov 6 17:34:13 CET 2003 - schwab@suse.de
- Fix syntax in configure script.
-------------------------------------------------------------------
Tue Jul 08 17:46:08 CEST 2003 - sbrabec@suse.cz
- Updated to version 1.6.4.
-------------------------------------------------------------------
Thu Apr 24 12:20:23 CEST 2003 - ro@suse.de
- fix install_info --delete call and move from preun to postun
-------------------------------------------------------------------
Wed Mar 12 18:14:56 CET 2003 - sbrabec@suse.cz
- Workaround guile-config info version bug (symlink, fixes bug 25190).
-------------------------------------------------------------------
Tue Feb 11 15:24:22 CET 2003 - sbrabec@suse.cz
- Fixed GUILEVERSION datadir path.
-------------------------------------------------------------------
Mon Feb 10 15:50:54 CET 2003 - sbrabec@suse.cz
- Updated to version 1.6.2.
- Use %install_info (bug #23423).
-------------------------------------------------------------------
Wed Dec 11 22:35:14 CET 2002 - garloff@suse.de
- Make slib integration work independent of guile version number.
-------------------------------------------------------------------
Wed Dec 04 11:43:34 CET 2002 - sbrabec@suse.cz
- Change error message for unknown platform to warning. It allows to
compile guile on all platforms, but there is no guarantee to
functionallity. (guile-platforms.diff)
-------------------------------------------------------------------
Tue Dec 03 13:57:09 CET 2002 - sbrabec@suse.cz
- Fixed typo, which breaks TeXmacs
(guile-1.6.0-top_srcdir_absolute.diff).
-------------------------------------------------------------------
Wed Oct 30 18:29:55 CET 2002 - sbrabec@suse.cz
- Update to version 1.6.0.
-------------------------------------------------------------------
Tue Aug 20 13:45:10 CEST 2002 - mmj@suse.de
- Correct PreReq
-------------------------------------------------------------------
Tue Jul 30 12:12:14 CEST 2002 - mcihar@suse.cz
- fixed SuSEconfig.guile for new version
-------------------------------------------------------------------
Wed Jul 17 17:58:07 CEST 2002 - tiwai@suse.de
- updated to version 1.4.1.
-------------------------------------------------------------------
Tue Jun 11 11:24:08 MEST 2002 - mcihar@suse.cz
- disabled qthreads for ppc64
-------------------------------------------------------------------
Mon Apr 29 17:48:45 CEST 2002 - sf@suse.de
- disabled qthreads for x86_64
-------------------------------------------------------------------
Thu Apr 4 12:31:07 CEST 2002 - pmladek@suse.cz
- moved AC_LIBOBJ after AC_PROG_CC because AC_LIBOBJ uses $ac_objext
-------------------------------------------------------------------
Wed Apr 3 18:35:20 CEST 2002 - pmladek@suse.cz
- fixed to compile with autoconf-2.53 (AC_LIBOBJ vs. LIBOBJS)
-------------------------------------------------------------------
Fri Feb 8 12:13:07 CET 2002 - pmladek@suse.cz
- used -a option with automake to fix for PLUS distribution
- added back guile-doc-snarf: work around problem with cpp on ia64
bebause of 7.2-ia64+kde distribution
-------------------------------------------------------------------
Wed Feb 6 22:39:58 CET 2002 - schwab@suse.de
- Don't add /usr/include and /usr/local/include to include search path.
- Avoid trigraph.
- Add support for ia64 register backing store (from cvs).
- Don't build with -O0 on ia64.
-------------------------------------------------------------------
Mon Dec 17 11:13:06 CET 2001 - froh@suse.de
- added %{_libdir} to the specfile where appropriate to make it lib64
clean.
-------------------------------------------------------------------
Fri Dec 7 11:10:48 CET 2001 - pmladek@suse.cz
- fixed for new position of slib library
- SuSEconfig.guile uses check_md5_and_move now
- removed unused package scheme from neededforbuild
-------------------------------------------------------------------
Tue Nov 6 16:59:46 CET 2001 - pmladek@suse.cz
- fixed to compile with automake 1.5:
* OMIT_DEPENDENCIES are not supported now
-------------------------------------------------------------------
Sat Sep 15 20:22:56 CEST 2001 - schwab@suse.de
- Fix libtool configuration.
- Remove ia64 cpp workaround.
- Fix hash functions for 64-bit architectures.
-------------------------------------------------------------------
Fri Aug 31 11:10:43 CEST 2001 - pmladek@suse.cz
- fixed creating of SLIB catalog (#8997):
- moved from triggerin to SuSEconfig because
there were problems with update when rpm was
updated after guile
-------------------------------------------------------------------
Mon Aug 27 13:07:39 CEST 2001 - pmladek@suse.cz
- fixed to compile on axp:
* fixed file numbering in qt/md/axp.s
* fixed end of block qt_vstart in qt/md/axp.s
-------------------------------------------------------------------
Fri Aug 10 15:21:06 CEST 2001 - ro@suse.de
- fixed to build with current autoconf and libtool
-------------------------------------------------------------------
Thu Jun 14 14:51:56 CEST 2001 - pmladek@suse.cz
- fixed to more correctly compile with new autoconf
-------------------------------------------------------------------
Mon Jun 11 11:43:03 CEST 2001 - pmladek@suse.cz
- fixed to compile with new autoconf
-------------------------------------------------------------------
Sat May 12 15:10:36 CEST 2001 - schwab@suse.de
- Fix readline interface.
-------------------------------------------------------------------
Fri Feb 23 00:10:25 CET 2001 - ro@suse.de
- added readline/readline-devel to neededforbuild (split from bash)
-------------------------------------------------------------------
Wed Dec 6 13:56:38 CET 2000 - schwab@suse.de
- guile-doc-snarf: work around problem with cpp on ia64.
- Build with -O0 on ia64.
-------------------------------------------------------------------
Thu Nov 23 12:57:03 CET 2000 - cihlar@suse.cz
- fixed to compile on older distros
-------------------------------------------------------------------
Sun Nov 12 23:12:06 CET 2000 - ro@suse.de
- don't redeclare inet_aton
-------------------------------------------------------------------
Wed Nov 8 10:13:10 CET 2000 - ro@suse.de
- changed %post to %triggerin -- scheme
-------------------------------------------------------------------
Tue Nov 7 15:06:12 CET 2000 - cihlar@suse.cz
- added postinstall and link to /usr/lib/scheme/slib
-------------------------------------------------------------------
Fri Nov 3 07:33:15 CET 2000 - cihlar@suse.cz
- bzipped sources
- clean up spec file
-------------------------------------------------------------------
Mon Oct 23 12:14:36 CEST 2000 - ro@suse.de
- use macro for infodir
-------------------------------------------------------------------
Wed Aug 2 07:26:15 CEST 2000 - cihlar@suse.cz
- update to version 1.4
-------------------------------------------------------------------
Fri Apr 7 23:09:29 CEST 2000 - bk@suse.de
- And no QuickThreads yet on s390 too ;-)
-------------------------------------------------------------------
Thu Apr 6 18:27:36 CEST 2000 - schwab@suse.de
- No QuickThreads yet on ia64.
-------------------------------------------------------------------
Mon Mar 6 20:43:40 CET 2000 - schwab@suse.de
- Update config.{guess,sub} from automake.
-------------------------------------------------------------------
Sun Feb 6 16:12:51 CET 2000 - ke@suse.de
- Add group tag.
- /configure -> %build.
- use /usr/share/info.
-------------------------------------------------------------------
Sun Oct 3 12:49:46 CEST 1999 - ke@suse.de
- update: 1.3.4.
-------------------------------------------------------------------
Mon Sep 13 17:23:57 CEST 1999 - bs@suse.de
- ran old prepare_spec on spec file to switch to new prepare_spec.
-------------------------------------------------------------------
Tue Sep 7 16:55:04 CEST 1999 - uli@suse.de
- no QuickThreads on PPC, disabled them
-------------------------------------------------------------------
Wed Aug 25 17:26:13 CEST 1999 - ro@suse.de
- fixed configuration for alpha-Quickthreads again
-------------------------------------------------------------------
Wed Aug 25 14:35:11 MEST 1999 - ke@suse.de
- update: 1.3.2.
-------------------------------------------------------------------
Wed Mar 17 18:30:44 MET 1999 - ro@suse.de
- fixed patch-call
-------------------------------------------------------------------
Wed Feb 10 11:57:17 MET 1999 - ke@suse.de
- apply guile-slow-read-fix.patch (by Harvey J. Stein
<hjstein@bfr.co.il>).
- fix lib perms.
-------------------------------------------------------------------
Fri Feb 5 16:09:48 MET 1999 - ro@suse.de
- changed config to detect alpha(ev56) as alpha
-------------------------------------------------------------------
Wed Oct 21 14:03:40 MEST 1998 - ke@suse.de
- update: version 1.3.
- build libqthreads.
-------------------------------------------------------------------
Wed Sep 23 14:21:20 MEST 1998 - ke@suse.de
- update: snapshot 1998-09-23 (1.3a).
-------------------------------------------------------------------
Sun Aug 23 17:36:58 MEST 1998 - ke@suse.de
- update: snapshot 1998-08-23 (1.3a).
-------------------------------------------------------------------
Fri Nov 21 12:59:53 MET 1997 - bs@suse.de
- don't call ldconfig in spec file
-------------------------------------------------------------------
Tue Jul 15 09:31:32 1997 - Karl Eichwalder <ke@suse.de>
* initial package: version 1.2.

263
guile1.spec Normal file
View File

@ -0,0 +1,263 @@
#
# spec file for package guile
#
# Copyright (c) 2011 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: guile1
BuildRequires: gc-devel gmp-devel readline-devel pkg-config
License: LGPL-2.1+
Group: Development/Languages/Scheme
Version: 1.8.8
Release: 0
Summary: GNU's Ubiquitous Intelligent Language for Extension
Url: http://www.gnu.org/software/guile/
Source0: guile-%{version}.tar.bz2
Patch1: guile-64bit.patch
Patch2: guile-1.6.10-mktemp.patch
Patch3: guile-popen-test.patch
Patch5: guile-gcc.patch
BuildRoot: %{_tmppath}/guile-%{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.
%package -n libguile17
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
%description -n libguile17
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. This package
contains the shared libraries.
%package -n libguile-srfi-srfi-1-v-3-3
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
%description -n libguile-srfi-srfi-1-v-3-3
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. This package
contains the shared libraries.
%package -n libguile-srfi-srfi-4-v-3-3
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
%description -n libguile-srfi-srfi-4-v-3-3
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. This package
contains the shared libraries.
%package -n libguile-srfi-srfi-13-14-v-3-3
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
%description -n libguile-srfi-srfi-13-14-v-3-3
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. This package
contains the shared libraries.
%package -n libguile-srfi-srfi-60-v-2-2
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
%description -n libguile-srfi-srfi-60-v-2-2
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. This package
contains the shared libraries.
%package -n libguilereadline-v-17-17
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
%description -n libguilereadline-v-17-17
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. This package
contains the shared libraries.
%package -n libguile1-devel
Group: Development/Languages/Scheme
Summary: GNU's Ubiquitous Intelligent Language for Extension
Requires: libguilereadline-v-17-17 = %{version}-%{release}
Requires: libguile-srfi-srfi-60-v-2-2 = %{version}-%{release}
Requires: libguile-srfi-srfi-1-v-3-3 = %{version}-%{release}
Requires: libguile-srfi-srfi-4-v-3-3 = %{version}-%{release}
Requires: libguile-srfi-srfi-13-14-v-3-3 = %{version}-%{release}
Requires: libguilereadline-v-17-17 = %{version}-%{release}
Requires: libguile17 = %{version}-%{release}
Requires: gmp-devel readline-devel ncurses-devel
Provides: guile-devel
%description -n libguile1-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. This package
contains the files necessary to link against the guile libraries.
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 -n guile-%{version}
%patch1
%patch2
%patch3
%patch5
# guile-1.8.1: The code is not so good for -Werror (unused results of write()).
sed -i s/-Werror// configure.in configure
# force rebuild with non-broken makeinfo
rm -f doc/*/*.info
%build
autoreconf -fi
# FIXME: Following files are apparently compiled without RPM_OPT_FLAGS:
# gen-scmconfig.c,c-tokenize.c
%configure --disable-static --with-pic\
--with-threads
make %{?jobs:-j%jobs}
%check
make check
%install
make install DESTDIR=%{buildroot}
mkdir -p %{buildroot}%{_datadir}/guile/site
%post -n libguile-srfi-srfi-1-v-3-3
/sbin/ldconfig
%postun -n libguile-srfi-srfi-1-v-3-3
/sbin/ldconfig
%files -n libguile-srfi-srfi-1-v-3-3
%defattr(-,root,root)
%{_libdir}/libguile-srfi-srfi-1-v-3.so.3*
%post -n libguile-srfi-srfi-4-v-3-3
/sbin/ldconfig
%postun -n libguile-srfi-srfi-4-v-3-3
/sbin/ldconfig
%files -n libguile-srfi-srfi-4-v-3-3
%defattr(-,root,root)
%{_libdir}/libguile-srfi-srfi-4-v-3.so.3*
%post -n libguile-srfi-srfi-13-14-v-3-3
/sbin/ldconfig
%postun -n libguile-srfi-srfi-13-14-v-3-3
/sbin/ldconfig
%files -n libguile-srfi-srfi-13-14-v-3-3
%defattr(-,root,root)
%{_libdir}/libguile-srfi-srfi-13-14-v-3.so.3*
%post -n libguile-srfi-srfi-60-v-2-2
/sbin/ldconfig
%postun -n libguile-srfi-srfi-60-v-2-2
/sbin/ldconfig
%files -n libguile-srfi-srfi-60-v-2-2
%defattr(-,root,root)
%{_libdir}/libguile-srfi-srfi-60-v-2.so.2*
%post -n libguile17
/sbin/ldconfig
%postun -n libguile17
/sbin/ldconfig
%files -n libguile17
%defattr(-,root,root)
%{_libdir}/libguile.so.17*
%post -n libguilereadline-v-17-17
/sbin/ldconfig
%postun -n libguilereadline-v-17-17
/sbin/ldconfig
%files -n libguilereadline-v-17-17
%defattr(-,root,root)
%{_libdir}/libguilereadline-v-17.so.17*
%post -n libguile1-devel
%install_info --info-dir=%{_infodir} %{_infodir}/guile.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/goops.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/guile-tut.info.gz
%install_info --info-dir=%{_infodir} %{_infodir}/r5rs.info.gz
%postun -n libguile1-devel
%install_info_delete --info-dir=%{_infodir} %{_infodir}/guile.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/goops.info.gz
%install_info_delete --info-dir=%{_infodir} %{_infodir}/guile-tut.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
%{_mandir}/man1/guile.1.gz
%files -n libguile1-devel
%defattr(-,root,root)
%{_includedir}/*
%{_datadir}/aclocal/*
%doc %{_infodir}/guile.info.gz
%doc %{_infodir}/guile.info-[0-9].gz
%doc %{_infodir}/goops.info.gz
%doc %{_infodir}/guile-tut.info.gz
%doc %{_infodir}/r5rs.info.gz
%{_libdir}/libguile*.so
%{_libdir}/libguile*.la
%{_libdir}/pkgconfig/*
%changelog