]> git.pld-linux.org Git - packages/FreeMat.git/blame - FreeMat.spec
- big BR updates
[packages/FreeMat.git] / FreeMat.spec
CommitLineData
ec79b699 1# TODO:
2# - look at MPI support - doesn't work with lam for me :/
d22abc40 3%define fversion %(echo %{version} |tr r -)
4%define mversion %(echo %{version} |cut -f -1 -d r)
ec35b276 5Summary: FreeMat - an environment for rapid engineering and scientific processing
853777a6 6Summary(pl.UTF-8): FreeMat - środowisko do szybkiego przetwarzania inżynieryjnego i naukowego
ec79b699 7Name: FreeMat
7dfcc25f
SS
8Version: 3.5
9Release: 0.1
ec79b699 10License: MIT
11Group: Applications/Math
d22abc40 12Source0: http://dl.sourceforge.net/freemat/%{name}-%{fversion}.tar.gz
7dfcc25f 13# Source0-md5: 4cc41c1f9265a86134fd338076d1a65f
ec79b699 14Source1: %{name}.desktop
15URL: http://freemat.sourceforge.net
d22abc40 16BuildRequires: autoconf
ec35b276 17BuildRequires: automake
ec79b699 18BuildRequires: blas-devel
19BuildRequires: gcc-g77
20BuildRequires: libjpeg-devel
21BuildRequires: libpng-devel
22BuildRequires: libstdc++-devel
23BuildRequires: libtiff-devel
24BuildRequires: ncurses-devel
1fdc2deb
SS
25BuildRequires: QtCore-devel
26BuildRequires: QtGui-devel
27BuildRequires: QtOpenGL-devel
28BuildRequires: QtNetwork-devel
29BuildRequires: QtXml-devel
30BuildRequires: qt4-build
ec79b699 31BuildRequires: zlib-devel
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35FreeMat is a free environment for rapid entineering and scientific
36prototyping and data processing. It is similar to commercial systems
37such as MATLAB from Mathworks, and IDL from Research Systems, but is
38Open Source. FreeMat includes several novel features such as a
39codeless interface to external C/C++/FORTRAN code,
40parallel/distributed algorithm development (via MPI), and plotting and
41visualiation capabilities.
42
274510ff
JR
43%description -l pl.UTF-8
44FreeMat jest darmowym środowiskiem do szybkiego przetwarzania
45prototypów i danych dla inżynierów i naukowców. Jest podobny do
46komercyjnych systemów takich jak MATLAB z Mathworks i IDL z Research
47Group, ale na licencji Open Source. FreeMat cechuje się między innymi
48bezkodowym interfejsem do zewnętrznego kodu C/C++/FORTRAN,
49równoległym/rozproszonym algorytmem obliczeń (poprzez MPI), oraz
50rysowaniem i wyświetlaniem możliwości.
ec79b699 51
52%prep
d22abc40 53%setup -q -n %{name}-%{mversion}
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.21228 seconds and 4 git commands to generate.