]> git.pld-linux.org Git - packages/FreeMat.git/blob - FreeMat.spec
- spelling fix
[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.08
8 Release:        1
9 License:        MIT
10 Group:          Applications/Math
11 Source0:        http://dl.sourceforge.net/freemat/%{name}-%{version}.tar.gz
12 # Source0-md5:  428e46709da5841c85db08943b63a0e8
13 # Source0-size: 6145409
14 Source1:        %{name}.desktop
15 URL:            http://freemat.sourceforge.net
16 BuildRequires:  automake
17 BuildRequires:  blas-devel
18 BuildRequires:  fltk-devel
19 BuildRequires:  gcc-g77
20 BuildRequires:  libjpeg-devel
21 BuildRequires:  libpng-devel
22 BuildRequires:  libstdc++-devel
23 BuildRequires:  libtiff-devel
24 BuildRequires:  ncurses-devel
25 BuildRequires:  zlib-devel
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %description
29 FreeMat is a free environment for rapid entineering and scientific
30 prototyping and data processing. It is similar to commercial systems
31 such as MATLAB from Mathworks, and IDL from Research Systems, but is
32 Open Source. FreeMat includes several novel features such as a
33 codeless interface to external C/C++/FORTRAN code,
34 parallel/distributed algorithm development (via MPI), and plotting and
35 visualiation capabilities.
36
37 %description -l pl
38 FreeMat jest darmowym ¶rodowiskiem do szybkiego przetwarzania
39 prototypów i danych dla in¿ynierów i naukowców. Jest podobny do
40 komercyjnych systemów takich jak MATLAB z Mathworks i IDL z Research
41 Group, ale na licencji Open Source. FreeMat cechuje siê miêdzy innymi
42 bezkodowym interfejsem do zewnêtrznego kodu C/C++/FORTRAN,
43 równoleg³ym/rozproszonym algorytmem obliczeñ (poprzez MPI), oraz
44 rysowaniem i wy¶wietlaniem mo¿liwo¶ci.
45
46 %prep
47 %setup -q
48
49 %build
50 cp -f %{_datadir}/automake/config.sub .
51 CFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
52 CXXFLAGS="%{rpmcflags} -I%{_includedir}/ncurses"
53 %configure \
54         --with-ncurses
55
56 %{__make}
57
58 %install
59 rm -rf $RPM_BUILD_ROOT
60 install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
61
62 %{__make} install \
63         DESTDIR=$RPM_BUILD_ROOT \
64         prefix=$RPM_BUILD_ROOT%{_prefix}
65
66 install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
67
68 %clean
69 rm -rf $RPM_BUILD_ROOT
70
71 %files
72 %defattr(644,root,root,755)
73 %attr(755,root,root) %{_bindir}/%{name}
74 %{_datadir}/%{name}
75 %{_desktopdir}/%{name}.desktop
This page took 0.157683 seconds and 4 git commands to generate.