netCDF.spec renamed netcdf.spec works

Torkil Zachariassen torkil at lv.fo
Thu Aug 21 21:59:54 CEST 2003


FYI 
Tried installing rpm's from the FreeGIS CD on RedHat-7.3.

Found that netcdf was needed, and that netCDF did not provide it
correctly. Solution:
  rpm -ivh netCDF-3.5.0-2.src.rpm
  cd /usr/src/redhat/SPECS

Unified patch to renamed spec file

--- netCDF.spec Tue Jan 29 14:27:24 2002
+++ netcdf.spec Thu Aug 21 22:42:12 2003
@@ -1,5 +1,5 @@
 # This the rpm spec file for netCDF library
-%define PACKAGE_NAME netCDF
+%define PACKAGE_NAME netcdf
 %define PACKAGE_VERSION 3.5.0
 %define PACKAGE_URL http://www.unidata.ucar.edu/packages/netcdf/
 %define _prefix /usr
@@ -8,7 +8,7 @@
 Summary: netCDF - network Common Data Form
 Name: %PACKAGE_NAME
 Version: %PACKAGE_VERSION
-Release: 2
+Release: 3
 Source: netcdf.tar.Z
 Copyright: OSD compliant license; Copyright 1993-1999 University
Corporation for Atmospheric Research/Unidata
 Group: System Environment/Libraries
@@ -58,7 +58,7 @@
 %{_mandir}/man1/*
 %{_mandir}/man3/*
 %doc COMPATIBILITY
-%doc INSTALL
+%doc INSTALL.html
 %doc MANIFEST
 %doc README
 %doc VERSION

-----------------------------------------
rebuild all:
  rpm -ba netcdf.spec

This gave 
  netcdf-3.5.0-2.i386.rpm
  netcdf-3.5.0-2.src.rpm
which worked fine.





More information about the team mailing list