]> git.pld-linux.org Git - packages/FreeMat.git/blame - FreeMat.spec
- lots of BR for optional components
[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 10Version: 3.5
ae47b446 11Release: 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
bc91b620 18Patch1: %{name}-link.patch
ec79b699 19URL: http://freemat.sourceforge.net
d22abc40 20BuildRequires: autoconf
ec35b276 21BuildRequires: automake
ae47b446
SS
22BuildRequires: ffcall-devel
23BuildRequires: fftw3-devel
24BuildRequires: fftw3-single-devel
ec79b699 25BuildRequires: gcc-g77
c18136a1 26BuildRequires: lapack-devel
ec79b699 27BuildRequires: ncurses-devel
ae47b446
SS
28BuildRequires: pcre-devel
29BuildRequires: portaudio-devel
1fdc2deb
SS
30BuildRequires: QtCore-devel
31BuildRequires: QtGui-devel
32BuildRequires: QtOpenGL-devel
33BuildRequires: QtNetwork-devel
34BuildRequires: QtXml-devel
35BuildRequires: qt4-build
ec79b699 36BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38%description
39FreeMat is a free environment for rapid entineering and scientific
40prototyping and data processing. It is similar to commercial systems
41such as MATLAB from Mathworks, and IDL from Research Systems, but is
42Open Source. FreeMat includes several novel features such as a
43codeless interface to external C/C++/FORTRAN code,
44parallel/distributed algorithm development (via MPI), and plotting and
45visualiation capabilities.
46
274510ff
JR
47%description -l pl.UTF-8
48FreeMat jest darmowym środowiskiem do szybkiego przetwarzania
49prototypów i danych dla inżynierów i naukowców. Jest podobny do
50komercyjnych systemów takich jak MATLAB z Mathworks i IDL z Research
51Group, ale na licencji Open Source. FreeMat cechuje się między innymi
52bezkodowym interfejsem do zewnętrznego kodu C/C++/FORTRAN,
53równoległym/rozproszonym algorytmem obliczeń (poprzez MPI), oraz
54rysowaniem i wyświetlaniem możliwości.
ec79b699 55
56%prep
d22abc40 57%setup -q -n %{name}-%{mversion}
4ff2cf96 58%patch0 -p1
bc91b620 59%patch1 -p1
ec79b699 60
61%build
1d249caf
ER
62CFLAGS="%{rpmcflags} -I/usr/include/ncurses"
63CXXFLAGS="%{rpmcflags} -I/usr/include/ncurses"
d22abc40 64%{__aclocal}
65%{__autoconf}
66%{__automake}
ec79b699 67%configure \
68 --with-ncurses
69
70%{__make}
71
72%install
73rm -rf $RPM_BUILD_ROOT
74install -d $RPM_BUILD_ROOT{%{_infodir},%{_desktopdir}}
75
76%{__make} install \
77 DESTDIR=$RPM_BUILD_ROOT \
78 prefix=$RPM_BUILD_ROOT%{_prefix}
79
80install %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}
81
82%clean
83rm -rf $RPM_BUILD_ROOT
84
85%files
86%defattr(644,root,root,755)
87%attr(755,root,root) %{_bindir}/%{name}
29c46a67 88%{_datadir}/%{name}-%{version}
ec79b699 89%{_desktopdir}/%{name}.desktop
This page took 0.043315 seconds and 4 git commands to generate.