Репозитории 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.0
Release: alt0.14.1
Summary: Gambit-C Scheme programming system
License: Apache-2.0
Group: Development/Other
URL: http://www.iro.umontreal.ca/~gambit/
Source: http://www.iro.umontreal.ca/~feeley/gambc40b14.tar.bz2
Source1: gambc.README.ALT
Source2: gambit.alternatives
# Automatically added by buildreq on Wed Nov 03 2004
BuildRequires: hostinfo libncurses-devel libtinfo-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.
%prep
%setup -q -n gambc40b14
cp %SOURCE1 ./README.ALT
%build
./configure \
--prefix=%_libdir/%name \
--bindir=%_bindir \
--libdir=%_libdir \
--includedir=%_includedir \
--enable-single-host --enable-shared
%make_build
%install
%makeinstall install \
prefix=$RPM_BUILD_ROOT%_libdir/%name \
emacsdir=$RPM_BUILD_ROOT%_datadir/emacs/site-lisp \
DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%_bindir/gsc $RPM_BUILD_ROOT%_bindir/gambsc
mkdir $RPM_BUILD_ROOT%_libdir/%name/lib/
mv $RPM_BUILD_ROOT%_libdir/*.c $RPM_BUILD_ROOT%_libdir/%name/lib/
rm -rf $RPM_BUILD_ROOT%_libdir/%name/doc
for f in $RPM_BUILD_ROOT%_bindir/scheme-*; do
mv $f $f-%name
done
rm examples/*/makefile*
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/*
%changelog
…
Полный changelog можно просмотреть здесь
Version: 4.0
Release: alt0.14.1
Summary: Gambit-C Scheme programming system
License: Apache-2.0
Group: Development/Other
URL: http://www.iro.umontreal.ca/~gambit/
Source: http://www.iro.umontreal.ca/~feeley/gambc40b14.tar.bz2
Source1: gambc.README.ALT
Source2: gambit.alternatives
# Automatically added by buildreq on Wed Nov 03 2004
BuildRequires: hostinfo libncurses-devel libtinfo-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.
%prep
%setup -q -n gambc40b14
cp %SOURCE1 ./README.ALT
%build
./configure \
--prefix=%_libdir/%name \
--bindir=%_bindir \
--libdir=%_libdir \
--includedir=%_includedir \
--enable-single-host --enable-shared
%make_build
%install
%makeinstall install \
prefix=$RPM_BUILD_ROOT%_libdir/%name \
emacsdir=$RPM_BUILD_ROOT%_datadir/emacs/site-lisp \
DESTDIR=$RPM_BUILD_ROOT
mv $RPM_BUILD_ROOT%_bindir/gsc $RPM_BUILD_ROOT%_bindir/gambsc
mkdir $RPM_BUILD_ROOT%_libdir/%name/lib/
mv $RPM_BUILD_ROOT%_libdir/*.c $RPM_BUILD_ROOT%_libdir/%name/lib/
rm -rf $RPM_BUILD_ROOT%_libdir/%name/doc
for f in $RPM_BUILD_ROOT%_bindir/scheme-*; do
mv $f $f-%name
done
rm examples/*/makefile*
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/*
%changelog
…
Полный changelog можно просмотреть здесь