Name        : scilab                       Relocations: (not relocatable)
Version     : 4.0                               Vendor: Penguin Liberation Front
Release     : 1plf                          Build Date: Sun 19 Mar 2006 
10:56:18 PM CET
Install Date: (not installed)               Build Host: virgo
Group       : Sciences/Mathematics          Source RPM: (none)
Size        : 9941589      License: SCILAB
Signature   : (none)
Packager    : Couriousous <[EMAIL PROTECTED]>
URL         : http://scilabsoft.inria.fr/
Summary     : A high-level language for numerical computations
Description :
Scilab is a high-level language, primarily intended for numerical
computations.  Scilab includes a number of toolboxes and on-line
documentation.

---------------
Couriousous <[EMAIL PROTECTED]> 4.0-1plf
- 4.0
---------------

---------------
Index: scilab.spec
===================================================================
RCS file: /home/projects/plf/cvs/SPECS/non-free/scilab/scilab.spec,v
retrieving revision 1.1
diff -u -r1.1 scilab.spec
--- scilab.spec 7 Feb 2006 20:46:00 -0000       1.1
+++ scilab.spec 19 Mar 2006 22:09:33 -0000
@@ -1,6 +1,6 @@
 %define name scilab 
-%define version 3.1.1
-%define release 3plf
+%define version 4.0
+%define release 1plf
 
 %define flavor emacs
 
@@ -11,16 +11,14 @@
 License: SCILAB
 Group: Sciences/Mathematics
 # CAUTION: pristine source is actually tar.gzipped
-Source0: 
ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/%{name}-%{version}.src.tar.bz2
-Patch0: scilab-gcc4.patch.bz2
-Patch1: scilab-gcj-hack.patch.bz2
+Source0: 
ftp://ftp.inria.fr/INRIA/Projects/Meta2/Scilab/distributions/%{name}-%{version}-src.tar.bz2
 Source20: scilab.el
 URL: http://scilabsoft.inria.fr/
-BuildRequires: perl tcl-devel tk-devel Xaw3d-devel
-BuildRequires: emacs-nox libgcj-devel gcc3.3-g77
+BuildRequires: perl tcl-devel tk-devel Xaw3d-devel gtkhtml2-devel vte-devel 
+BuildRequires: emacs-nox libgcj-devel gcc-gfortran 
 BuildRequires: gcc-java ocaml
 BuildRequires: ImageMagick sablotron
-BuildRequires: libpvm-devel
+BuildRequires: libpvm-devel java-1.4.2-gcj-compat-devel
 BuildRoot: %{_tmppath}/%name-buildroot
 Excludearch: sparc ia64
 
@@ -33,12 +31,8 @@
 %prep
 rm -rf $RPM_BUILD_ROOT
 %setup -q 
-%patch0 
-%patch1
 
 %build
-ln -s /usr/bin/g77-3.3.6 g77
-export PATH="$PWD:$PATH"
 %__libtoolize --copy --force
 export CFLAGS="$RPM_OPT_FLAGS"
 export CC_OPTIONS="$RPM_OPT_FLAGS"
@@ -46,12 +40,13 @@
 export FFLAGS="$RPM_OPT_FLAGS"
 export FC_OPTIONS="$RPM_OPT_FLAGS"
 rm -f config.cache
+# ignore java include check
+perl -pi -e "s/JAVASCITARGET=javasci-bidon/JAVASCITARGET=scilex-lib/" 
m4/java.m4
 autoconf
-perl -pi -e "s/-fwritable-strings//" configure
-perl -pi -e "s/set dummy javac/set dummy gcj/" configure
-./configure --enable-shared --enable-static=no --with-xaw3d --with-tk 
--prefix=%{_prefix} --mandir=%{_mandir} --infodir=%{_infodir} 
--libdir=%{_libdir}
+%configure --enable-shared --with-java --enable-static=no --with-xaw3d 
--with-tk
 
-perl -pi -e "s/(JAVAINC=).*/\1/" routines/Javasci/Makefile
+# fix java include path
+perl -pi -e "s/JAVAINC=.*/JAVAINC=/" routines/Javasci/Makefile
 
 make FC_OPTIONS="$RPM_OPT_FLAGS" CC_OPTIONS="$RPM_OPT_FLAGS" all
 make tarbindist 2>&1 > /dev/null
@@ -70,7 +65,7 @@
 
 mkdir -p $RPM_BUILD_ROOT{%_libdir,%_bindir}
 pushd $RPM_BUILD_ROOT%_libdir
-   tar xf $RPM_BUILD_DIR/scilab-%{version}/scilab-3.*-bin.tar
+   tar xf $RPM_BUILD_DIR/scilab-%{version}/scilab-4.*-bin.tar
 popd
 
 # Nuke dependencies on /bin/SCILABGS and /bin/sh5
@@ -132,7 +127,7 @@
 
 %clean
 rm -rf $RPM_BUILD_ROOT
-rm -f ../scilab-3.*-bin.tar
+rm -f ../scilab-4.*-bin.tar
 
 %files
 %defattr(-,root,root)
@@ -147,6 +142,9 @@
 %{_datadir}/*/site-lisp/*el*
 
 %changelog
+* Sun Mar 19 2006 Couriousous <[EMAIL PROTECTED]> 4.0-1plf
+- 4.0
+
 * Fri Feb  3 2006 Couriousous <[EMAIL PROTECTED]> 3.1.1-3plf
 - Rebuild
 


_______________________________________________
PLF-announce mailing list
[email protected]
https://www.zarb.org/mailman/listinfo/plf-announce

Reply via email to