]> git.pld-linux.org Git - packages/FreeMat.git/blob - FreeMat.spec
- BR: automake, cosmetics
[packages/FreeMat.git] / FreeMat.spec
1 # TODO:
2 # - look at MPI support - doesn't work with lam for me :/
3 # - use system libffi
4 Summary:        FreeMat - an environment for rapid engineering and scientific processing
5 Summary(pl):    FreeMat - ¶rodowisko do szybkiego przetwarzania in¿ynieryjnego i naukowego
6 Name:           FreeMat
7 Version:        1.07
8 Release:        1
9 License:        MIT
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)
25
26 %description
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.
34
35 %description -l pl
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.
43
44 %prep
45 %setup -q
46
47 %build
48 cp -f %{_datadir}/automake/config.sub .
49 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
50 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
51 %configure \
52         --with-ncurses
53
54 %{__make}
55
56 %install
57 rm -rf $RPM_BUILD_ROOT
58 install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
59
60 %{__make} install \
61         DESTDIR=$RPM_BUILD_ROOT \
62         prefix=$RPM_BUILD_ROOT%{_prefix}
63
64 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
65
66 %clean
67 rm -rf $RPM_BUILD_ROOT
68
69 %files
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %{_bindir}/%{name}
72 %{_datadir}/%{name}
73 %{_desktopdir}/%{name}.desktop
This page took 0.061551 seconds and 3 git commands to generate.