]> git.pld-linux.org Git - packages/FreeMat.git/blob - FreeMat.spec
- up to 1.09
[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.09
8 Release:        1
9 License:        MIT
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)
26
27 %description
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.
35
36 %description -l pl
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.
44
45 %prep
46 %setup -q
47
48 %build
49 cp -f %{_datadir}/automake/config.sub .
50 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
51 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
52 %configure \
53         --with-ncurses
54
55 %{__make}
56
57 %install
58 rm -rf $RPM_BUILD_ROOT
59 install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
60
61 %{__make} install \
62         DESTDIR=$RPM_BUILD_ROOT \
63         prefix=$RPM_BUILD_ROOT%{_prefix}
64
65 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
66
67 %clean
68 rm -rf $RPM_BUILD_ROOT
69
70 %files
71 %defattr(644,root,root,755)
72 %attr(755,root,root) %{_bindir}/%{name}
73 %{_datadir}/%{name}
74 %{_desktopdir}/%{name}.desktop
This page took 0.095683 seconds and 3 git commands to generate.