%define iname guile %define sversion 1.8 Summary: A GNU implementation of Scheme for application extensibility Name: %{iname}18 Version: %sversion.4 Release: alt1 Serial: 1 Url: http://www.gnu.org/software/guile/ License: GPL Group: Development/Scheme Obsoletes: %iname <= 1.4.1 Provides: %iname = %serial:%version-%release Provides: /usr/bin/guile Packager: Alex Karpov <karpov@altlinux.org> Source: ftp://alpha.gnu.org/gnu/%iname/%iname-%version.tar.gz Source1: %name.alternatives # Automatically added by buildreq on Wed Feb 07 2007 BuildRequires: gcc-c++ gcc-fortran glibc-devel-static libgmp-devel libltdl-devel libncurses-devel libreadline-devel packages-info-i18n-common sendmail-common %add_findreq_skiplist %_datadir/%iname/%sversion/scripts/* %description GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. %package devel Summary: A GNU implementation of Scheme for application extensibility Group: Development/Scheme Requires: %name = %serial:%version-%release Requires: libgmp-devel Obsoletes: %iname-devel <= 1.4.1 Provides: %iname-devel = %serial:%version-%release Conflicts: guile14-devel guile16-devel %description devel GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. Install this package if you are going to develop extendable programs. %package devel-static Summary: A GNU implementation of Scheme for application extensibility Group: Development/Scheme Requires: %name-devel = %serial:%version-%release Obsoletes: %iname-devel-static <= 1.4.1 Provides: %iname-devel-static = %serial:%version-%release %description devel-static GUILE (GNU's Ubiquitous Intelligent Language for Extension) is a library implementation of the Scheme programming language, written in C. GUILE provides a machine-independent execution platform that can be linked in as a library during the building of extensible programs. Install this package if you need to statically link your program with guile. %prep %setup -q -n %iname-%version %__subst -p 's/^libguile_la_LDFLAGS = .*/& $(GUILE_CFLAGS)/' libguile/Makefile* %build %ifarch x86_64 %define _optlevel 0 %endif %configure --with-threads --enable-error-on-warning=no #NO SMP %make %install #export LD_LIBRARY_PATH=$RPM_BUILD_ROOT%_libdir #make install DESTDIR=$RPM_BUILD_ROOT LDFLAGS=-L$RPM_BUILD_ROOT%_libdir %makeinstall #alternatives stuff install -pD -m644 %SOURCE1 %buildroot%_altdir/%name mv %buildroot%_bindir/%iname %buildroot%_bindir/%name %post %register_alternatives %name -- %iname %preun %unregister_alternatives %name %post devel %install_info guile.info r5rs.info guile-tut.info goops.info %preun devel %uninstall_info guile.info r5rs.info guile-tut.info goops.info %files %_bindir/%name %dir %_datadir/%iname %dir %_datadir/%iname/%sversion %_libdir/lib*.so.* %_libdir/lib%iname?*.so %_datadir/%iname/%sversion/* %_altdir/%name %files devel %_bindir/%iname-snarf %_bindir/%iname-config %_bindir/%iname-tools %_libdir/lib%iname.so %_includedir/* %_datadir/aclocal/* %_datadir/info/*.info* %files devel-static %_libdir/lib*.a %changelog * Tue Mar 18 2008 Alex Karpov <karpov@altlinux.ru> 1:1.8.4-alt1 - 1.8.4 * Wed Oct 17 2007 Alex Karpov <karpov@altlinux.ru> 1:1.8.3-alt1 - 1.8.3 * Mon Aug 27 2007 Alex Karpov <karpov@altlinux.ru> 1:1.8.2-alt1 - new version * Mon Feb 12 2007 Alex Karpov <karpov@altlinux.ru> 1:1.8.1-alt1 - "Url:" added, bug 9466 fixed * Wed Feb 07 2007 Alex Karpov <karpov@altlinux.ru> 1:1.8.1-alt0.1 - picked from orphaned, new version * Tue Mar 07 2006 Dmitry V. Levin <ldv@altlinux.org> 1:1.7.91-alt0.4 - Fixed build with --as-needed. * Fri Feb 17 2006 Stanislav Ievlev <inger@altlinux.org> 1:1.7.91-alt0.3 - build with optlevel 0 on amd64 (guile are too unstable with such optimization) * Fri Feb 17 2006 Stanislav Ievlev <inger@altlinux.org> 1:1.7.91-alt0.2.1 - cvs snapshot * Thu Feb 16 2006 Stanislav Ievlev <inger@altlinux.org> 1:1.7.91-alt0.2 - increase alternatives weight * Wed Feb 15 2006 Stanislav Ievlev <inger@altlinux.org> 1:1.7.91-alt0.1 - 1.8 rc1 * Fri Dec 30 2005 ALT QA Team Robot <qa-robot@altlinux.org> 1:1.6.7-alt2.1.1 - Rebuilt with libreadline.so.5. * Mon Jul 11 2005 Anton D. Kachalov <mouse@altlinux.org> 1:1.6.7-alt2.1 - x86_64 support * Wed Mar 23 2005 Alexey Voinov <voins@altlinux.ru> 1:1.6.7-alt2 - .unsigned patch added [fixes #6298] * Wed Dec 22 2004 Alexey Voinov <voins@altlinux.ru> 1:1.6.7-alt1 - new version (1.6.7) * Tue Dec 14 2004 Alexey Voinov <voins@altlinux.ru> 1:1.6.6-alt1 - new version (1.6.6) * Thu Oct 19 2004 Alexey Voinov <voins@altlinux.ru> 1:1.6.5-alt1 - new version (1.6.5) - removed deps on libtool-1.4 - removed build dep on self - buildreq updated - alternatives entry updated * Tue Dec 02 2003 Alexey Voinov <voins@altlinux.ru> 1:1.6.4-alt4 - rebuilt without *.la * Wed Oct 01 2003 Alexey Voinov <voins@altlinux.ru> 1:1.6.4-alt3 - now requires libtool_1.4 - fix buildreq - guile-readline files included in devel subpackage * Sun Jun 01 2003 Alexey Voinov <voins@voins.program.ru> 1:1.6.4-alt2 - threads support enabled. * Thu May 08 2003 Alexey Voinov <voins@voins.program.ru> 1:1.6.4-alt1 - spec derived from guile-1.4 - new version - support for alternatives. - devel-static created. * Mon Oct 21 2002 AEN <aen@altlinux.ru> 1:1.4-alt1 - Serial : 1 * Thu May 31 2001 AEN <aen@logic.ru> 1.4-ipl9mdk - rebuild with new umb-schene package - requires on new umb-scheme * Fri Jan 05 2001 AEN <aen@logic.ru> - adopted for RE * Wed Nov 15 2000 Egil Moeller <redhog@mandrakesoft.com> 1.4-7mdk - Bugworkaround around the flawed Makefile. * Mon Sep 11 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.4-6mdk - ooops wrong info file name. * Mon Sep 11 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.4-5mdk - finalized BM (Thanks Stefan). * Fri Sep 8 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.4-4mdk - removed menu entry. - added a depency for guile-devel on guile with the same release. * Mon Aug 07 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.4-3mdk - automatically added BuildRequires * Fri Jul 21 2000 Pixel <pixel@mandrakesoft.com> 1.4-2mdk - add provides libguile.so.6 * Tue Jul 11 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.4-1mdk - 1.4 * Thu Mar 30 2000 Frederic Lepied <flepied@mandrakesoft.com> 1.3.4-3mdk - fix group * Sun Nov 7 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - provides libguile.so.[15]. * Fri Nov 05 1999 Axalon Bloodstone <axalon@linux-mandrake.com> - SMP build/check - 1.3.4 * Tue Aug 31 1999 Pablo Saratxaga <pablo@mandrakesoft.com> - added macro %%{guilever} as apckage version is 1.3.2a but for paths, etc. it remains 1.2.3 - corrected %files section (some libs weren't included) * Thu Aug 26 1999 Thierry Vignaud <tvignaud@mandrakesoft.com> - -1.3.2a * Fri Apr 23 1999 Chmouel Boudjnah <chmouel@mandrakesoft.com> - Mandrake adaptations. * Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com> - auto rebuild in the new build environment (release 6) * Wed Mar 17 1999 Michael Johnson <johnsonm@redhat.com> - added .ansi patch to fix #endif * Wed Feb 10 1999 Cristian Gafton <gafton@redhat.com> - add patch for the scm stuff * Sun Jan 17 1999 Jeff Johnson <jbj@redhat.com> - integrate changes from rhcn version (#640) * Tue Jan 12 1999 Cristian Gafton <gafton@redhat.com> - call libtoolize first to get it to compile on the arm * Sat Jan 9 1999 Todd Larason <jtl@molehill.org> - Added "Requires: guile" at suggestion of Manu Rouat <emmanuel.rouat@wanadoo.fr> * Fri Jan 1 1999 Todd Larason <jtl@molehill.org> - guile-devel does depend on guile - remove devel dependancy on m4 - move guile-snarf from guile to guile-devel - Converted to rhcn * Wed Oct 21 1998 Jeff Johnson <jbj@redhat.com> - update to 1.3. - don't strip libguile.so.*.0.0. (but set the execute bits). * Thu Sep 10 1998 Cristian Gafton <gafton@redhat.com> - spec file fixups * Wed Sep 2 1998 Michael Fulbright <msf@redhat.com> - Updated for RH 5.2 * Mon Jan 26 1998 Marc Ewing <marc@redhat.com> - Started with spec from Tomasz Koczko <kloczek@idk.com.pl> - added slib link * Thu Sep 18 1997 Tomasz Koczko <kloczek@idk.com.pl> (1.2-3) - added %%attr(-, root, root) for %%doc, - in %%post, %%postun ldconfig runed as parameter "-p", - removed /bin/sh from requires, - added %%description, - changes in %%files. * Fri Jul 11 1997 Tomasz Koczko <kloczek@rudy.mif.pg.gda.pl> (1.2-2) - all rewrited for using Buildroot, - added %%postun, - removed making buid logs, - removed "--inclededir", added "--enable-dynamic-linking" to configure parameters, - added striping shared libs and /usr/bin/guile, - added "Requires: /bin/sh" (for guile-snarf) in guile package and "Requires: m4" for guile-devel, - added macro %%{PACKAGE_VERSION} in "Source:" and %%files, - added %%attr macros in %%files.