Репозитории ALT
S: | 4.9.4-alt3 |
5.1: | 4.5.2-alt1 |
4.1: | 4.2.5-alt1 |
4.0: | 4.0-alt0.20.2 |
3.0: | 4.0-alt0.14.1 |
Группа :: Разработка/Прочее
Пакет: gambit
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Name: gambit
Version: 4.5.2
Release: alt1
Summary: Gambit-C Scheme programming system
License: Apache-2.0
Group: Development/Other
URL: http://www.iro.umontreal.ca/~gambit/
Conflicts: ghostscript-minimal < 8.64-alt5
Packager: Alexey Voinov <voins at altlinux.ru>
Source: %name-%version.tar
# Automatically added by buildreq on Wed Oct 08 2008
BuildRequires: emacs-leim emacs-nox libX11-locales libncurses-devel
BuildPreReq: alternatives
%description
Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used
to build standalone executables. Because the compiler generates portable C
code it is fairly easy to port to any platform with a decent C compiler.
The Gambit-C system conforms to the R4RS and IEEE Scheme standards. The full
numeric tower is implemented, including: infinite precision integers (bignums),
rationals, inexact reals (floating point numbers), and complex numbers.
%package -n emacs-gambit
Summary: Emacs mode for Gambit-C
Group: Editors
Requires: gambit emacs-common
%description -n emacs-gambit
Emacs mode for running Gambit-C
%package docs
Summary: Gambit-C manuals ang examples
Group: Development/Documentation
Requires: gambit = %version-%release
BuildArch: noarch
%description docs
Gambit-C manuals ang examples
%package info
Summary: Gambit-C manual in info format
Group: Development/Documentation
Requires: gambit = %version-%release
BuildArch: noarch
%description info
Gambit-C manual in info format
%prep
%setup -q
touch -r gsi/_gsi.scm gsi/main.scm
%build
%configure --enable-single-host \
--enable-shared \
--disable-absolute-shared-libs
%make_build
emacs -q -no-site-file -batch -eval "(byte-compile-file \"misc/gambit.el\")"
%install
%makeinstall_std
rm -rf $RPM_BUILD_ROOT%_prefix/doc
for f in $RPM_BUILD_ROOT%_bindir/scheme-*; do
mv $f $f-%name
done
rm examples/*/makefile*
install -m644 misc/*.el* %buildroot%_emacslispdir/
install -d $RPM_BUILD_ROOT%_altdir
cat > $RPM_BUILD_ROOT%_altdir/%name <<EOF
%_bindir/scheme-r5rs %_bindir/scheme-r5rs-gambit 10
%_bindir/scheme-r4rs %_bindir/scheme-r4rs-gambit 10
%_bindir/scheme-srfi-0 %_bindir/scheme-srfi-0-gambit 10
%_bindir/scheme-ieee-1178-1990 %_bindir/scheme-ieee-1178-1990-gambit 10
EOF
%files
%_altdir/*
%_bindir/*
%_includedir/*
%_libdir/*
%files -n emacs-gambit
%_emacslispdir/*
%files docs
%doc doc/gambit-c.pdf doc/gambit-c.txt doc/gambit-c.html
%doc examples/*
%files info
%_infodir/*.info*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 4.5.2
Release: alt1
Summary: Gambit-C Scheme programming system
License: Apache-2.0
Group: Development/Other
URL: http://www.iro.umontreal.ca/~gambit/
Conflicts: ghostscript-minimal < 8.64-alt5
Packager: Alexey Voinov <voins at altlinux.ru>
Source: %name-%version.tar
# Automatically added by buildreq on Wed Oct 08 2008
BuildRequires: emacs-leim emacs-nox libX11-locales libncurses-devel
BuildPreReq: alternatives
%description
Gambit-C includes a Scheme interpreter and a Scheme compiler which can be used
to build standalone executables. Because the compiler generates portable C
code it is fairly easy to port to any platform with a decent C compiler.
The Gambit-C system conforms to the R4RS and IEEE Scheme standards. The full
numeric tower is implemented, including: infinite precision integers (bignums),
rationals, inexact reals (floating point numbers), and complex numbers.
%package -n emacs-gambit
Summary: Emacs mode for Gambit-C
Group: Editors
Requires: gambit emacs-common
%description -n emacs-gambit
Emacs mode for running Gambit-C
%package docs
Summary: Gambit-C manuals ang examples
Group: Development/Documentation
Requires: gambit = %version-%release
BuildArch: noarch
%description docs
Gambit-C manuals ang examples
%package info
Summary: Gambit-C manual in info format
Group: Development/Documentation
Requires: gambit = %version-%release
BuildArch: noarch
%description info
Gambit-C manual in info format
%prep
%setup -q
touch -r gsi/_gsi.scm gsi/main.scm
%build
%configure --enable-single-host \
--enable-shared \
--disable-absolute-shared-libs
%make_build
emacs -q -no-site-file -batch -eval "(byte-compile-file \"misc/gambit.el\")"
%install
%makeinstall_std
rm -rf $RPM_BUILD_ROOT%_prefix/doc
for f in $RPM_BUILD_ROOT%_bindir/scheme-*; do
mv $f $f-%name
done
rm examples/*/makefile*
install -m644 misc/*.el* %buildroot%_emacslispdir/
install -d $RPM_BUILD_ROOT%_altdir
cat > $RPM_BUILD_ROOT%_altdir/%name <<EOF
%_bindir/scheme-r5rs %_bindir/scheme-r5rs-gambit 10
%_bindir/scheme-r4rs %_bindir/scheme-r4rs-gambit 10
%_bindir/scheme-srfi-0 %_bindir/scheme-srfi-0-gambit 10
%_bindir/scheme-ieee-1178-1990 %_bindir/scheme-ieee-1178-1990-gambit 10
EOF
%files
%_altdir/*
%_bindir/*
%_includedir/*
%_libdir/*
%files -n emacs-gambit
%_emacslispdir/*
%files docs
%doc doc/gambit-c.pdf doc/gambit-c.txt doc/gambit-c.html
%doc examples/*
%files info
%_infodir/*.info*
%changelog
…
Полный changelog можно просмотреть здесь