Compare commits

...
Sign in to create a new pull request.

4 commits

Author SHA1 Message Date
Fedora Release Engineering
a0cb0e39ba dist-git conversion 2010-07-29 15:11:07 +00:00
Bill Nottingham
00385f8a8c Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-26 01:14:57 +00:00
pertusus
ab4a810f0f initial F-9 branch import 2008-06-18 09:59:57 +00:00
175601cdf4 Initialize branch F-9 for w3lib 2008-06-16 16:03:18 +00:00
6 changed files with 150 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
w3lib-1.6.tar

View file

@ -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 $$/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)

60
g2clib-msg.txt Normal file
View file

@ -0,0 +1,60 @@
Date: Fri, 24 Aug 2007 08:03:05 -0400
From: "Justin Cooke" <justin.cooke@noaa.gov>
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 <pertusus@free.fr>
>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)

View file

@ -0,0 +1 @@
4f0f3b5fb8d917fa89bd12d2649475f9 w3lib-1.6.tar

88
w3lib.spec Normal file
View file

@ -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 <pertusus@free.fr> 1.6-3
- don't generate empty debuginfo package
* Wed Jun 4 2008 Patrice Dumas <pertusus@free.fr> 1.6-2
- add g2clib message covering also w3lib precising the license
* Sun May 18 2008 Patrice Dumas <pertusus@free.fr> 1.6-1
- update to 1.6
* Fri Aug 24 2007 Patrice Dumas <pertusus@free.fr> 1.4-1
- initial packaging