Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37573940
en ru br
ALT Linux repositórios
5.0: 1.8.6-alt2
4.1: 1.8.4-alt1
4.0: 1.8.1-alt1

Group :: Desenvolvimento/Scheme
RPM: guile18

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define iname guile
%define sversion 1.8

Summary: A GNU implementation of Scheme for application extensibility
Name: %{iname}18
Version: %sversion.1
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 at 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

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009