Compare commits
34 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
986b16e6ee | ||
|
9002d2d5b9 | ||
|
bc33423cd0 | ||
|
2378143ac9 | ||
|
6a1c7f8e69 | ||
|
277f115877 | ||
|
285b274271 | ||
|
a086e5e7b2 | ||
|
c6b0799102 | ||
|
4a460677ad | ||
|
9abde243ee | ||
|
aa2a12089c | ||
|
a0b1b4222e | ||
|
65f97a669b | ||
|
0c8a1e15e5 | ||
|
b817b9e0c5 | ||
|
3092298b90 | ||
|
292438487e | ||
|
f5111bde08 | ||
|
7d6f5332bc | ||
|
c3595f3ffd | ||
|
aa231a33be | ||
|
cd4e74ca87 | ||
|
02475f35d3 | ||
|
a7454734af | ||
|
486346bf6e | ||
|
31b4a19ff7 | ||
|
8b7d65f555 | ||
|
ab3d8aface | ||
|
d7452732f0 | ||
|
4ef87b9983 | ||
|
cf1c4f5ff4 | ||
|
7121cf8098 | ||
|
9c6cc6a2d1 |
14
.gitignore
vendored
14
.gitignore
vendored
@ -1,11 +1,3 @@
|
||||
/eccodes_test_data.tar.gz
|
||||
/eccodes_test_data_20181010.tar.gz
|
||||
/eccodes-2.12.0-Source.tar.gz
|
||||
/eccodes-2.12.5-Source.tar.gz
|
||||
/eccodes-2.13.0-Source.tar.gz
|
||||
/eccodes-2.14.1-Source.tar.gz
|
||||
/eccodes-2.15.0-Source.tar.gz
|
||||
/eccodes-2.16.0-Source.tar.gz
|
||||
/eccodes-2.17.0-Source.tar.gz
|
||||
/eccodes-2.18.0-Source.tar.gz
|
||||
/eccodes_test_data_20200626.tar.gz
|
||||
/eccodes-2.26.0-Source.tar.gz
|
||||
/eccodes_test_data_20220526.tar.gz
|
||||
/eccodes-2.27.0-Source.tar.gz
|
||||
|
@ -1,32 +0,0 @@
|
||||
--- eccodes-2.18.0-Source.unchanged/src/grib_api_prototypes.h 2020-06-24 11:11:27.000000000 +0200
|
||||
+++ eccodes-2.18.0-Source/src/grib_api_prototypes.h 2020-06-27 09:23:17.543758993 +0200
|
||||
@@ -860,8 +860,8 @@ double grib_ieeefloat_error(double x);
|
||||
double grib_long_to_ieee(unsigned long x);
|
||||
int grib_nearest_smaller_ieee_float(double a, double* x);
|
||||
unsigned long grib_ieee_to_long(double x);
|
||||
-unsigned long grib_ieee64_to_long(double x);
|
||||
-double grib_long_to_ieee64(unsigned long x);
|
||||
+uint64_t grib_ieee64_to_long(double x);
|
||||
+double grib_long_to_ieee64(uint64_t x);
|
||||
int grib_ieee_decode_array(grib_context* c, unsigned char* buf, size_t nvals, int bytes, double* val);
|
||||
int grib_ieee_decode_array(grib_context* c, unsigned char* buf, size_t nvals, int bytes, double* val);
|
||||
int grib_ieee_encode_array(grib_context* c, double* val, size_t nvals, int bytes, unsigned char* buf);
|
||||
--- eccodes-2.18.0-Source.unchanged/src/grib_ieeefloat.c 2020-06-24 11:11:27.000000000 +0200
|
||||
+++ eccodes-2.18.0-Source/src/grib_ieeefloat.c 2020-06-27 09:23:17.545758944 +0200
|
||||
@@ -443,14 +443,14 @@ unsigned long grib_ieee_to_long(double x
|
||||
* grib_encode_unsigned_long.
|
||||
*/
|
||||
|
||||
-unsigned long grib_ieee64_to_long(double x)
|
||||
+uint64_t grib_ieee64_to_long(double x)
|
||||
{
|
||||
unsigned long lval;
|
||||
memcpy(&lval, &x, 8);
|
||||
return lval;
|
||||
}
|
||||
|
||||
-double grib_long_to_ieee64(unsigned long x)
|
||||
+double grib_long_to_ieee64(uint64_t x)
|
||||
{
|
||||
double dval;
|
||||
memcpy(&dval, &x, 8);
|
@ -1,23 +1,23 @@
|
||||
--- eccodes-2.18.0-Source.unchanged/fortran/CMakeLists.txt 2020-06-24 11:11:27.000000000 +0200
|
||||
+++ eccodes-2.18.0-Source/fortran/CMakeLists.txt 2020-06-27 09:23:33.020376062 +0200
|
||||
@@ -45,7 +45,9 @@ if( HAVE_FORTRAN )
|
||||
ecbuild_add_library( TARGET eccodes_f90
|
||||
SOURCES grib_fortran.c grib_f90.f90 eccodes_f90.f90 grib_kinds.h
|
||||
--- eccodes-2.27.0-Source.unchanged/fortran/CMakeLists.txt 2022-08-24 14:01:27.000000000 +0200
|
||||
+++ eccodes-2.27.0-Source/fortran/CMakeLists.txt 2022-08-28 11:34:40.919639227 +0200
|
||||
@@ -49,7 +49,8 @@ if( HAVE_FORTRAN )
|
||||
GENERATED grib_f90.f90 eccodes_f90.f90
|
||||
- LIBS eccodes )
|
||||
+ LIBS eccodes
|
||||
PUBLIC_INCLUDES $<BUILD_INTERFACE:${CMAKE_Fortran_MODULE_DIRECTORY}>
|
||||
$<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}>
|
||||
- PRIVATE_LIBS eccodes ${ECCODES_PTHREADS_LIBRARIES} )
|
||||
+ PRIVATE_LIBS eccodes ${ECCODES_PTHREADS_LIBRARIES}
|
||||
+ SOVERSION ${ECCODES_SOVERSION_F90})
|
||||
+
|
||||
|
||||
if( DEFINED ecbuild_VERSION AND NOT ${ecbuild_VERSION} VERSION_LESS 3.1 )
|
||||
# Installed module directory is not in the PUBLIC INCLUDES!
|
||||
target_include_directories( eccodes_f90 PUBLIC $<INSTALL_INTERFACE:${INSTALL_INCLUDE_DIR}> )
|
||||
--- eccodes-2.18.0-Source.unchanged/src/CMakeLists.txt 2020-06-24 11:11:27.000000000 +0200
|
||||
+++ eccodes-2.18.0-Source/src/CMakeLists.txt 2020-06-27 09:27:13.845630950 +0200
|
||||
@@ -442,6 +442,7 @@ ecbuild_add_library( TARGET eccodes
|
||||
GENERATED grib_api_version.c
|
||||
LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${CMATH_LIBRARIES}
|
||||
TEMPLATES ${grib_api_extra_srcs}
|
||||
--- eccodes-2.27.0-Source.unchanged/src/CMakeLists.txt 2022-08-24 14:01:27.000000000 +0200
|
||||
+++ eccodes-2.27.0-Source/src/CMakeLists.txt 2022-08-28 11:34:40.941638710 +0200
|
||||
@@ -446,6 +446,8 @@ ecbuild_add_library( TARGET eccodes
|
||||
PRIVATE_LIBS ${ECCODES_EXTRA_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${AEC_LIBRARIES} ${PNG_LIBRARIES}
|
||||
PUBLIC_LIBS ${CMATH_LIBRARIES} ${THREADS_LIBRARIES}
|
||||
TEMPLATES ${eccodes_extra_src_files}
|
||||
+ SOVERSION ${ECCODES_SOVERSION}
|
||||
+
|
||||
INSTALL_HEADERS_LIST
|
||||
grib_api.h
|
||||
eccodes.h
|
||||
|
182
eccodes.spec
182
eccodes.spec
@ -1,21 +1,22 @@
|
||||
Name: eccodes
|
||||
Version: 2.18.0
|
||||
Release: 2%{?dist}
|
||||
Version: 2.27.0
|
||||
Release: 1%{?dist}
|
||||
Summary: WMO data format decoding and encoding
|
||||
|
||||
# force the shared libraries to have these so versions
|
||||
%global so_version 0.1
|
||||
%global so_version_f90 0.1
|
||||
%global datapack_date 20200626
|
||||
%global datapack_date 20220526
|
||||
|
||||
# latest fedora-32 grib_api version is 1.27.0-7
|
||||
# latest fedora-38/rawhide grib_api version is 1.27.0-16
|
||||
# but this version number is to be updated as soon as we know
|
||||
# what the final release of grib_api by upstream will be.
|
||||
# latest upstream grib_api release is 1.28.0 (05-Dec-2018)
|
||||
# see https://confluence.ecmwf.int/display/GRIB/Home
|
||||
# as was written on https://confluence.ecmwf.int/display/GRIB/Home
|
||||
# (Note that this page is no longer available, 17-Oct-2020)
|
||||
%global final_grib_api_version 1.28.1-1%{?dist}
|
||||
|
||||
%ifarch i686 ppc64 s390x armv7hl
|
||||
%ifarch i686 ppc64 armv7hl
|
||||
%global obsolete_grib_api 0
|
||||
%else
|
||||
%global obsolete_grib_api 1
|
||||
@ -31,22 +32,23 @@ Summary: WMO data format decoding and encoding
|
||||
|
||||
License: ASL 2.0
|
||||
|
||||
URL: https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home
|
||||
Source0: https://software.ecmwf.int/wiki/download/attachments/45757960/eccodes-%{version}-Source.tar.gz
|
||||
URL: https://confluence.ecmwf.int/display/ECC/ecCodes+Home
|
||||
Source0: https://confluence.ecmwf.int/download/attachments/45757960/eccodes-%{version}-Source.tar.gz
|
||||
|
||||
# note: this data package is unversioned upstream but still it is updated
|
||||
# now and then so rename the datapack using the download date
|
||||
# to make it versioned in fedora
|
||||
Source1: http://download.ecmwf.org/test-data/eccodes/eccodes_test_data.tar.gz#/eccodes_test_data_%{datapack_date}.tar.gz
|
||||
# Support 32-bit
|
||||
# https://software.ecmwf.int/issues/browse/SUP-1813
|
||||
# (unfortunately this issue is not public)
|
||||
Patch1: eccodes-32bit.patch
|
||||
|
||||
# a custom script to create man pages
|
||||
Source2: eccodes_create_man_pages.sh
|
||||
|
||||
# Add soversion to the shared libraries, since upstream refuses to do so
|
||||
# https://software.ecmwf.int/issues/browse/SUP-1809
|
||||
Patch2: eccodes-soversion.patch
|
||||
# https://jira.ecmwf.int/browse/SUP-1809
|
||||
Patch1: eccodes-soversion.patch
|
||||
|
||||
# note that the requests to make the other issues public are filed here:
|
||||
# https://software.ecmwf.int/issues/browse/SUP-2073
|
||||
# https://jira.ecmwf.int/browse/SUP-2073
|
||||
# (and again, unfortunately this issue is not public)
|
||||
|
||||
BuildRequires: cmake3
|
||||
@ -58,12 +60,16 @@ BuildRequires: libjpeg-devel
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: netcdf-devel
|
||||
BuildRequires: openjpeg2-devel
|
||||
BuildRequires: libaec-devel
|
||||
|
||||
# For tests
|
||||
BuildRequires: perl(Getopt::Long)
|
||||
BuildRequires: perl(Test::More)
|
||||
BuildRequires: perl(File::Compare)
|
||||
|
||||
# For creation of man pages
|
||||
BuildRequires: help2man
|
||||
|
||||
# the data is needed by the library and all tools provided in the main package
|
||||
# the other way around, the data package could be installed without
|
||||
# installing the base package. It will probably be pretty useless,
|
||||
@ -94,8 +100,6 @@ Obsoletes: grib_api < %{final_grib_api_version}
|
||||
|
||||
# as explained in bugzilla #1562066
|
||||
ExcludeArch: i686
|
||||
# as explained in bugzilla #1562076
|
||||
ExcludeArch: s390x
|
||||
# as explained in bugzilla #1562084
|
||||
ExcludeArch: armv7hl
|
||||
|
||||
@ -176,20 +180,12 @@ in C, and Fortran 90.
|
||||
%autosetup -n %{name}-%{version}-Source -p1
|
||||
|
||||
# unpack the test data below build
|
||||
mkdir build
|
||||
cd build
|
||||
mkdir -p %{_vpath_builddir}
|
||||
pushd %{_vpath_builddir}
|
||||
tar xf %SOURCE1
|
||||
|
||||
# remove executable permissions from c files
|
||||
cd ..
|
||||
chmod 644 tigge/*.c
|
||||
chmod 644 tools/*.c
|
||||
|
||||
# remove executable permissions from the authors and license file
|
||||
chmod 644 AUTHORS LICENSE
|
||||
popd
|
||||
|
||||
%build
|
||||
cd build
|
||||
|
||||
#-- The following features are disabled by default and not switched on:
|
||||
#
|
||||
@ -225,13 +221,10 @@ cd build
|
||||
# the library so files get installed in /usr/lib in stead
|
||||
# of /usr/lib64 on x86_64.
|
||||
|
||||
# Build with -fallow-argument-mismatch for gcc 10 compatibility
|
||||
# otherwise the fortran interface fails to compile
|
||||
# (thanks for the hint Orion)
|
||||
# Reported upstream at https://jira.ecmwf.int/browse/SUP-3081
|
||||
# note that setting FCFLAGS is not sufficient, i.e. this doesn't work:
|
||||
# export FCFLAGS="%%{build_fflags} -fallow-argument-mismatch"
|
||||
# defining the -DCMAKE_Fortran_FLAGS for camke is required to let it compile.
|
||||
# added -DCMAKE_Fortran_FLAGS="-fPIC"
|
||||
# because the koji build crashes with the error that it needs this setting
|
||||
# when I try to build for armv7hl (other archs do not complain ......)
|
||||
# I have no idea what causes this difference in behaviour.
|
||||
|
||||
%cmake3 -DINSTALL_LIB_DIR=%{_lib} \
|
||||
-DENABLE_ECCODES_OMP_THREADS=ON \
|
||||
@ -243,20 +236,21 @@ cd build
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=TRUE \
|
||||
-DECCODES_SOVERSION=%{so_version} \
|
||||
-DECCODES_SOVERSION_F90=%{so_version_f90} \
|
||||
-DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" \
|
||||
-DENABLE_PYTHON=OFF \
|
||||
..
|
||||
-DCMAKE_Fortran_FLAGS="-fPIC" \
|
||||
-DENABLE_PYTHON2=OFF
|
||||
|
||||
%make_build
|
||||
# note the final '..' is no longer needed to the cmake3 call.
|
||||
# this is now hidden in the %%cmake3 macro
|
||||
|
||||
%cmake_build
|
||||
|
||||
# copy some include files to the build dir
|
||||
# that are otherwise not found when creating the debugsource subpackage
|
||||
cd ..
|
||||
cp fortran/eccodes_constants.h build/fortran/
|
||||
cp fortran/grib_api_constants.h build/fortran/
|
||||
# that are otherwise not found when creating the debugsource sub-package
|
||||
cp fortran/eccodes_constants.h %{_vpath_builddir}/fortran/
|
||||
cp fortran/grib_api_constants.h %{_vpath_builddir}/fortran/
|
||||
|
||||
%install
|
||||
%make_install -C build
|
||||
%cmake_install
|
||||
mkdir -p %{buildroot}%{_fmoddir}
|
||||
mv %{buildroot}%{_includedir}/*.mod %{buildroot}%{_fmoddir}/
|
||||
|
||||
@ -269,8 +263,6 @@ rm %{buildroot}%{_datadir}/%{name}/definitions/installDefinitions.sh
|
||||
# copy the html documentation to the install directory
|
||||
mkdir -p %{buildroot}%{_datadir}/doc/%{name}/
|
||||
cp -r html %{buildroot}%{_datadir}/doc/%{name}/
|
||||
# and remove an unneeded Makefile from the html directory
|
||||
rm %{buildroot}%{_datadir}/doc/%{name}/html/Makefile.am
|
||||
|
||||
# copy the example scripts/programs to the install directory
|
||||
# but dont copy the shell scripts and Makefiles, since these
|
||||
@ -284,6 +276,20 @@ cp examples/C/*.c %{buildroot}%{_datadir}/doc/%{name}/examples/C
|
||||
mkdir -p %{buildroot}%{_datadir}/doc/%{name}/examples/F90
|
||||
cp examples/F90/*.f90 %{buildroot}%{_datadir}/doc/%{name}/examples/F90
|
||||
|
||||
# create man pages for the tools that support the --help option
|
||||
# since upstream does not provide them.
|
||||
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} \
|
||||
%{_sourcedir}/eccodes_create_man_pages.sh \
|
||||
%{_vpath_builddir}/bin \
|
||||
%{_vpath_builddir}/man
|
||||
|
||||
# copy the created man pages to the install directory
|
||||
mkdir -p %{buildroot}%{_datadir}/man/man1
|
||||
cp %{_vpath_builddir}/man/*.1 %{buildroot}%{_datadir}/man/man1
|
||||
|
||||
# Fix permissions
|
||||
chmod 644 AUTHORS
|
||||
|
||||
# also not needed for x86_64
|
||||
# maybe they fixed it for all archs?
|
||||
#%%ifarch i686 armv7hl
|
||||
@ -307,7 +313,7 @@ sed -i 's|^libs=.*$|libs=-L${libdir} -leccodes_f90 -leccodes|g' %{buildroot}/%{_
|
||||
%ldconfig_scriptlets
|
||||
|
||||
%check
|
||||
cd build
|
||||
cd %{_vpath_builddir}
|
||||
|
||||
# notes:
|
||||
# * the LD_LIBRARY_PATH setting is required to let the tests
|
||||
@ -317,6 +323,8 @@ cd build
|
||||
# 'eccodes_t_bufr_dump_(de|en)code_C' tests run.
|
||||
# These tests compile on the fly generated C code, and
|
||||
# without this setting the loader does not find the libraries.
|
||||
# * this is a 'non-standard' use of ctest3 so it does currently not
|
||||
# work with the %%ctest macro.
|
||||
|
||||
LD_LIBRARY_PATH=%{buildroot}/%{_libdir} \
|
||||
LIBRARY_PATH=%{buildroot}/%{_libdir} \
|
||||
@ -327,6 +335,7 @@ ctest3 -V %{?_smp_mflags}
|
||||
%doc README.md ChangeLog AUTHORS NEWS NOTICE
|
||||
%{_bindir}/*
|
||||
%{_libdir}/*.so.*
|
||||
%{_mandir}/man1/*.1*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/*
|
||||
@ -348,6 +357,83 @@ ctest3 -V %{?_smp_mflags}
|
||||
%doc %{_datadir}/doc/%{name}/
|
||||
|
||||
%changelog
|
||||
* Mon Aug 29 2022 Jos de Kloe <josdekloe@gmail.com> - 2.27.0-1
|
||||
- Upgrade to upstream version 2.27.0
|
||||
- Added generation of man pages for tools that support the --help option
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.26.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Thu May 26 2022 Jos de Kloe <josdekloe@gmail.com> - 2.26.0-1
|
||||
- Upgrade to upstream version 2.26.0
|
||||
|
||||
* Fri May 20 2022 Sandro Mani <manisandro@gmail.com> - 2.25.0-2
|
||||
- Rebuild for gdal-3.5.0 and/or openjpeg-2.5.0
|
||||
|
||||
* Sun Mar 06 2022 Jos de Kloe <josdekloe@gmail.com> - 2.25.0-1
|
||||
- Upgrade to upstream version 2.25.0
|
||||
- Add new BR libaec-devel
|
||||
|
||||
* Mon Feb 14 2022 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.24.0-4
|
||||
- jasper3: use wrapper entry point for jpeg2000 decoder
|
||||
|
||||
* Sun Feb 13 2022 Josef Ridky <jridky@redhat.com> - 2.24.0-3
|
||||
- Rebuilt for libjasper.so.6
|
||||
|
||||
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.24.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
||||
|
||||
* Thu Dec 09 2021 Jos de Kloe <josdekloe@gmail.com> - 2.24.0-1
|
||||
- Upgrade to upstream version 2.24.0
|
||||
- Remove no longer needed patch2 (grib_to_netcdf test fix)
|
||||
|
||||
* Wed Dec 1 2021 Mamoru TASAKA <mtasaka@fedoraproject.org> - 2.23.0-2
|
||||
- Patch grib_api_internal.h for big endian test suite issue (upstream bug SUP-2410)
|
||||
|
||||
* Thu Sep 02 2021 Jos de Kloe <josdekloe@gmail.com> - 2.23.0-1
|
||||
- Upgrade to upstream version 2.23.0
|
||||
|
||||
* Wed Aug 11 2021 Orion Poplawski <orion@nwra.com> - 2.22.1-4
|
||||
- Rebuild for netcdf 4.8.0
|
||||
|
||||
* Tue Aug 10 2021 Orion Poplawski <orion@nwra.com> - 2.22.1-3
|
||||
- Rebuild for netcdf 4.8.0
|
||||
|
||||
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.22.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
||||
|
||||
* Sat Jun 19 2021 Jos de Kloe <josdekloe@gmail.com> - 2.22.1-1
|
||||
- Upgrade to upstream version 2.22.1
|
||||
|
||||
* Mon May 24 2021 Jos de Kloe <josdekloe@gmail.com> - 2.22.0-1
|
||||
- Upgrade to upstream version 2.22.0
|
||||
|
||||
* Sun Mar 28 2021 Jos de Kloe <josdekloe@gmail.com> - 2.21.0-1
|
||||
- Upgrade to upstream version 2.21.0
|
||||
|
||||
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
||||
|
||||
* Sat Jan 23 2021 Jos de Kloe <josdekloe@gmail.com> - 2.20.0-1
|
||||
- Upgrade to upstream version 2.20.0
|
||||
|
||||
* Fri Nov 13 2020 Jos de Kloe <josdekloe@gmail.com> - 2.19.1-1
|
||||
- Upgrade to upstream version 2.19.1
|
||||
|
||||
* Sat Oct 17 2020 Jos de Kloe <josdekloe@gmail.com> - 2.19.0-1
|
||||
- Upgrade to upstream version 2.19.0 and remove patch 1
|
||||
- Add -fpic to the fortran flags (needed for compiling on armv7hl)
|
||||
|
||||
* Wed Aug 05 2020 Jos de Kloe <josdekloe@gmail.com> - 2.18.0-5
|
||||
- Adapt the spec file to use the new style cmake macros
|
||||
|
||||
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.0-4
|
||||
- Second attempt - Rebuilt for
|
||||
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.18.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
||||
|
||||
* Sat Jun 27 2020 Jos de Kloe <josdekloe@gmail.com> - 2.18.0-2
|
||||
- Rebuild after fixing mistake in ExcludeArch statements
|
||||
|
||||
@ -439,7 +525,7 @@ ctest3 -V %{?_smp_mflags}
|
||||
- Implement so version because upstream refuses to do so
|
||||
- Add fix for test failure 184 and ldconfig_scriptlets
|
||||
and move unversioned so file to devel package
|
||||
as suggested by Robert-André Mauchin
|
||||
as suggested by Robert-Andre Mauchin
|
||||
- Add a documentation and a data sub-package
|
||||
- Change the license and add a note explaining why this was done
|
||||
|
||||
|
28
eccodes_create_man_pages.sh
Executable file
28
eccodes_create_man_pages.sh
Executable file
@ -0,0 +1,28 @@
|
||||
#!/bin/sh
|
||||
|
||||
# a simple script to create man pages for tools
|
||||
# provided in the bin dir after installation of eccodes.
|
||||
#
|
||||
# Written by: J. de Kloe, 2022.
|
||||
|
||||
BINDIR=$1
|
||||
DESTDIR=$2
|
||||
|
||||
if [ ! -e "$DESTDIR" ] ; then
|
||||
mkdir -p "$DESTDIR"
|
||||
fi
|
||||
|
||||
for TOOL in "$BINDIR"/*
|
||||
do
|
||||
BASENAME=$(basename "$TOOL")
|
||||
help2man --no-info --output="${DESTDIR}/${BASENAME}.1" "${TOOL}"
|
||||
done
|
||||
|
||||
# currently (29-Aug-2022) help2man fails on these 5 tools:
|
||||
# help2man: can't get `--help' info from ../bin/bufr_count
|
||||
# help2man: can't get `--help' info from ../bin/codes_count
|
||||
# help2man: can't get `--help' info from ../bin/grib2ppm
|
||||
# help2man: can't get `--help' info from ../bin/grib_count
|
||||
# help2man: can't get `--help' info from ../bin/gts_count
|
||||
|
||||
echo "done"
|
13
sources
13
sources
@ -1,10 +1,3 @@
|
||||
SHA512 (eccodes_test_data_20181010.tar.gz) = 24c24ec9e01d230cf542abe5c131f05b8e627dd9d170c666628bb5fd8f7b1a6aa11a35456b8d742c59f54c6aabac78658efd68b0c50779d466aba3d35b4a0231
|
||||
SHA512 (eccodes-2.12.0-Source.tar.gz) = 3dc876bde2a6c81a43bcc64ecb12969f28eae3cfbc8fed7da7797fc722dc8b446ac7be5178f55b7d395653e0718437b842296a7d4d11b372b8692404c76aa4ad
|
||||
SHA512 (eccodes-2.12.5-Source.tar.gz) = ab1267dffdb3d0dbcdd65f23db2d77bc7bd8f3241083374c75bc62ebf70b7d29d8af9f657d6da05a47e363151c8d995adfadca7bbf95ebb24a27303d80f081a4
|
||||
SHA512 (eccodes-2.13.0-Source.tar.gz) = bbde1b7092caad20772b21cd06040938f99e763f77a6622820e3cc2fba5c0765178822be4b3c33b41a927757da85f311c0c4f057500ca58d257dde304e7eeca3
|
||||
SHA512 (eccodes-2.14.1-Source.tar.gz) = 864b530642884baa0c3c56eee646a61af7d659e711c7ed4d08a5cc2d68812ecb96b8efabf40c4c9d5dcb3a0edeb1caddffea2ec3438571d3e90dc9cca1dabebe
|
||||
SHA512 (eccodes-2.15.0-Source.tar.gz) = 1d906c5889773b4b6c5e9a967c2e20afb4ecc3ce8f4d496ad7b89417eec8783da9a0c8a9c14796f0c9c24b1f156b9d65408bb9a02a5e0c988a45478350aeae65
|
||||
SHA512 (eccodes-2.16.0-Source.tar.gz) = 6e8768824152d8782c1457cfe79daed32114d1b4694d2843bd02a8aa63c42ccc435b53f7db6942239b3e56999fbaaba4ecef345d39fc5c5f7a5d20ceecf4422a
|
||||
SHA512 (eccodes-2.17.0-Source.tar.gz) = 362c6ae23c23326a3a969c6ba109bdf96ba449cba899030a69efb03e53870f6c90e3f6dbf9d0d2f94febf3a661e607390e8b16d58e64066c4fa941af554ebee7
|
||||
SHA512 (eccodes-2.18.0-Source.tar.gz) = 8daf7f2e1aed055ca6402881f5473e4ae90ba24cc779005f57f99adc7468da459c7539e64f455e2122dd83df29992fd7a6dad2700c8331c4083226e091fbb629
|
||||
SHA512 (eccodes_test_data_20200626.tar.gz) = 553eb69f3664c2f847c5ee7a84066e814ef03b3148ae2c13d845891038336daca815673650f1d06efee4f4a1ddaa4326f2ddfbe81d29382e3f25608b249b8d9e
|
||||
SHA512 (eccodes-2.26.0-Source.tar.gz) = cd4fd2048ad98a4a5c82a0a233b2e64eb67a195d42637607423669351b6cd295b111a382f6d9ecb05ffe25f79599bf3963550ca27d84e7f9ef55e499e183a35f
|
||||
SHA512 (eccodes_test_data_20220526.tar.gz) = 0457878caad6a3395daf60e27cfb72121526065b0cf4da144c7499b8d38bebae0952ddbd20ef0eb53fad77ada60160039340da01001f19fbb7fb1ccbb3d0547a
|
||||
SHA512 (eccodes-2.27.0-Source.tar.gz) = b33d9a4b4abeaa2fae632fe6a4e19071769282c80b7f91f1aaa57f9908386b7c6bd842de69c4bb1b7da2bc3298b5248c808f5c94909033ef5c4a764ae85db5fa
|
||||
|
Loading…
Reference in New Issue
Block a user