1) install
sudo yum install pdflib-lite.x86_64 pdflib-lite.i386 pdflib-lite-devel.i386
pdflib-lite-devel.x86_64 netcdf-devel.x86_64 netcdf-devel.i386 netcdf-static.x86_64
netcdf.i386 netcdf.x86_64 libpng-devel.x86_64 fftw2-devel.x86_64 t1lib-devel.x86_64 xbae-devel.x86_64
2) yumdownloader --source grace
if you have a rpmbuild/ structure, it will get installed there; otherwise it will go in /usr/src
3) add --enable-pdfdrv to the
%build
cp %{SOURCE3} %{SOURCE4} .
%configure \
section
4) rpmbuild -bb /home/quevedin/rpmbuild/SPECS/grace.spec
5) sudo rpm -ihv rpmbuild/RPMS/x86_64/grace-5.1.22-2.RHL5.x86_64.rpm rpmbuild/RPMS/x86_64/grace-devel-5.1.22-2.RHL5.x86_64.rpm
Regards
Lucas
No comments:
Post a Comment