]> git.pld-linux.org Git - packages/grace.git/blob - grace.spec
- release 9 (by relup.sh)
[packages/grace.git] / grace.spec
1 Summary:        Numerical Data Processing and Visualization Tool (grace)
2 Summary(pl.UTF-8):      Narzędzie do numerycznej obróbki i wizualizacji danych
3 Name:           grace
4 Version:        5.1.22
5 Release:        9
6 License:        GPL
7 Group:          Applications/Math
8 Source0:        ftp://plasma-gate.weizmann.ac.il/pub/grace/src/stable/%{name}-%{version}.tar.gz
9 # Source0-md5:  672356466f18fe59ed21a8fb44f9851d
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 Patch4:         %{name}-libpng15.patch
16 URL:            http://plasma-gate.weizmann.ac.il/Grace/
17 BuildRequires:  Xbae-devel
18 BuildRequires:  XmHTML-devel >= 1.1.5
19 BuildRequires:  autoconf
20 BuildRequires:  automake
21 BuildRequires:  fftw-devel >= 2.1.3
22 BuildRequires:  libjpeg-devel
23 BuildRequires:  libpng-devel >= 0.9.6
24 BuildRequires:  motif-devel >= 1.2
25 BuildRequires:  netcdf-devel >= 3.0
26 #BuildRequires: pdflib-devel >= 5.0.0
27 BuildRequires:  t1lib-devel >= 5.0.0
28 BuildRequires:  xorg-lib-libXmu-devel
29 BuildRequires:  xorg-lib-libXpm-devel
30 BuildRequires:  xorg-lib-libXt-devel
31 Requires:       fonts-Type1-urw
32 Requires:       libpng >= 0.9.6
33 #Requires:      pdflib >= 5.0.0
34 Requires:       zlib >= 1.0.3
35 Obsoletes:      xmgr
36 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
37
38 %description
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.
45
46 %description -l pl.UTF-8
47 Grace jest motifową 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
52 do publikacji.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58 %patch2 -p1
59 %patch3 -p1
60 %patch4 -p1
61
62 %build
63 cp -f /usr/share/automake/config.* ac-tools
64 cp -f ac-tools/configure.in .
65 %{__autoconf}
66 %configure \
67         --enable-grace-home=%{_datadir}/%{name} \
68         --enable-editres \
69         --enable-extra-incpath=$PKG_BUILD_DIR/include \
70         --enable-extra-ldpath=$PKG_BUILD_DIR/lib \
71         --without-bundled-xbae \
72         %{!?debug:--disable-debug}
73 %{__make}
74
75 %install
76 rm -rf $RPM_BUILD_ROOT
77
78 %{__make} install \
79         DESTDIR=$RPM_BUILD_ROOT
80
81 rm -f $RPM_BUILD_ROOT%{_datadir}/grace/doc/{*.sgml,*.dvi,*.1} \
82         $RPM_BUILD_ROOT%{_datadir}/grace/examples/dotest
83
84 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_desktopdir}/%{name}.desktop
85
86 gzip -9nf $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.dat \
87         $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.agr \
88         $RPM_BUILD_ROOT%{_datadir}/grace/doc/*.sh
89
90 %clean
91 rm -rf $RPM_BUILD_ROOT
92
93 %files
94 %defattr(644,root,root,755)
95 %docdir %{_datadir}/grace/doc
96 %docdir %{_datadir}/grace/examples
97 %{_datadir}/grace/doc
98 %{_datadir}/grace/examples
99 %dir %{_sysconfdir}/grace
100 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/grace/*
101 %attr(755,root,root) %{_bindir}/*
102 %{_mandir}/man1/*
103 %{_libdir}/grace
104 %{_includedir}/*
105 %dir %{_datadir}/grace
106 %{_datadir}/grace/auxiliary
107 %dir %{_datadir}/grace/templates
108 %config(noreplace) %verify(not md5 mtime size) %{_datadir}/grace/templates/*
109 %dir %{_datadir}/grace/fonts
110 %{_datadir}/grace/fonts/enc
111 %{_datadir}/grace/fonts/type1
112 %{_datadir}/grace/fonts/FontDataBase
113 %{_desktopdir}/*.desktop
This page took 0.068051 seconds and 4 git commands to generate.