]> git.pld-linux.org Git - packages/FreeMat.git/blame - FreeMat.spec
- ver. 3.5 (NFY)
[packages/FreeMat.git] / FreeMat.spec
CommitLineData
ec79b699 1# TODO:
2# - look at MPI support - doesn't work with lam for me :/
3# - use system libffi
d22abc40 4%define fversion %(echo %{version} |tr r -)
5%define mversion %(echo %{version} |cut -f -1 -d r)
ec35b276 6Summary: FreeMat - an environment for rapid engineering and scientific processing
853777a6 7Summary(pl.UTF-8): FreeMat - środowisko do szybkiego przetwarzania inżynieryjnego i naukowego
ec79b699 8Name: FreeMat
7dfcc25f
SS
9Version: 3.5
10Release: 0.1
ec79b699 11License: MIT
12Group: Applications/Math
d22abc40 13Source0: http://dl.sourceforge.net/freemat/%{name}-%{fversion}.tar.gz
7dfcc25f 14# Source0-md5: 4cc41c1f9265a86134fd338076d1a65f
ec79b699 15Source1: %{name}.desktop
d22abc40 16Patch0: %{name}-system_ffi.patch
ec79b699 17URL: http://freemat.sourceforge.net
37ccd56c 18BuildRequires: XFree86-devel
d22abc40 19BuildRequires: autoconf
ec35b276 20BuildRequires: automake
ec79b699 21BuildRequires: blas-devel
5e976f34 22BuildRequires: fltk-devel
ec79b699 23BuildRequires: gcc-g77
d22abc40 24BuildRequires: libffi-devel
ec79b699 25BuildRequires: libjpeg-devel
26BuildRequires: libpng-devel
27BuildRequires: libstdc++-devel
28BuildRequires: libtiff-devel
29BuildRequires: ncurses-devel
30BuildRequires: zlib-devel
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34FreeMat is a free environment for rapid entineering and scientific
35prototyping and data processing. It is similar to commercial systems
36such as MATLAB from Mathworks, and IDL from Research Systems, but is
37Open Source. FreeMat includes several novel features such as a
38codeless interface to external C/C++/FORTRAN code,
39parallel/distributed algorithm development (via MPI), and plotting and
40visualiation capabilities.
41
274510ff
JR
42%description -l pl.UTF-8
43FreeMat jest darmowym środowiskiem do szybkiego przetwarzania
44prototypów i danych dla inżynierów i naukowców. Jest podobny do
45komercyjnych systemów takich jak MATLAB z Mathworks i IDL z Research
46Group, ale na licencji Open Source. FreeMat cechuje się między innymi
47bezkodowym interfejsem do zewnętrznego kodu C/C++/FORTRAN,
48równoległym/rozproszonym algorytmem obliczeń (poprzez MPI), oraz
49rysowaniem i wyświetlaniem możliwości.
ec79b699 50
51%prep
d22abc40 52%setup -q -n %{name}-%{mversion}
53%patch0
ec79b699 54
55%build
1d249caf
ER
56CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
57CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
d22abc40 58%{__aclocal}
59%{__autoconf}
60%{__automake}
ec79b699 61%configure \
62 --with-ncurses
63
64%{__make}
65
66%install
67rm -rf $RPM_BUILD_ROOT
68install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
69
70%{__make} install \
71 DESTDIR=$RPM_BUILD_ROOT \
72 prefix=$RPM_BUILD_ROOT%{_prefix}
73
74install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/%{name}
82%{_datadir}/%{name}
83%{_desktopdir}/%{name}.desktop
This page took 0.090574 seconds and 4 git commands to generate.