rpms/netcdf/devel netcdf-mandir.patch, NONE, 1.1 netcdf.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Michael Schwendt (mschwendt) fedora-extras-commits at redhat.com
Fri Jan 14 09:50:51 UTC 2005


Author: mschwendt

Update of /cvs/extras/rpms/netcdf/devel
In directory cvs.fedora.redhat.com:/tmp/cvs-serv25339/devel

Modified Files:
	.cvsignore sources 
Added Files:
	netcdf-mandir.patch netcdf.spec 
Log Message:
auto-import netcdf-3.5.1-0.fdr.8 on branch devel from netcdf-3.5.1-0.fdr.8.src.rpm

netcdf-mandir.patch:

--- NEW FILE netcdf-mandir.patch ---
--- netcdf-3.5.1/src/macros.make.in	2001-07-11 12:30:33.000000000 -0400
+++ netcdf-3.5.1/src/macros.make.in.new	2004-07-14 20:24:39.805458165 -0400
@@ -15,7 +15,7 @@
 INCDIR		= $(exec_prefix)/include
 LIBDIR		= $(exec_prefix)/lib
 BINDIR		= $(exec_prefix)/bin
-MANDIR		= $(prefix)/man
+MANDIR		= $(prefix)/share/man
 
 
 # Preprocessing:


--- NEW FILE netcdf.spec ---
Name:           netcdf
Version:        3.5.1
Release:        0.fdr.8
Epoch:          0
Summary:        Libraries for the Unidata network Common Data Form (NetCDF)

Group:          Applications/Engineering
License:        NetCDF
URL:            http://my.unidata.ucar.edu/content/software/netcdf/index.html
Source0:        ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-3.5.1.tar.Z
Patch0:         netcdf-mandir.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:  gcc-g77


%description
NetCDF (network Common Data Form) is an interface for array-oriented
data access and a freely-distributed collection of software libraries
for C, Fortran, C++, and perl that provides an implementation of the
interface.  The NetCDF library also defines a machine-independent
format for representing scientific data. Together, the interface,
library, and format support the creation, access, and sharing of
scientific data. The NetCDF software was developed at the Unidata
Program Center in Boulder, Colorado.

NetCDF data is: 

   o Self-Describing: A NetCDF file includes information about the
     data it contains.

   o Network-transparent:  A NetCDF file is represented in a form that
     can be accessed by computers with different ways of storing
     integers, characters, and floating-point numbers.

   o Direct-access:  A small subset of a large dataset may be accessed
     efficiently, without first reading through all the preceding
     data.

   o Appendable:  Data can be appended to a NetCDF dataset along one
     dimension without copying the dataset or redefining its
     structure. The structure of a NetCDF dataset can be changed,
     though this sometimes causes the dataset to be copied.

   o Sharable:  One writer and multiple readers may simultaneously
     access the same NetCDF file.


%prep
%setup -q
%patch0 -p1


%build
cd src
%ifarch x86_64
   mv macros.make.in OLD_macros.make.in
   cat OLD_macros.make.in | \
     sed -e 's|exec_prefix)/lib|exec_prefix)/lib64|' > macros.make.in
%endif
export CPPFLAGS="-DNDEBUG -Df2cFortran -fPIC"
export CFLAGS="$RPM_OPT_FLAGS -Df2cFortran -fPIC"
%configure
#  WARNING!
#  The parallel build was tested and it does NOT work.
#  make %{?_smp_mflags}
make

%install
rm -rf $RPM_BUILD_ROOT
mkdir $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/%{_prefix}
mkdir -p $RPM_BUILD_ROOT/%{_datadir}
mkdir -p $RPM_BUILD_ROOT/%{_mandir}
cd src
%makeinstall
rm -rf $RPM_BUILD_ROOT/%{_mandir}/man3f

%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc src/COPYRIGHT src/README src/COMPATIBILITY
%{_bindir}/*
%{_libdir}/*.a
%{_includedir}/*
%{_mandir}/*/*


%changelog
* Sun Aug  1 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.8
- added -fPIC so x86_64 build works with nco package

* Fri Jul 30 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.7
- fix typo in the x86_64 build and now works on x86_64

* Thu Jul 15 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.6
- fix license

* Thu Jul 15 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.5
- fix (hopefully?) x86_64 /usr/lib64 handling

* Thu Jul 15 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.4
- replace paths with macros

* Thu Jul 15 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.3
- fix spelling

* Thu Jul 15 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.2
- removed "--prefix=/usr" from %configure

* Wed Jul 14 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.1
- Remove unnecessary parts and cleanup for submission

* Wed Jul 14 2004 Ed Hill <eh3 at mit.edu> - 0:3.5.1-0.fdr.0
- Initial RPM release.


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/netcdf/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	14 Jan 2005 09:48:37 -0000	1.1
+++ .cvsignore	14 Jan 2005 09:50:49 -0000	1.2
@@ -0,0 +1 @@
+netcdf-3.5.1.tar.Z


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/netcdf/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	14 Jan 2005 09:48:37 -0000	1.1
+++ sources	14 Jan 2005 09:50:49 -0000	1.2
@@ -0,0 +1 @@
+52972e8765394010d2507a9a1dc02a56  netcdf-3.5.1.tar.Z




More information about the fedora-extras-commits mailing list