From 175601cdf43199dc7dc060b19c3590fc3b81dfa9 Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Mon, 16 Jun 2008 16:03:18 +0000 Subject: [PATCH 1/4] Initialize branch F-9 for w3lib --- branch | 1 + 1 file changed, 1 insertion(+) create mode 100644 branch diff --git a/branch b/branch new file mode 100644 index 0000000..1c26f78 --- /dev/null +++ b/branch @@ -0,0 +1 @@ +F-9 From ab4a810f0fc59dd40156651f7e632540799fbae3 Mon Sep 17 00:00:00 2001 From: pertusus Date: Wed, 18 Jun 2008 09:59:57 +0000 Subject: [PATCH 2/4] initial F-9 branch import --- .cvsignore | 1 + g2clib-msg.txt | 60 ++++++++++++++++++++++++++++++++++ sources | 1 + w3lib.spec | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 150 insertions(+) create mode 100644 g2clib-msg.txt create mode 100644 w3lib.spec diff --git a/.cvsignore b/.cvsignore index e69de29..812a8c9 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +w3lib-1.6.tar diff --git a/g2clib-msg.txt b/g2clib-msg.txt new file mode 100644 index 0000000..e9aa569 --- /dev/null +++ b/g2clib-msg.txt @@ -0,0 +1,60 @@ +Date: Fri, 24 Aug 2007 08:03:05 -0400 +From: "Justin Cooke" +To: pertusus@free.fr +Subject: Re: [pmb.dataflow #1013] grib2 related programs license +Reply-To: ncep.pmb.dataflow@noaa.gov +X-Loop: WREQ 2 +Status: RO +Content-Length: 1358 +Lines: 49 + +Your request #1013 was updated by justin.cooke: + +Hi Pat, + +Yes all code available on the NCEP website, including cnvgrib, is +public domain. + +I will pass along the request to add the public domain message to +the documentation of cnvgrib. + +Justin Cooke +NCEP Central Operations + +>>>>>>>>>>>>>>>>>> Original Message >>>>>>>>>>>>>>>>>> +>From: Patrice Dumas +>Subject: grib2 related programs license +>To: NCEP.List.PMB-PCSP@noaa.gov + +Hello, + +It is possible that I am not adressing this mail to the right people, +but this seems to me to be the simplest way to reach the right people. + +On +http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/ +there are some codes, but the license isn't stated anywhere. It could +mean Public Domain if there was no author mention, but there is some +mention of the authors, like + PRGMMR: Gilbert +(I only checked g2clib and g2lib, I don't know for the other softwares). + +On the disclaimer page: +http://www.weather.gov/disclaimer.php +there is no reference to the programming codes found on the site, only +to data and text. + +My feeling is that these codes are public domain, but I prefer to ask to +be sure. Also if it is true, maybe you could mention it in the README? + +Cordially, + +-- +Pat + + +>>>>>>>>>>>>>>>>>> Action Log >>>>>>>>>>>>>>>>>> +====================== Updated/Mailed by justin.cooke Aug 24 8:3:4 2007 (1187956984) + + + diff --git a/sources b/sources index e69de29..dbb251c 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +4f0f3b5fb8d917fa89bd12d2649475f9 w3lib-1.6.tar diff --git a/w3lib.spec b/w3lib.spec new file mode 100644 index 0000000..f792b86 --- /dev/null +++ b/w3lib.spec @@ -0,0 +1,88 @@ +Name: w3lib +Version: 1.6 +Release: 3%{?dist} +Summary: GRIB1 (GRIdded Binary) encoder/decoder and search/indexing routines + +Group: System Environment/Libraries +License: Public Domain +URL: http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/ +Source0: http://www.nco.ncep.noaa.gov/pmb/codes/GRIB2/w3lib-%{version}.tar +Source1: g2clib-msg.txt +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: gcc-gfortran +#Requires: + +# static libs only so unuseful debuginfo +%define debug_package %{nil} + +%description +This library contains Fortran 90 decoder/encoder routines for +the GRIB (GRIdded Binary) data format edition 1, general date manipulation +routines, and a Fortran 90 interface to "C" language I/O routines. +The user API for the GRIB1 routines is described in file "grib1.doc". + + +%package devel +Summary: GRIB1 (GRIdded Binary) encoder/decoder and search/indexing routines +Group: Development/Libraries +#Requires: %{name} = %{version}-%{release} +Provides: %{name}-static = %{version}-%{release} + +%description devel +This library contains Fortran 90 decoder/encoder routines for +the GRIB (GRIdded Binary) data format edition 1, general date manipulation +routines, and a Fortran 90 interface to "C" language I/O routines. +The user API for the GRIB1 routines is described in file "grib1.doc". + +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q +chmod a-x *.f *.h *.c README CHANGES grib1.doc Makefile +cp -p %{SOURCE1} . + + +%build +export FLAGS="$RPM_OPT_FLAGS -DLINUX" +make %{?_smp_mflags} CFLAGS="$FLAGS" FFLAGS="$FLAGS" \ + CC=%{__cc} F77=gfortran + + +%install +rm -rf $RPM_BUILD_ROOT +mkdir -p $RPM_BUILD_ROOT%{_libdir} $RPM_BUILD_ROOT%{_fmoddir} +install -m0644 libw3.a $RPM_BUILD_ROOT%{_libdir} +install -p -m0644 *.mod $RPM_BUILD_ROOT%{_fmoddir} + + +%clean +rm -rf $RPM_BUILD_ROOT + + +#%post -p /sbin/ldconfig + +#%postun -p /sbin/ldconfig + + +%files devel +%defattr(-,root,root,-) +%doc README CHANGES grib1.doc g2clib-msg.txt +%{_libdir}/libw3.a +%{_fmoddir}/*.mod + + +%changelog +* Wed Jun 4 2008 Patrice Dumas 1.6-3 +- don't generate empty debuginfo package + +* Wed Jun 4 2008 Patrice Dumas 1.6-2 +- add g2clib message covering also w3lib precising the license + +* Sun May 18 2008 Patrice Dumas 1.6-1 +- update to 1.6 + +* Fri Aug 24 2007 Patrice Dumas 1.4-1 +- initial packaging From 00385f8a8c1addceba4ac3e7b09781b54d15ebb0 Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Thu, 26 Nov 2009 01:14:57 +0000 Subject: [PATCH 3/4] Fix typo that causes a failure to update the common directory. (releng #2781) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 555dece..0802ea8 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ NAME := w3lib SPECFILE = $(firstword $(wildcard *.spec)) define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done +for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done endef MAKEFILE_COMMON := $(shell $(find-makefile-common)) From a0cb0e39bad3848eed6fcf26a70cbf5bcdcc766c Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 29 Jul 2010 15:11:07 +0000 Subject: [PATCH 4/4] dist-git conversion --- .cvsignore => .gitignore | 0 Makefile | 21 --------------------- branch | 1 - 3 files changed, 22 deletions(-) rename .cvsignore => .gitignore (100%) delete mode 100644 Makefile delete mode 100644 branch diff --git a/.cvsignore b/.gitignore similarity index 100% rename from .cvsignore rename to .gitignore diff --git a/Makefile b/Makefile deleted file mode 100644 index 0802ea8..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: w3lib -# $Id$ -NAME := w3lib -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$d/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/branch b/branch deleted file mode 100644 index 1c26f78..0000000 --- a/branch +++ /dev/null @@ -1 +0,0 @@ -F-9