rpms/libnc-dap/devel libnc-dap-3.7.3-template.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 libnc-dap.spec, 1.23, 1.24 sources, 1.5, 1.6

Patrice Dumas pertusus at fedoraproject.org
Wed Sep 10 16:53:32 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/libnc-dap/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv28637

Modified Files:
	.cvsignore libnc-dap.spec sources 
Added Files:
	libnc-dap-3.7.3-template.patch 
Log Message:
* Tue Sep  9 2008 Patrice Dumas <pertusus at free.fr> 3.7.3-1
- update to 3.7.3


libnc-dap-3.7.3-template.patch:

--- NEW FILE libnc-dap-3.7.3-template.patch ---
diff -up libnc-dap-3.7.3/nc_util.cc.template libnc-dap-3.7.3/nc_util.cc
--- libnc-dap-3.7.3/nc_util.cc.template	2008-09-09 22:41:12.000000000 +0200
+++ libnc-dap-3.7.3/nc_util.cc	2008-09-09 22:42:56.000000000 +0200
@@ -58,6 +58,8 @@ static char rcsid[] not_used =
 #include "NCSequence.h"
 #include "NCStructure.h"
 
+#include "Connections.cc"
+
 // When flattening attributes during the translation process, use this to
 // separate the container name from the attribute name.
 const char attr_separator[] = { ":" };


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/libnc-dap/devel/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore	1 May 2007 11:36:12 -0000	1.5
+++ .cvsignore	10 Sep 2008 16:53:02 -0000	1.6
@@ -1 +1 @@
-libnc-dap-3.7.0.tar.gz
+libnc-dap-3.7.3.tar.gz


Index: libnc-dap.spec
===================================================================
RCS file: /cvs/extras/rpms/libnc-dap/devel/libnc-dap.spec,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- libnc-dap.spec	4 Sep 2008 15:50:06 -0000	1.23
+++ libnc-dap.spec	10 Sep 2008 16:53:02 -0000	1.24
@@ -1,19 +1,20 @@
 Name: libnc-dap
 Summary: The NetCDF interface to DAP-2 from OPeNDAP
-Version: 3.7.0
-Release: 11%{?dist}
+Version: 3.7.3
+Release: 1%{?dist}
 
 Group: Development/Libraries
 # ncdump, netcdf headers, lnetcdf are coverd by a BSD/MIT-like license
 # but they are linked statically against libnc-dap
 License: LGPLv2+
 URL: http://www.opendap.org/
-Source0: ftp://ftp.unidata.ucar.edu/pub/opendap/source/libnc-dap-%{version}.tar.gz 
-Patch0: libnc-dap-3.7.0-nolibdir.patch
-Patch1: libnc-dap-3.7.0-gcc43.patch
+Source0: http://www.opendap.org/pub/source/libnc-dap-%{version}.tar.gz
+Patch0:  libnc-dap-3.7.3-template.patch
 
 BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
-BuildRequires: libdap-devel >= 3.7.3 gcc-gfortran
+BuildRequires: libdap-devel >= 3.8.0 gcc-gfortran
+BuildRequires: pkgconfig
+
 
 %description
 The libnc-dap library is a call-for-call replacement for netcdf. It can 
@@ -29,7 +30,8 @@
 Summary: Development files and header files from libnc-dap
 Group: Development/Libraries
 Requires: %{name} = %{version}-%{release}
-Requires: libdap-devel >= 3.7.0
+Requires: libdap-devel >= 3.8.0
+Requires: pkgconfig
 # for /usr/share/aclocal owning
 Requires: automake
 
@@ -39,8 +41,7 @@
 
 %prep
 %setup -q
-%patch0 -p1 -b .nolibdir
-%patch1 -p1 -b .gcc43
+%patch0 -p1 -b .template
 rm -rf netcdf/.svn
 
 %build
@@ -52,6 +53,8 @@
 make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
 rm $RPM_BUILD_ROOT%{_libdir}/*.la
 
+mv  $RPM_BUILD_ROOT%{_bindir}/ncdap-config-pkgconfig $RPM_BUILD_ROOT%{_bindir}/ncdap-config
+
 mv $RPM_BUILD_ROOT%{_bindir}/ncdump $RPM_BUILD_ROOT%{_bindir}/dncdump
 
 %clean
@@ -70,12 +73,16 @@
 %files devel
 %defattr(-,root,root,-)
 %{_libdir}/libnc-dap.so
+%{_libdir}/pkgconfig/libnc-dap.pc
 %{_bindir}/ncdap-config
 %{_includedir}/libnc-dap/
 %{_datadir}/aclocal/*
 
 
 %changelog
+* Tue Sep  9 2008 Patrice Dumas <pertusus at free.fr> 3.7.3-1
+- update to 3.7.3
+
 * Thu Sep  4 2008 Patrice Dumas <pertusus at free.fr> 3.7.0-11
 - gcc 4.3 patch for missing include files
 


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/libnc-dap/devel/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources	1 May 2007 11:36:12 -0000	1.5
+++ sources	10 Sep 2008 16:53:02 -0000	1.6
@@ -1 +1 @@
-cb1c518725e1b2bb6078a691a2377eea  libnc-dap-3.7.0.tar.gz
+b69f3fb1b26b65903e41c2aa832cab34  libnc-dap-3.7.3.tar.gz




More information about the fedora-extras-commits mailing list