1 Summary: Numerical Data Processing and Visualization Tool (grace)
2 Summary(pl): Narzêdzie do numerycznej obróbki i wizualizacji danych
7 Group: Applications/Math
8 Source0: ftp://plasma-gate.weizmann.ac.il/pub/grace/src/%{name}-%{version}.tar.gz
9 Patch0: %{name}-DESTDIR.patch
10 Patch1: %{name}-HOME-ETC.patch
11 Patch2: %{name}-PDFlib.patch
12 Patch3: %{name}-etc.patch
13 Patch4: %{name}-fontsdir.patch
14 URL: http://plasma-gate.weizmann.ac.il/Grace/
15 BuildRequires: fftw-devel
16 BuildRequires: libjpeg-devel
17 BuildRequires: libpng-devel >= 0.9.6
18 BuildRequires: libtiff-devel
19 BuildRequires: pdflib-devel >= 3.0
20 BuildRequires: lesstif-devel
21 BuildRequires: XFree86-devel
22 BuildRequires: Xbae-devel
23 BuildRequires: XmHTML-devel >= 1.1.5
24 BuildRequires: netcdf-devel >= 3.0
25 BuildRequires: t1lib-devel
26 BuildRequires: autoconf
27 Requires: pdflib >= 3.0
28 Requires: zlib >= 1.0.3
29 Requires: libpng >= 0.9.6
30 Requires: ghostscript-fonts-std
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 %define _prefix /usr/X11R6
35 %define _mandir %{_prefix}/man
38 Grace is a Motif application for two-dimensional data visualization.
39 Grace can transform the data using free equations, FFT, cross- and
40 auto-correlation, differences, integrals, histograms, and much more.
41 The generated figures are of high quality. Grace is a very convenient
42 tool for data inspection, data transformation, and and for making
43 figures for publications.
46 Grace jest Motiffow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
47 danych. Mo¿e przekszta³caæ dane za pomoc± wolnych równañ, FFT,
48 autokorelacji, ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy
49 maj± wysok± jako¶æ. Grace jest bardzo u¿ytecznym narzêdziem je¶li
50 chodzi o monitorowanie i transformacjê danych oraz tworzenie wykresów
62 cp -f ac-tools/configure.in .
65 --enable-grace-home=%{_datadir}/%{name} \
67 --enable-extra-incpath=$PKG_BUILD_DIR/include \
68 --enable-extra-ldpath=$PKG_BUILD_DIR/lib \
69 %{!?debug:--disable-debug}
73 rm -rf $RPM_BUILD_ROOT
75 %{__make} install DESTDIR=$RPM_BUILD_ROOT
77 rm -f $RPM_BUILD_ROOT%{_datadir}/grace/doc/{*.sgml,*.dvi,*.1} \
78 $RPM_BUILD_ROOT%{_datadir}/grace/examples/dotest
80 gzip -9nf $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.dat \
81 $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.agr \
82 $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.sh
85 rm -rf $RPM_BUILD_ROOT
88 %defattr(644,root,root,755)
89 %docdir %{_datadir}/grace/doc
90 %docdir %{_datadir}/grace/examples
92 %{_datadir}/grace/examples
93 %dir %{_sysconfdir}/grace
95 %config(noreplace) %verify(not size, mtime, md5) %{_sysconfdir}/grace/*
96 %attr(755,root,root)%{_bindir}/*
99 %dir %{_datadir}/grace
100 %{_datadir}/grace/auxiliary
101 %dir %{_datadir}/grace/templates
102 %config(noreplace) %verify(not size, mtime, md5) %{_datadir}/grace/templates/*
103 %dir %{_datadir}/grace/fonts
104 %{_datadir}/grace/fonts/enc
105 %{_datadir}/grace/fonts/FontDataBase