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