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