]> git.pld-linux.org Git - packages/grace.git/blob - grace.spec
- adapterized.
[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 Group:          Applications/Math
8 Group(de):      Applikationen/Mathematik
9 Group(pl):      Aplikacje/Matematyczne
10 Source0:        ftp://plasma-gate.weizmann.ac.il/pub/grace/src/%{name}-%{version}.tar.gz
11 URL:            http://plasma-gate.weizmann.ac.il/Grace/        
12 Patch0:         %{name}-DESTDIR.patch
13 Patch1:         %{name}-HOME-ETC.patch
14 Patch2:         %{name}-PDFlib.patch
15 Patch3:         %{name}-FFTW.patch
16 BuildRequires:  fftw-devel
17 BuildRequires:  zlib-devel >= 1.0.3
18 BuildRequires:  libjpeg-devel
19 BuildRequires:  libpng-devel >= 0.9.6
20 BuildRequires:  libtiff-devel
21 BuildRequires:  pdflib-devel >= 3.0
22 BuildRequires:  lesstif-devel
23 BuildRequires:  XFree86-devel
24 BuildRequires:  Xbae-devel
25 BuildRequires:  xpm-devel
26 Requires:       pdflib >= 3.0
27 Requires:       zlib >= 1.0.3
28 Requires:       libpng >= 0.9.6
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define _prefix /usr/X11R6
32 %define _mandir %{_prefix}/man
33 %define _docdir /usr/share/doc
34
35 %description
36 Grace is a Motif application for two-dimensional data visualization.
37 Grace can transform the data using free equations, FFT, cross- and
38 auto-correlation, differences, integrals, histograms, and much more.
39 The generated figures are of high quality. Grace is a very convenient
40 tool for data inspection, data transformation, and and for making
41 figures for publications.
42
43 %description -l pl
44 Grace jest Motiffow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
45 danych. Mo¿e przejszta³caæ dane za pomoc± wolnych równañ, FFT,
46 autokorelacji, ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy
47 maj± wysok± jako¶æ. Grace jest bardzo u¿ytecznym narzêdziem je¶li
48 chodzi o monitorowanie i transformacjê danych oraz tworzenie wykresów
49 do publikacji.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56 %patch3 -p1
57
58 %build
59 %configure \
60         --enable-grace-home=%{_datadir}/%{name} \
61         --enable-editres \
62         --enable-extra-incpath=$PKG_BUILD_DIR/include \
63         --enable-extra-ldpath=$PKG_BUILD_DIR/lib \
64         --enable-debug
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install DESTDIR=$RPM_BUILD_ROOT
71 install -d $RPM_BUILD_ROOT%{_docdir}
72
73 rm -rf $RPM_BUILD_ROOT%{_datadir}/doc
74 gzip -9nf $RPM_BUILD_ROOT%{_docdir}/%{name}/*.html\
75         $RPM_BUILD_ROOT%{_docdir}/%{name}/*.dat\
76         $RPM_BUILD_ROOT%{_docdir}/%{name}/*.agr\
77         $RPM_BUILD_ROOT%{_docdir}/%{name}/mygraph.png\
78         $RPM_BUILD_ROOT%{_docdir}/%{name}/shiftdata.sh\
79         $RPM_BUILD_ROOT%{_docdir}/%{name}/examples/*
80
81 %clean
82
83 %files 
84 %defattr(644,root,root,755)
85 %config(noreplace) %verify(not size, mtime, md5) %{_sysconfdir}/grace/*
86 %doc /usr/share/doc/grace/*.html.gz
87 %doc /usr/share/doc/grace/*.dat.gz
88 %doc /usr/share/doc/grace/*.agr.gz
89 %doc /usr/share/doc/grace/mygraph.png.gz
90 %doc /usr/share/doc/grace/philosophical-gnu-sm.jpg
91 %doc /usr/share/doc/grace/shiftdata.sh.gz
92 %doc /usr/share/doc/grace/examples/*
93 %attr(755,root,root)%{_bindir}/*
94 %{_libdir}/grace/*
95 %{_includedir}/*
96 %{_datadir}/grace/auxiliary/*
97 %config(noreplace) %verify(not size, mtime, md5) %{_datadir}/grace/templates/*
98 %{_datadir}/grace/fonts/*
This page took 0.033506 seconds and 3 git commands to generate.