]> git.pld-linux.org Git - packages/grace.git/blob - grace.spec
- updated to 5.1.17
[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.17
5 Release:        1
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        ftp://plasma-gate.weizmann.ac.il/pub/grace/src/%{name}-%{version}.tar.gz
9 # Source0-md5:  a20c1edf572f1a78025e2010d5bb6e83
10 Source1:        %{name}.desktop
11 Patch0:         %{name}-FHS.patch
12 Patch1:         %{name}-home_etc.patch
13 Patch2:         %{name}-etc.patch
14 Patch3:         %{name}-fontsdir.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:  automake
21 BuildRequires:  fftw-devel
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libpng-devel >= 0.9.6
24 BuildRequires:  libtiff-devel
25 BuildRequires:  motif-devel >= 1.2
26 BuildRequires:  netcdf-devel >= 3.0
27 BuildRequires:  pdflib-devel >= 4.0.3
28 BuildRequires:  t1lib-devel >= 5.0.0
29 Requires:       ghostscript-fonts-std
30 Requires:       libpng >= 0.9.6
31 Requires:       pdflib >= 4.0.3
32 Requires:       zlib >= 1.0.3
33 Obsoletes:      xmgr
34 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
36 %description
37 Grace is a Motif application for two-dimensional data visualization.
38 Grace can transform the data using free equations, FFT, cross- and
39 auto-correlation, differences, integrals, histograms, and much more.
40 The generated figures are of high quality. Grace is a very convenient
41 tool for data inspection, data transformation, and and for making
42 figures for publications.
43
44 %description -l pl
45 Grace jest motifow± aplikacj± s³u¿±c± do dwuwymiarowej wizualizacji
46 danych. Mo¿e przekszta³caæ dane za pomoc± wolnych równañ, FFT,
47 autokorelacji, ró¿niczek, ca³ek, histogramów itd. Powsta³e wykresy
48 maj± wysok± jako¶æ. Grace jest bardzo u¿ytecznym narzêdziem je¶li
49 chodzi o monitorowanie i transformacjê danych oraz tworzenie wykresów
50 do publikacji.
51
52 %prep
53 %setup -q
54 %patch0 -p1
55 %patch1 -p1
56 %patch2 -p1
57 %patch3 -p1
58
59 %build
60 cp -f /usr/share/automake/config.* ac-tools
61 cp -f ac-tools/configure.in .
62 %{__autoconf}
63 %configure \
64         --enable-grace-home=%{_datadir}/%{name} \
65         --enable-editres \
66         --enable-extra-incpath=$PKG_BUILD_DIR/include \
67         --enable-extra-ldpath=$PKG_BUILD_DIR/lib \
68         --without-bundled-xbae \
69         %{!?debug:--disable-debug}
70 %{__make}
71
72 %install
73 rm -rf $RPM_BUILD_ROOT
74
75 %{__make} install \
76         DESTDIR=$RPM_BUILD_ROOT
77
78 rm -f $RPM_BUILD_ROOT%{_datadir}/grace/doc/{*.sgml,*.dvi,*.1} \
79         $RPM_BUILD_ROOT%{_datadir}/grace/examples/dotest
80
81 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
82
83 gzip -9nf $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.dat \
84         $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.agr \
85         $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.sh
86
87 %clean
88 rm -rf $RPM_BUILD_ROOT
89
90 %files
91 %defattr(644,root,root,755)
92 %docdir %{_datadir}/grace/doc
93 %docdir %{_datadir}/grace/examples
94 %{_datadir}/grace/doc
95 %{_datadir}/grace/examples
96 %dir %{_sysconfdir}/grace
97 %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/grace/*
98 %attr(755,root,root) %{_bindir}/*
99 %{_mandir}/man1/*
100 %{_libdir}/grace
101 %{_includedir}/*
102 %dir %{_datadir}/grace
103 %{_datadir}/grace/auxiliary
104 %dir %{_datadir}/grace/templates
105 %config(noreplace) %verify(not size mtime md5) %{_datadir}/grace/templates/*
106 %dir %{_datadir}/grace/fonts
107 %{_datadir}/grace/fonts/enc
108 %{_datadir}/grace/fonts/FontDataBase
109 %{_desktopdir}/*.desktop
This page took 0.08707 seconds and 3 git commands to generate.