[svn] r5640 - in trunk/rpms: . netcdf

packagers at lists.rpmforge.net packagers at lists.rpmforge.net
Thu Jul 26 19:57:02 CEST 2007

Author: dries
Date: 2007-07-26 19:57:00 +0200 (Thu, 26 Jul 2007)
New Revision: 5640


Added: trunk/rpms/netcdf/netcdf.spec
--- trunk/rpms/netcdf/netcdf.spec	                        (rev 0)
+++ trunk/rpms/netcdf/netcdf.spec	2007-07-26 17:57:00 UTC (rev 5640)
@@ -0,0 +1,79 @@
+# $Id$
+# Authority: dries
+# Upstream: Russ Rew <russ$unidata,ucar,edu>
+Summary: Libraries for the Unidata network Common Data Form (NetCDF)
+Name: netcdf
+Version: 3.6.2
+Release: 1
+License: BSD like
+Group: Development/Libraries
+URL: http://www.unidata.ucar.edu/software/netcdf/
+Source: ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
+BuildRequires: gcc-c++, gcc-gfortran
+The Unidata network Common Data Form (netCDF) is an interface for
+scientific data access and a freely-distributed software library 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.
+%package devel
+Summary: Header files, libraries and development documentation for %{name}.
+Group: Development/Libraries
+Requires: %{name} = %{version}-%{release}
+%description devel
+This package contains the header files, static libraries and development
+documentation for %{name}. If you like to develop programs using %{name},
+you will need to install %{name}-devel.
+%configure --enable-shared --with-pic
+%{__make} %{?_smp_mflags}
+%{__rm} -rf %{buildroot}
+%{__make} install DESTDIR="%{buildroot}"
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+%{__rm} -rf %{buildroot}
+%defattr(-, root, root, 0755)
+%doc %{_mandir}/man1/ncdump.1*
+%doc %{_mandir}/man1/ncgen.1*
+%doc %{_mandir}/man3/netcdf*.3*
+%files devel
+%exclude %{_libdir}/*.a
+%exclude %{_libdir}/*.la
+* Wed Jul 25 2007 Dries Verachtert <dries at ulyssis.org> - 3.6.2-1
+- Initial package, based on the the spec file from Mapping Hacks.

More information about the commits mailing list