2 # - look at MPI support - doesn't work with lam for me :/
4 Summary: FreeMat - an environment for rapid engineering and scientific processing
5 Summary(pl): FreeMat - ¶rodowisko do szybkiego przetwarzania in¿ynieryjnego i naukowego
10 Group: Applications/Math
11 Source0: http://dl.sourceforge.net/freemat/%{name}-%{version}.tar.gz
12 # Source0-md5: 87b9615d9071ccc3073fd3fe5d31bd6e
13 Source1: %{name}.desktop
14 URL: http://freemat.sourceforge.net
15 BuildRequires: automake
16 BuildRequires: blas-devel
17 BuildRequires: fltk-devel
18 BuildRequires: gcc-g77
19 BuildRequires: libjpeg-devel
20 BuildRequires: libpng-devel
21 BuildRequires: libstdc++-devel
22 BuildRequires: libtiff-devel
23 BuildRequires: ncurses-devel
24 BuildRequires: zlib-devel
25 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28 FreeMat is a free environment for rapid entineering and scientific
29 prototyping and data processing. It is similar to commercial systems
30 such as MATLAB from Mathworks, and IDL from Research Systems, but is
31 Open Source. FreeMat includes several novel features such as a
32 codeless interface to external C/C++/FORTRAN code,
33 parallel/distributed algorithm development (via MPI), and plotting and
34 visualiation capabilities.
37 FreeMat jest darmowym ¶rodowiskiem do szybkiego przetwarzania
38 prototypów i danych dla in¿ynierów i naukowców. Jest podobny do
39 komercyjnych systemów takich jak MATLAB z Mathworks i IDL z Research
40 Group, ale na licencji Open Source. FreeMat cechuje siê miêdzy innymi
41 bezkodowym interfejsem do zewnêtrznego kodu C/C++/FORTRAN,
42 równoleg³ym/rozproszonym algorytmem obliczeñ (poprzez MPI), oraz
43 rysowaniem i wy¶wietlaniem mo¿liwo¶ci.
49 cp -f %{_datadir}/automake/config.sub .
50 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
51 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
62 DESTDIR=$RPM_BUILD_ROOT \
63 prefix=$RPM_BUILD_ROOT%{_prefix}
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
68 rm -rf $RPM_BUILD_ROOT
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/%{name}
74 %{_desktopdir}/%{name}.desktop