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: 6cedc67af2efce393364a673902e6319
13 Source1: %{name}.desktop
14 URL: http://freemat.sourceforge.net
15 BuildRequires: automake
16 BuildRequires: blas-devel
17 BuildRequires: gcc-g77
18 BuildRequires: libjpeg-devel
19 BuildRequires: libpng-devel
20 BuildRequires: libstdc++-devel
21 BuildRequires: libtiff-devel
22 BuildRequires: ncurses-devel
23 BuildRequires: zlib-devel
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 FreeMat is a free environment for rapid entineering and scientific
28 prototyping and data processing. It is similar to commercial systems
29 such as MATLAB from Mathworks, and IDL from Research Systems, but is
30 Open Source. FreeMat includes several novel features such as a
31 codeless interface to external C/C++/FORTRAN code,
32 parallel/distributed algorithm development (via MPI), and plotting and
33 visualiation capabilities.
36 FreeMat jest darmowym ¶rodowiskiem do szybkiego przetwarzania
37 prototypów i danych dla in¿ynierów i naukowców. Jest podobny do
38 komercyjnych systemów takich jak MATLAB z Mathworks i IDL z Research
39 Group, ale na licencji Open Source. FreeMat cechuje siê miêdzy innymi
40 bezkodowym interfejsem do zewnetrznego kodu C/C++/FORTRAN,
41 równoleg³ym/rozproszonym algorytmem obliczeñ (poprzez MPI), oraz
42 rysowaniem i wy¶wietlaniem mo¿liwo¶ci.
48 cp -f %{_datadir}/automake/config.sub .
49 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
50 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
61 DESTDIR=$RPM_BUILD_ROOT \
62 prefix=$RPM_BUILD_ROOT%{_prefix}
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
67 rm -rf $RPM_BUILD_ROOT
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/%{name}
73 %{_desktopdir}/%{name}.desktop