1 | Summary: The open source platform for numerical computation |
---|
2 | Summary(ja): オープンソースの数値計算システム |
---|
3 | Name: scilab |
---|
4 | Version: 4.1.2 |
---|
5 | Release: 3%{?_dist_release} |
---|
6 | License: INRIA |
---|
7 | Group: Applications/Engineering |
---|
8 | URL: http://scilabsoft.inria.fr/ |
---|
9 | |
---|
10 | Source: http://scilabsoft.inria.fr/download/stable/scilab-%{version}-src.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
12 | |
---|
13 | BuildRequires: tcl tk perl Xaw3d-devel libpng-devel |
---|
14 | BuildRequires: gtkhtml2-devel gtk2-devel |
---|
15 | BuildRequires: libxslt vte-devel readline-devel |
---|
16 | BuildRequires: gcc-c++ |
---|
17 | %if %{?_dist_release}!="vl4" |
---|
18 | BuildRequires: gcc-gfortran |
---|
19 | %else |
---|
20 | BuildRequires: gcc-g77 |
---|
21 | %endif |
---|
22 | BuildRequires: pkgconfig |
---|
23 | |
---|
24 | %description |
---|
25 | Scilab a numerical computation system similiar to matlab or simulink. Scilab |
---|
26 | includes hundreds of mathematical functions, and programs from various |
---|
27 | languages (such as C or Fortran) can be added interactively. It has |
---|
28 | sophisticated data structures (including lists, polynomials, rational |
---|
29 | functions, and linear systems), an interpreter, and a high-level programming |
---|
30 | language. Scilab has been designed to be an open system where the user can |
---|
31 | define new data types and operations on these data types by using |
---|
32 | overloading. A number of toolboxes are available with the system. |
---|
33 | |
---|
34 | %prep |
---|
35 | %setup -q |
---|
36 | |
---|
37 | %build |
---|
38 | perl -pi.orig -e 's|-fwritable-strings||g;' configure |
---|
39 | %configure \ |
---|
40 | --with-gcc \ |
---|
41 | --with-gfortran \ |
---|
42 | --with-gnu \ |
---|
43 | --with-gtk2 \ |
---|
44 | --with-x \ |
---|
45 | --without-java \ |
---|
46 | --with-tcl-library="%{_libdir}" |
---|
47 | # ../include/pvmtev.h nodig in pvm3/src/global.h |
---|
48 | (echo '#include "../include/pvmtev.h"'; cat pvm3/src/global.h) > pvm3/src/global.h.temp |
---|
49 | mv pvm3/src/global.h.temp pvm3/src/global.h |
---|
50 | #make %{?_smp_mflags} all |
---|
51 | make all |
---|
52 | |
---|
53 | %install |
---|
54 | rm -rf %{buildroot} |
---|
55 | install -d %{buildroot}%{_libdir} \ |
---|
56 | %{buildroot}%{_bindir} |
---|
57 | perl -pi.orig -e ' |
---|
58 | s|/usr/bin|%{buildroot}%{_bindir}|g; |
---|
59 | s|ln -fs \$\(PREFIX\)/lib|ln -fs %{_libdir}|g; |
---|
60 | ' Makefile |
---|
61 | |
---|
62 | perl -pi -e ' |
---|
63 | s|/bin/sh5|/bin/sh|g; |
---|
64 | ' bin/dold |
---|
65 | |
---|
66 | %makeinstall PREFIX=%{buildroot}%{_prefix} LIBPREFIX=%{buildroot}%{_libdir} |
---|
67 | |
---|
68 | perl -pi -e ' |
---|
69 | s|%{buildroot}||g; |
---|
70 | ' %{buildroot}%{_libdir}/scilab-%{version}/bin/* \ |
---|
71 | config/configuration \ |
---|
72 | util/Blatdoc* Makefile* Path.incl |
---|
73 | |
---|
74 | |
---|
75 | %clean |
---|
76 | rm -rf %{buildroot} |
---|
77 | |
---|
78 | %files |
---|
79 | %doc ACKNOWLEDGEMENTS CHANGES README_Unix Version.incl licence.txt |
---|
80 | %defattr(-, root, root, 0755) |
---|
81 | %{_bindir}/* |
---|
82 | #%{_libdir}/scilab-%{version}/ |
---|
83 | #%exclude %{_libdir}/scilab-%{version}/examples/mex-examples/mexglx |
---|
84 | %{_prefix}/lib/scilab-%{version}/ |
---|
85 | %exclude %{_prefix}/lib/scilab-%{version}/examples/mex-examples/mexglx |
---|
86 | |
---|
87 | %changelog |
---|
88 | * Sun Feb 05 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.1.2-3 |
---|
89 | - rebuild with Vine6 environment |
---|
90 | |
---|
91 | * Tue Jul 14 2009 Shu KONNO <owa@bg.wakwak.com> 4.1.2-2 |
---|
92 | - fix %%files: %%{_libdir}/scilab... to %%{_prefix}/lib/scilab... |
---|
93 | |
---|
94 | * Tue Apr 14 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.2-1 |
---|
95 | - applied new versioning policy |
---|
96 | - updated to 4.1.2 |
---|
97 | |
---|
98 | * Sun Jun 03 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 4.1.1-0vl2 |
---|
99 | - don't use smp_mflags on compilation |
---|
100 | |
---|
101 | * Sun Jun 3 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 4.1.1-0vl1 |
---|
102 | - new upstream release |
---|
103 | - rebuilt with gfortran |
---|
104 | |
---|
105 | * Thu Jul 27 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1.1-2vl3 |
---|
106 | - rebuilt with Xaw3d-1.5-17vl3 |
---|
107 | |
---|
108 | * Wed Apr 26 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1.1-2vl2 |
---|
109 | - rebuilt with readline 5.1 |
---|
110 | |
---|
111 | * Sun Sep 25 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.1.1-2vl1 |
---|
112 | - update to 3.1.1 based on DAG packages |
---|
113 | (http://dag.wieers.com/packages/scilab/) |
---|
114 | * Mon Aug 01 2005 Dries Verachtert <dries@ulyssis.org> - 3.1.1-2 - 3450/dries |
---|
115 | - Rebuild. |
---|
116 | * Thu Jun 09 2005 Dries Verachtert <dries@ulyssis.org> - 3.1.1-1 |
---|
117 | - Update to release 3.1.1. |
---|
118 | * Wed Jul 14 2004 Dries Verachtert <dries@ulyssis.org> - 3.0-1 |
---|
119 | - Initial package. |
---|
120 | |
---|
121 | * Fri May 2 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 2.7-0vl1 |
---|
122 | - update to 2.7 |
---|
123 | - dropped scilab-2.6-ppc.patch |
---|
124 | |
---|
125 | * Fri Mar 22 2002 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 2.6-0vl2 |
---|
126 | - removed obsolete ppc patch |
---|
127 | |
---|
128 | * Sun Mar 3 2002 Jun Nishii <jun@vinelinux.org> 2.6-0v1 |
---|
129 | - ver.up |
---|
130 | |
---|
131 | * Wed Sep 27 2000 MATSUBAYASHI 'Shaolin' Kohji <shaolin@rhythmaning.org> |
---|
132 | - 2.4.1-4vl2 |
---|
133 | - added a patch for ppc archtecture |
---|
134 | |
---|
135 | * Wed Aug 18 1999 Tim Powers <timp@redhat.com> |
---|
136 | - exludearch alpha |
---|
137 | |
---|
138 | * Wed Jul 21 1999 Tim Powers <timp@redhat.com> |
---|
139 | - rebuilt for 6.1 |
---|
140 | |
---|
141 | * Wed May 12 1999 Bill Nottingham <notting@redhat.com> |
---|
142 | - clean up dependencies |
---|
143 | |
---|
144 | * Wed May 05 1999 Bill Nottingham <notting@redhat.com> |
---|
145 | - update to 2.4.1 |
---|
146 | |
---|
147 | * Fri Oct 23 1998 Jeff Johnson <jbj@redhat.com> |
---|
148 | - Upgrade to 2.4. |
---|
149 | |
---|
150 | * Thu Oct 22 1998 Jeff Johnson <jbj@redhat.com> |
---|
151 | - Fixes to permit compile on alpha. |
---|
152 | - Eliminate lurking dependencies on /bin/sh5 and SCILABGS. |
---|
153 | - Modify default value of SCI variable to be correct for users. |
---|
154 | - Add /usr/bin/scilab symlink. |
---|
155 | |
---|
156 | * Sat Jul 11 1998 Jeff Johnson <jbj@redhat.com> |
---|
157 | - Create powertools package. |
---|