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