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 Source1: %{name}.desktop
10 Patch0: %{name}-FHS.patch
11 Patch1: %{name}-home_etc.patch
12 Patch2: %{name}-etc.patch
13 Patch3: %{name}-fontsdir.patch
14 Patch4: %{name}-ac25x.patch
15 URL: http://plasma-gate.weizmann.ac.il/Grace/
16 BuildRequires: XFree86-devel
17 BuildRequires: Xbae-devel
18 BuildRequires: XmHTML-devel >= 1.1.5
19 BuildRequires: autoconf
20 BuildRequires: fftw-devel
21 BuildRequires: lesstif-devel
22 BuildRequires: libjpeg-devel
23 BuildRequires: libpng-devel >= 0.9.6
24 BuildRequires: libtiff-devel
25 BuildRequires: netcdf-devel >= 3.0
26 BuildRequires: pdflib-devel >= 4.0.3
27 BuildRequires: t1lib-devel
28 Requires: ghostscript-fonts-std
29 Requires: libpng >= 0.9.6
30 Requires: pdflib >= 4.0.3
31 Requires: zlib >= 1.0.3
33 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 %define _prefix /usr/X11R6
36 %define _mandir %{_prefix}/man
39 Grace is a Motif application for two-dimensional data visualization.
40 Grace can transform the data using free equations, FFT, cross- and
41 auto-correlation, differences, integrals, histograms, and much more.
42 The generated figures are of high quality. Grace is a very convenient
43 tool for data inspection, data transformation, and and for making
44 figures for publications.
47 Grace jest Motiffow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
48 danych. Mo¿e przekszta³caæ dane za pomoc± wolnych równañ, FFT,
49 autokorelacji, ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy
50 maj± wysok± jako¶æ. Grace jest bardzo u¿ytecznym narzêdziem je¶li
51 chodzi o monitorowanie i transformacjê danych oraz tworzenie wykresów
63 cp -f ac-tools/configure.in .
66 --enable-grace-home=%{_datadir}/%{name} \
68 --enable-extra-incpath=$PKG_BUILD_DIR/include \
69 --enable-extra-ldpath=$PKG_BUILD_DIR/lib \
70 %{!?debug:--disable-debug}
73 gzip -9nf $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.dat \
74 $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.agr \
75 $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.sh
78 rm -rf $RPM_BUILD_ROOT
80 %{__make} install DESTDIR=$RPM_BUILD_ROOT
82 rm -f $RPM_BUILD_ROOT%{_datadir}/grace/doc/{*.sgml,*.dvi,*.1} \
83 $RPM_BUILD_ROOT%{_datadir}/grace/examples/dotest
85 install -d $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Plotting
86 install %{SOURCE1} $RPM_BUILD_ROOT%{_applnkdir}/Scientific/Plotting/%{name}.desktop
89 rm -rf $RPM_BUILD_ROOT
92 %defattr(644,root,root,755)
93 %docdir %{_datadir}/grace/doc
94 %docdir %{_datadir}/grace/examples
96 %{_datadir}/grace/examples
97 %dir %{_sysconfdir}/grace
98 %config(noreplace) %verify(not size, mtime, md5) %{_sysconfdir}/grace/*
99 %attr(755,root,root)%{_bindir}/*
103 %dir %{_datadir}/grace
104 %{_datadir}/grace/auxiliary
105 %dir %{_datadir}/grace/templates
106 %config(noreplace) %verify(not size, mtime, md5) %{_datadir}/grace/templates/*
107 %dir %{_datadir}/grace/fonts
108 %{_datadir}/grace/fonts/enc
109 %{_datadir}/grace/fonts/FontDataBase