]> git.pld-linux.org Git - packages/grace.git/blob - grace.spec
Upgraded to 5.1.2 version
[packages/grace.git] / grace.spec
1 Summary:        Numerical Data Processing and Visualization Tool (grace)
2 Summary(pl):    Narzêdzie do numerycznej obróbki i wizualizacji danych
3 Name:           grace
4 Version:        5.1.2
5 Release:        1
6 License:        GPL
7 Vendor:         PLD
8 Group:          Applications/Math
9 ######          /scratch/pele/PLD/builder/rpm/SOURCES/rpm.groups: no such file
10 Group(pl):      Aplikacje/Matematyczne
11 Source0:        ftp://plasma-gate.weizmann.ac.il/pub/grace/src/%{name}-%{version}.tar.gz
12 URL:            http://plasma-gate.weizmann.ac.il/Grace/        
13 Patch0:         %{name}-DESTDIR.patch
14 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
15
16 %define _prefix /usr/X11R6
17 %define _mandir %{_prefix}/man
18 %define _docdir /usr/share/doc
19
20 %description
21 Grace is a Motif application for two-dimensional data visualization.
22 Grace can transform the data using free equations, FFT, cross- and
23 auto-correlation, differences, integrals, histograms, and much more.
24 The generated figures are of high quality. Grace is a very convenient
25 tool for data inspection, data transformation, and and for making
26 figures for publications.
27
28 %description -l pl
29 Grace jest Motiffow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
30 danych. Mo¿e przejszta³caæ dane za pomoc± wolnych równañ, FFT,
31 autokorelacji, ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy
32 maj± wysok± jako¶æ. Grace jest bardzo u¿ytecznym narzêdziem je¶li
33 chodzi o monitorowanie i transformacjê danych oraz tworzenie wykresów
34 do publikacji.
35
36 %prep
37 %setup -q
38 %patch0 -p1
39
40 %build
41 %configure      --enable-grace-home=%{_datadir}/%{name} \
42                 --mandir=%{_mandir}\
43                 --libdir=%{_libdir}\
44                 --includedir=%{_includedir}\
45                 --bindir=%{_bindir}\
46                 --datadir=%{_datadir}\
47                 --enable-editres \
48                 --enable-extra-incpath=$PKG_BUILD_DIR/include \
49                 --enable-extra-ldpath=$PKG_BUILD_DIR/lib --enable-debug
50 %{__make}
51
52 %install
53 rm -rf $RPM_BUILD_ROOT
54
55 %{__make} install DESTDIR=$RPM_BUILD_ROOT
56 install -d $RPM_BUILD_ROOT%{_docdir}
57
58 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
59 gzip -9nf       $RPM_BUILD_ROOT%{_mandir}/man*/* \
60                 $RPM_BUILD_ROOT%{_docdir}/%{name}/*.html\
61                 $RPM_BUILD_ROOT%{_docdir}/%{name}/*.dat\
62                 $RPM_BUILD_ROOT%{_docdir}/%{name}/*.agr\
63                 $RPM_BUILD_ROOT%{_docdir}/%{name}/mygraph.png\
64                 $RPM_BUILD_ROOT%{_docdir}/%{name}/shiftdata.sh\
65                 $RPM_BUILD_ROOT%{_docdir}/%{name}/examples/*
66
67 %clean
68
69 %files 
70 %defattr(644,root,root,755)
71 %config(noreplace) %verify(not size, mtime, md5) %{_sysconfdir}/grace/*
72 %doc /usr/share/doc/grace/*.html.gz
73 %doc /usr/share/doc/grace/*.dat.gz
74 %doc /usr/share/doc/grace/*.agr.gz
75 %doc /usr/share/doc/grace/mygraph.png.gz
76 %doc /usr/share/doc/grace/philosophical-gnu-sm.jpg
77 %doc /usr/share/doc/grace/shiftdata.sh.gz
78 %doc /usr/share/doc/grace/examples/*
79 %attr(755,root,root)%{_bindir}/*
80 %{_libdir}/grace/*
81 %{_includedir}/*
82 %{_datadir}/grace/auxiliary/*
83 %config(noreplace) %verify(not size, mtime, md5) %{_datadir}/grace/templates/*
84 %{_datadir}/grace/fonts/*
This page took 0.073046 seconds and 4 git commands to generate.