rpms/ikarus/F-8 ikarus-0.0.1-bootfile.patch, NONE, 1.1 ikarus.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michel Alexandre Salim (salimma) fedora-extras-commits at redhat.com
Tue Nov 20 05:19:53 UTC 2007


Author: salimma

Update of /cvs/pkgs/rpms/ikarus/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv29443/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	ikarus-0.0.1-bootfile.patch ikarus.spec 
Log Message:
Commit the initial package for other build targets


ikarus-0.0.1-bootfile.patch:

--- NEW FILE ikarus-0.0.1-bootfile.patch ---
--- ikarus-0.0.1/src/ikarus-main.c.orig	2007-10-25 16:04:55.000000000 -0400
+++ ikarus-0.0.1/src/ikarus-main.c	2007-11-18 20:15:30.000000000 -0500
@@ -175,8 +175,9 @@
   if(boot_file){
     argc -= 2;
   }
+  /*
   else if(global_exe(argv[0])){
-    /* search path name */
+    * search path name *
     char* path = getenv("PATH");
     if(path == NULL){
       fprintf(stderr,
@@ -209,11 +210,15 @@
       }
     }
   }
+  */
   else {
+    boot_file = "/usr/lib/ikarus/ikarus.boot";
+    /*
     char* x = buff;
     x = mystpcpy(x, argv[0]);
     x = mystpcpy(x, ".boot");
     boot_file = buff;
+    */
   }
 
   if(sizeof(mp_limb_t) != sizeof(int)){


--- NEW FILE ikarus.spec ---
Name:           ikarus
Version:        0.0.1
Release:        2%{?dist}
Summary:        An incremental optimizing compiler for R6RS Scheme

Group:          Development/Languages
License:        GPLv3
URL:            http://www.cs.indiana.edu/~aghuloum/ikarus/
Source0:        http://www.cs.indiana.edu/~aghuloum/ikarus/ikarus-%{version}.tar.gz
Patch0:         ikarus-0.0.1-bootfile.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      i386

BuildRequires:  gmp-devel
#Requires:       

%description
Ikarus is a free optimizing incremental native-code compiler for R6RS Scheme.

Ikarus is an optimizing compiler, so your Scheme code will run fast
without the need to port hot spots to C "for performance". With an
incremental compiler, you don't need a separate compilation step to
make your program run fast. The best part is that the compiler itself
is fast, capable of compiling thousands of lines of code per second.

Finally, Ikarus is an R6RS compiler. R6RS is the latest revision of
the Scheme standard. The preliminary release of Ikarus supports over
80% of the most important features R6RS, and later releases will bring
Ikarus closer to full R6RS conformance. R6RS libraries, scripts,
record types, condition system, exception handling, unicode strings,
bytevectors, hashtable, and enumerations are among the supported
features.


%prep
%setup -q
%patch0 -p1 -b .bootfile


%build
%configure
make %{?_smp_mflags}


%install
rm -rf $RPM_BUILD_ROOT
make install DESTDIR=$RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT%{_libdir}/ikarus
mv $RPM_BUILD_ROOT%{_bindir}/ikarus.boot $RPM_BUILD_ROOT%{_libdir}/ikarus/


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc COPYING GPL-3 README TODO doc/ikarus-users-guide.pdf
%{_bindir}/ikarus
%{_libdir}/ikarus


%changelog
* Sun Nov 18 2007 Michel Salim <michel.sylvan at gmail.com> 0.0.1-2
- Move boot file from _bindir to _libdir

* Mon Nov  5 2007 Michel Salim <michel.sylvan at gmail.com> 0.0.1-1
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/ikarus/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	19 Nov 2007 16:27:10 -0000	1.1
+++ .cvsignore	20 Nov 2007 05:19:20 -0000	1.2
@@ -0,0 +1 @@
+ikarus-0.0.1.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/ikarus/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	19 Nov 2007 16:27:10 -0000	1.1
+++ sources	20 Nov 2007 05:19:20 -0000	1.2
@@ -0,0 +1 @@
+8d949eaa781417c0d5e8e444f21608d4  ikarus-0.0.1.tar.gz




More information about the fedora-extras-commits mailing list