Репозитории 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.2.5
Release: alt1
Summary: Gambit-C Scheme programming system
License: Apache-2.0
Group: Development/Other
URL: http://www.iro.umontreal.ca/~gambit/
Source: %name-%version.tar
Source1: gambc.README.ALT
Source2: gambit.alternatives
Patch: %name-%version-alt-so.patch
# Automatically added by buildreq on Sat Jan 07 2006 (-bi)
BuildRequires: emacs-common emacs-emhacks emacs-leim emacs-prog-modes fontconfig freetype2 libncurses-devel libtinfo-devel python-base python-modules-compiler python-modules-encodings tetex-core xorg-x11-locales
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
%prep
%setup -q
%patch -p1
touch -r gsi/_gsi.scm gsi/main.scm
cp %SOURCE1 ./README.ALT
%build
./configure \
--prefix=%_libdir/%name \
--enable-single-host --enable-shared
%make_build
emacs -q -no-site-file -batch -eval "(byte-compile-file \"misc/gambit.el\")"
%install
make install \
prefix=$RPM_BUILD_ROOT%_libdir/%name \
bindir=$RPM_BUILD_ROOT%_bindir \
includedir=$RPM_BUILD_ROOT%_includedir \
emacsdir=$RPM_BUILD_ROOT%_datadir/emacs/site-lisp \
infodir=$RPM_BUILD_ROOT%_infodir
mv $RPM_BUILD_ROOT%_bindir/gsc $RPM_BUILD_ROOT%_bindir/gambsc
rm -rf $RPM_BUILD_ROOT%_bindir/gsc-script
ln -s gambsc $RPM_BUILD_ROOT%_bindir/gsc-script
rm -rf $RPM_BUILD_ROOT%_libdir/%name/current/doc
mkdir $RPM_BUILD_ROOT%_libdir/%name/current/bin
ln -s ../../../../bin/gsc-cc-o.bat $RPM_BUILD_ROOT%_libdir/%name/current/bin/
mv $RPM_BUILD_ROOT%_libdir/%name/current/lib/lib*.so $RPM_BUILD_ROOT%_libdir
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
install -m644 %SOURCE2 $RPM_BUILD_ROOT%_altdir/%name
%post
%install_info gambit-c.info
%register_alternatives %name
%preun
%uninstall_info gambit-c.info
%unregister_alternatives %name
%files
%doc doc/gambit-c.pdf doc/gambit-c.txt doc/gambit-c.html
%doc examples/* README.ALT
%_altdir/*
%_bindir/*
%_infodir/*.info*
%_includedir/*
%_libdir/*
%files -n emacs-gambit
%_emacslispdir/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 4.2.5
Release: alt1
Summary: Gambit-C Scheme programming system
License: Apache-2.0
Group: Development/Other
URL: http://www.iro.umontreal.ca/~gambit/
Source: %name-%version.tar
Source1: gambc.README.ALT
Source2: gambit.alternatives
Patch: %name-%version-alt-so.patch
# Automatically added by buildreq on Sat Jan 07 2006 (-bi)
BuildRequires: emacs-common emacs-emhacks emacs-leim emacs-prog-modes fontconfig freetype2 libncurses-devel libtinfo-devel python-base python-modules-compiler python-modules-encodings tetex-core xorg-x11-locales
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
%prep
%setup -q
%patch -p1
touch -r gsi/_gsi.scm gsi/main.scm
cp %SOURCE1 ./README.ALT
%build
./configure \
--prefix=%_libdir/%name \
--enable-single-host --enable-shared
%make_build
emacs -q -no-site-file -batch -eval "(byte-compile-file \"misc/gambit.el\")"
%install
make install \
prefix=$RPM_BUILD_ROOT%_libdir/%name \
bindir=$RPM_BUILD_ROOT%_bindir \
includedir=$RPM_BUILD_ROOT%_includedir \
emacsdir=$RPM_BUILD_ROOT%_datadir/emacs/site-lisp \
infodir=$RPM_BUILD_ROOT%_infodir
mv $RPM_BUILD_ROOT%_bindir/gsc $RPM_BUILD_ROOT%_bindir/gambsc
rm -rf $RPM_BUILD_ROOT%_bindir/gsc-script
ln -s gambsc $RPM_BUILD_ROOT%_bindir/gsc-script
rm -rf $RPM_BUILD_ROOT%_libdir/%name/current/doc
mkdir $RPM_BUILD_ROOT%_libdir/%name/current/bin
ln -s ../../../../bin/gsc-cc-o.bat $RPM_BUILD_ROOT%_libdir/%name/current/bin/
mv $RPM_BUILD_ROOT%_libdir/%name/current/lib/lib*.so $RPM_BUILD_ROOT%_libdir
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
install -m644 %SOURCE2 $RPM_BUILD_ROOT%_altdir/%name
%post
%install_info gambit-c.info
%register_alternatives %name
%preun
%uninstall_info gambit-c.info
%unregister_alternatives %name
%files
%doc doc/gambit-c.pdf doc/gambit-c.txt doc/gambit-c.html
%doc examples/* README.ALT
%_altdir/*
%_bindir/*
%_infodir/*.info*
%_includedir/*
%_libdir/*
%files -n emacs-gambit
%_emacslispdir/*
%changelog
…
Полный changelog можно просмотреть здесь