Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 5d7005bef7f077415ff0e32127b4d53a > files > 2

scheme2js-20090717-1.fc13.src.rpm

# Bigloo does not generate debug information
%global debug_package %{nil}

Name:           scheme2js
Version:        20090717
Release:        1%{?dist}
Summary:        Scheme to JavaScript compiler

Group:          Development/Languages
License:        LGPLv2+ or CeCILL or CeCILL-C
URL:            http://www-sop.inria.fr/mimosa/scheme2js/
Source0:        http://www-sop.inria.fr/mimosa/scheme2js/files/scheme2js-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  bigloo
#Requires:       

ExcludeArch:    ppc64

%description
Scheme2Js is a Scheme to JavaScript compiler. While some effort has
been spent on being as close as possible to R5RS, we concentrated
mainly on efficiency. Usually Scheme2Js produces JavaScript code, that
is comparable to hand-written code. In order to achieve this
performance, Scheme2Js is not completely R5RS compliant. In particular
it lacks exact numbers. Scheme2Js is not yet complete either: it lacks
hygienic macros and the eval procedure.


%prep
%setup -q
# fix non-UTF8 file encodings
for f in COPYING.CeCILL*; do
  iconv -f iso88591 -t utf8 $f -o $f.utf8
  touch -r $f $f.utf8
  mv $f.utf8 $f
done


%build
# picks up Bigloo's compiler flags, no need to pass it in
./configure --prefix=%{_prefix} --mandir=%{_mandir}/man1
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changelog doc/index.html LICENSE COPYING.*
%{_bindir}/%{name}
%{_datadir}/%{name}
%{_mandir}/man1/*


%changelog
* Sun May  9 2010 Michel Salim <salimma@fedoraproject.org> - 20090717-1
- Update to 20090917

* Sun Aug 16 2009 Gerard Milmeister <gemi@bluewin.ch> - 20081219-4
- Rebuilt against bigloo 3.2b

* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 20081219-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild

* Wed Mar  4 2009 Michel Salim <salimma@fedoraproject.org> - 20081219-2
- Not building on ppc64, as bigloo is not available

* Sun Mar  1 2009 Michel Salim <salimma@fedoraproject.org> - 20081219-1
- Initial package