Author: edhill
Update of /cvs/extras/rpms/cdo/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv32104/devel
Modified Files:
.cvsignore sources
Added Files:
cdo.spec
Log Message:
auto-import cdo-0.9.6-2 on branch devel from cdo-0.9.6-2.src.rpm
--- NEW FILE cdo.spec ---
Name: cdo
Version: 0.9.6
Release: 2
Summary: A program for manipulating GRIB/NetCDF/SERVICE/EXTRA files
Group: Applications/Engineering
License: GPL
URL:
http://www.mpimet.mpg.de/~cdo/
Source0:
http://www.mpimet.mpg.de/~cdo/cdo.tar.gz
Source1:
http://www.mpimet.mpg.de/~cdo/cdo.pdf
Source2:
http://www.mpimet.mpg.de/~cdo/cdo_refcard.pdf
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: netcdf-devel
%description
CDO (Climate Data Operators) is a collection of command line Operators
to manipulate and analyse Climate Data files. Supported file formats
are GRIB, netCDF, SERVICE, and EXTRA. More than 200 operators are
available.
%prep
%setup -q -n %{name}-%{version}
%build
export CPPFLAGS="$RPM_OPT_FLAGS -I/usr/include/netcdf-3"
export LDFLAGS=-L/usr/lib/netcdf-3
%configure --with-netcdf --with-grib
make %{?_smp_mflags}
unset CPPFLAGS LDFLAGS
cp %{SOURCE1} cdo.pdf
cp %{SOURCE2} cdo_refcard.pdf
%install
rm -rf ${RPM_BUILD_ROOT}
%makeinstall
%clean
rm -rf ${RPM_BUILD_ROOT}
%files
%defattr(-,root,root,-)
%doc README OPERATORS cdo.pdf cdo_refcard.pdf
%{_bindir}/*
%changelog
* Sat Apr 23 2005 Ed Hill <ed(a)eh3.com> - 0.9.6-2
- fix CPPFLAGS per Tom Callaway's review
* Thu Apr 21 2005 Ed Hill <ed(a)eh3.com> - 0.9.6-1
- initial version
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/cdo/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Apr 2005 18:58:44 -0000 1.1
+++ .cvsignore 29 Apr 2005 18:59:09 -0000 1.2
@@ -0,0 +1,3 @@
+cdo.pdf
+cdo.tar.gz
+cdo_refcard.pdf
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/cdo/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Apr 2005 18:58:44 -0000 1.1
+++ sources 29 Apr 2005 18:59:09 -0000 1.2
@@ -0,0 +1,3 @@
+dc26f26473dfcf1e6c6580c79ccbe29a cdo.pdf
+7206ca892a284c1a83944102c9157c68 cdo.tar.gz
+c143af46bd00527960546ff596b5da12 cdo_refcard.pdf