Hello community,
here is the log from the commit of package hdf5
checked in at Wed Jul 9 18:33:19 CEST 2008.
--------
--- hdf5/hdf5.changes 2008-05-07 13:17:24.000000000 +0200
+++ hdf5/hdf5.changes 2008-07-09 09:52:21.568671000 +0200
@@ -1,0 +2,21 @@
+Wed Jul 2 10:45:51 CEST 2008 - pgajdos@suse.cz
+
+- updated to 1.8.1 [bnc#401626]
+ * Enhanced group object management
+ * Enhanced attribute management and more efficient meta data handling
+ * Expanded datatype features
+ * Creation order tracking and indexing
+ * Improved meta data caching and cache control
+ * UTF-8 encoding
+ * New I/O filters: n-bit and scale+offset compression
+ * New link (H5L) and object (H5O) interfaces and features
+ * External and user-defined links
+ * New high-level APIs:
+ HDF5 Packet Table (H5PT) and HDF5 Dimension Scale (H5DS)
+ * C++ and Fortran interfaces for older high-level APIs:
+ H5Lite (H5LT), H5Image (H5IM), and H5Table (H5TB)
+ * New and improved tools
+- removed doc package (doc/html no longer provided with package)
+- octave builds againist 1.6 compatibility stuff
+
+-------------------------------------------------------------------
Old:
----
hdf5-1.6.4-destdir.patch
hdf5-1.6.4-norpath.patch
hdf5-1.6.4-ppc.patch
hdf5-1.6.5-sort.patch
hdf5-1.6.5-x86_64.patch
hdf5-1.6.6-gcc4.patch
hdf5-1.6.7_build.patch
hdf5-1.6.7-noreturn.patch
hdf5-1.6.7-s390.patch
hdf5-1.6.7.tar.bz2
New:
----
hdf5-1.8.1-build.patch
hdf5-1.8.1-destdir.patch
hdf5-1.8.1-gcc4.patch
hdf5-1.8.1-lib64.patch
hdf5-1.8.1-noreturn.patch
hdf5-1.8.1-signal.patch
hdf5-1.8.1.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ hdf5.spec ++++++
--- /var/tmp/diff_new_pack.Yf7364/_old 2008-07-09 18:31:56.000000000 +0200
+++ /var/tmp/diff_new_pack.Yf7364/_new 2008-07-09 18:31:56.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package hdf5 (Version 1.6.7)
+# spec file for package hdf5 (Version 1.8.1)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,22 +12,19 @@
Name: hdf5
-Version: 1.6.7
-Release: 8
+Version: 1.8.1
+Release: 1
Summary: Hierarchical Data File Format Version 5
License: Apache-like
Group: Development/Libraries/Parallel
Url: http://www.hdfgroup.org/HDF5/
Source0: %{name}-%{version}.tar.bz2
-Patch0: hdf5-1.6.6-gcc4.patch
-Patch1: hdf5-1.6.4-destdir.patch
-Patch2: hdf5-1.6.4-norpath.patch
-Patch5: hdf5-1.6.4-ppc.patch
-Patch7: hdf5-1.6.5-x86_64.patch
-Patch8: hdf5-1.6.5-sort.patch
-Patch9: %{name}-%{version}_build.patch
-Patch10: %{name}-%{version}-s390.patch
-Patch11: %{name}-%{version}-noreturn.patch
+Patch0: %{name}-%{version}-gcc4.patch
+Patch1: %{name}-%{version}-destdir.patch
+Patch2: %{name}-%{version}-signal.patch
+Patch3: %{name}-%{version}-build.patch
+Patch4: %{name}-%{version}-noreturn.patch
+Patch5: %{name}-%{version}-lib64.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
AutoReqProv: On
BuildRequires: fdupes gcc-c++ gcc-fortran krb5-devel openssl-devel zlib-devel
@@ -101,54 +98,29 @@
University of Illinois, HDF group
helpdesk@hdfgroup.org
-%package doc
-
-Summary: Hierarchical Data File Format Version 5
-Group: Development/Libraries/Parallel
-Requires: libhdf5-0 = %{version} libhdf5_hl0 = %{version}
-
-%description doc
-The HDF project involves the development and support of software and
-file formats for scientific data management. The HDF software includes
-I/O libraries and tools for analyzing, visualizing, and converting
-scientific data.
-
-
-
-Authors:
---------
- University of Illinois, HDF group
- helpdesk@hdfgroup.org
-
%prep
%setup -q
-%patch0 -p0
+%patch0
%patch1 -p1
%patch2 -p1
-%patch5 -p1
-%patch7 -p1 -b .x86_64
-%patch8 -p1 -b .sort
-%patch9
-%patch10 -p1
-%patch11
+%patch3
+%patch4
+%patch5
%build
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
export CPPFLAGS="$RPM_OPT_FLAGS"
-%ifarch ia64 #false f90 and c++ compiler detection on ia64 (why?)
export F9X=gfortran CXX=g++
-%endif
%configure --with-ssl --enable-cxx --enable-fortran \
- --enable-threadsafe --with-pthread
+ --with-pthread DESTDIR=$RPM_BUILD_ROOT exec_prefix=/usr prefix=/usr
%{__make}
-find doc/html -name Dependencies -o -name Makefile\* | xargs rm
-find doc/html -type f -exec chmod -x {} \;
%install
%makeinstall docdir=${RPM_BUILD_ROOT}%{_docdir}
rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.la $RPM_BUILD_ROOT/%{_libdir}/*.settings
-# Don't instal h5perf until h5test.so.0 issues is sorted out
-#rm $RPM_BUILD_ROOT/%{_bindir}/h5perf
+#Fortran modules
+mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/gfortran/modules
+mv ${RPM_BUILD_ROOT}%{_includedir}/*.mod ${RPM_BUILD_ROOT}%{_libdir}/gfortran/modules/
%fdupes -s $RPM_BUILD_ROOT%{_datadir}
%clean
@@ -164,7 +136,7 @@
%files
%defattr(-,root,root,-)
-%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt release_docs/HISTORY.txt
+%doc COPYING MANIFEST README.txt release_docs/RELEASE.txt release_docs/HISTORY-1_0-1_8_0_rc3.txt release_docs/HISTORY-1_8.txt
%{_bindir}/gif2h5
%{_bindir}/h52gif
%{_bindir}/h5debug
@@ -176,12 +148,23 @@
%{_bindir}/h5repack
%{_bindir}/h5repart
%{_bindir}/h5unjam
+%{_bindir}/h5copy
+%{_bindir}/h5mkgrp
+%{_bindir}/h5perf
+%{_bindir}/h5perf_serial
+%{_bindir}/h5stat
%files -n libhdf5-0
-%attr(0755,root,root) %{_libdir}/libhdf5.so.*
+%defattr(0755,root,root)
+%{_libdir}/libhdf5.so.*
+%{_libdir}/libhdf5_cpp.so.*
+%{_libdir}/libhdf5_fortran.so.*
%files -n libhdf5_hl0
-%attr(0755,root,root) %{_libdir}/libhdf5_hl.so.*
+%defattr(0755,root,root)
+%{_libdir}/libhdf5_hl.so.*
+%{_libdir}/libhdf5_hl_cpp.so.*
+%{_libdir}/libhdf5hl_fortran.so.*
%files devel
%defattr(-,root,root,-)
@@ -192,13 +175,29 @@
%{_libdir}/*.a
%{_libdir}/*.so
%{_bindir}/h5fc
-%{_libdir}/*.mod
-
-%files doc
-%defattr(-,root,root,-)
-%doc doc/html
+%dir %{_libdir}/gfortran
+%dir %{_libdir}/gfortran/modules
+%{_libdir}/gfortran/modules/*.mod
%changelog
+* Wed Jul 02 2008 pgajdos@suse.cz
+- updated to 1.8.1 [bnc#401626]
+ * Enhanced group object management
+ * Enhanced attribute management and more efficient meta data handling
+ * Expanded datatype features
+ * Creation order tracking and indexing
+ * Improved meta data caching and cache control
+ * UTF-8 encoding
+ * New I/O filters: n-bit and scale+offset compression
+ * New link (H5L) and object (H5O) interfaces and features
+ * External and user-defined links
+ * New high-level APIs:
+ HDF5 Packet Table (H5PT) and HDF5 Dimension Scale (H5DS)
+ * C++ and Fortran interfaces for older high-level APIs:
+ H5Lite (H5LT), H5Image (H5IM), and H5Table (H5TB)
+ * New and improved tools
+- removed doc package (doc/html no longer provided with package)
+- octave builds againist 1.6 compatibility stuff
* Wed May 07 2008 pgajdos@suse.cz
- repaired no-return-in-nonvoid-function
(noreturn.patch)
++++++ hdf5-1.8.1-build.patch ++++++
--- c++/src/H5PropList.cpp
+++ c++/src/H5PropList.cpp
@@ -20,6 +20,7 @@
#endif
#include <string>
+#include <cstdlib>
#include "H5Include.h"
#include "H5Exception.h"
--- perform/zip_perf.c
+++ perform/zip_perf.c
@@ -545,7 +545,7 @@
unlink(filename);
/* do compressed data write */
- output = open(filename, O_RDWR | O_CREAT);
+ output = open(filename, O_RDWR | O_CREAT, S_IRWXU);
if (output == -1)
error(strerror(errno));
++++++ hdf5-1.6.4-destdir.patch -> hdf5-1.8.1-destdir.patch ++++++
--- hdf5/hdf5-1.6.4-destdir.patch 2008-03-18 15:25:23.000000000 +0100
+++ hdf5/hdf5-1.8.1-destdir.patch 2008-07-01 16:43:37.000000000 +0200
@@ -1,60 +1,61 @@
---- hdf5-1.6.4/config/commence.in.BAD 2005-04-03 13:52:00.000000000 -0500
-+++ hdf5-1.6.4/config/commence.in 2005-04-03 13:52:53.000000000 -0500
-@@ -35,11 +35,11 @@
- TRACE=:
-
- ## Installation points
--prefix=@prefix@
--exec_prefix=@exec_prefix@
--bindir=@bindir@
--libdir=@libdir@
--includedir=@includedir@
--docdir=@exec_prefix@/doc
-+prefix=$(DESTDIR)@prefix@
-+exec_prefix=$(DESTDIR)@exec_prefix@
-+bindir=$(DESTDIR)@bindir@
-+libdir=$(DESTDIR)@libdir@
-+includedir=$(DESTDIR)@includedir@
-+docdir=$(DESTDIR)@exec_prefix@/doc
- PUB_LIB=$(LIB)
-
---- hdf5-1.6.4/fortran/config/commence.in.BAD 2005-04-03 14:08:27.000000000 -0500
-+++ hdf5-1.6.4/fortran/config/commence.in 2005-04-03 14:08:48.000000000 -0500
-@@ -40,11 +40,11 @@
- TRACE=:
-
- ## Installation points
--prefix=@prefix@
--exec_prefix=@exec_prefix@
--bindir=@bindir@
--libdir=@libdir@
--includedir=@includedir@
--docdir=@exec_prefix@/doc
-+prefix=$(DESTDIR)@prefix@
-+exec_prefix=$(DESTDIR)@exec_prefix@
-+bindir=$(DESTDIR)@bindir@
-+libdir=$(DESTDIR)@libdir@
-+includedir=$(DESTDIR)@includedir@
-+docdir=$(DESTDIR)@exec_prefix@/doc
- PUB_LIB=$(LIB)
-
---- hdf5-1.6.4/c++/config/commence.in.BAD 2005-04-03 14:07:10.000000000 -0500
-+++ hdf5-1.6.4/c++/config/commence.in 2005-04-03 14:07:35.000000000 -0500
-@@ -32,11 +32,11 @@
- TRACE=:
-
- ## Installation points
--prefix=@prefix@
--exec_prefix=@exec_prefix@
--bindir=@bindir@
--libdir=@libdir@
--includedir=@includedir@
--docdir=@exec_prefix@/doc
-+prefix=$(DESTDIR)@prefix@
-+exec_prefix=$(DESTDIR)@exec_prefix@
-+bindir=$(DESTDIR)@bindir@
-+libdir=$(DESTDIR)@libdir@
-+includedir=$(DESTDIR)@includedir@
-+docdir=$(DESTDIR)@exec_prefix@/doc
- PUB_LIB=$(LIB)
+--- hdf5-1.8.1/fortran/src/Makefile.in
++++ hdf5-1.8.1/fortran/src/Makefile.in
+@@ -842,20 +842,20 @@
+
+ install-data-local:
+ @if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \
+- $(CP) $(top_builddir)/$(subdir)/*.$(F9XMODEXT) $(includedir)/. ; \
++ $(CP) $(top_builddir)/$(subdir)/*.$(F9XMODEXT) $(DESTDIR)$(includedir)/. ; \
+ fi
+
+ uninstall-local:
+ @if test -n "$(F9XMODEXT)" -a "X$(F9XMODEXT)" != "Xo"; then \
+- if test -f "$(includedir)/hdf5.$(F9XMODEXT)" -o -f "$(includedir)/HDF5.$(F9XMODEXT)"; then \
+- set -x; $(RM) $(includedir)/*.$(F9XMODEXT); \
++ if test -f "$(includedir)/hdf5.$(F9XMODEXT)" -o -f "$(DESTDIR)$(includedir)/HDF5.$(F9XMODEXT)"; then \
++ set -x; $(RM) $(DESTDIR)$(includedir)/*.$(F9XMODEXT); \
+ fi; \
+ fi; \
+- $(RM) $(bindir)/$(H5FC_NAME)
++ $(RM) $(DESTDIR)$(bindir)/$(H5FC_NAME)
+
+ # Also install and uninstall (uninstall-local above) h5fc script
+ install-exec-local:
+- @$(INSTALL) h5fc $(bindir)/$(H5FC_NAME)
++ @$(INSTALL) h5fc $(DESTDIR)$(bindir)/$(H5FC_NAME)
+
+ #Specify what Automake needs to create: first the H5fort_type_defines.h
+ # header, then H5match_types which includes that header, then
+--- hdf5-1.8.1/hl/fortran/src/Makefile.in
++++ hdf5-1.8.1/hl/fortran/src/Makefile.in
+@@ -699,13 +699,13 @@
+
+ install-data-local:
+ @if test -n "$(F9XMODEXT)" && test "X$(F9XMODEXT)" != "Xo"; then \
+- $(CP) $(top_builddir)/$(subdir)/*.$(F9XMODEXT) $(includedir)/. ; \
++ $(CP) $(top_builddir)/$(subdir)/*.$(F9XMODEXT) $(DESTDIR)$(includedir)/. ; \
+ fi
+
+ uninstall-local:
+ @if test -n "$(F9XMODEXT)" -a "X$(F9XMODEXT)" != "Xo"; then \
+- if test -f "$(includedir)/hdf5.$(F9XMODEXT)" -o -f "$(includedir)/HDF5.$(F9XMODEXT)"; then \
+- set -x; $(RM) $(includedir)/*.$(F9XMODEXT); \
++ if test -f "$(DESTDIR)$(includedir)/hdf5.$(F9XMODEXT)" -o -f "$(DESTDIR)$(includedir)/HDF5.$(F9XMODEXT)"; then \
++ set -x; $(RM) $(DESTDIR)$(includedir)/*.$(F9XMODEXT); \
+ fi; \
+ fi
+
+--- hdf5-1.8.1/tools/misc/Makefile.in
++++ hdf5-1.8.1/tools/misc/Makefile.in
+@@ -749,9 +749,9 @@
+ @$(top_srcdir)/bin/makehelp
+
+ install-exec-local:
+- @$(INSTALL) h5cc $(bindir)/$(H5CC_NAME)
++ @$(INSTALL) h5cc $(DESTDIR)$(bindir)/$(H5CC_NAME)
+ uninstall-local:
+- @$(RM) $(bindir)/$(H5CC_NAME)
++ @$(RM) $(DESTDIR)$(bindir)/$(H5CC_NAME)
+ # How to build h5redeploy script
+ h5redeploy: h5redeploy.in
++++++ hdf5-1.6.6-gcc4.patch -> hdf5-1.8.1-gcc4.patch ++++++
--- hdf5/hdf5-1.6.6-gcc4.patch 2008-03-18 15:25:53.000000000 +0100
+++ hdf5/hdf5-1.8.1-gcc4.patch 2008-07-01 16:43:36.000000000 +0200
@@ -1,13 +1,13 @@
---- fortran/config/linux-gnulibc1.BAD 2007-08-31 10:49:55.000000000 +0000
-+++ fortran/config/linux-gnulibc1 2007-08-31 10:50:23.000000000 +0000
+--- config/linux-gnulibc1
++++ config/linux-gnulibc1
@@ -39,8 +39,8 @@
- if test "X-" = "X-$F9X"; then
+ if test "X-" = "X-$FC"; then
case $CC_BASENAME in
gcc*)
-- F9X=g95
-- F9X_BASENAME=g95
-+ F9X=gfortran
-+ F9X_BASENAME=gfortran
+- FC=g95
+- FC_BASENAME=g95
++ FC=gfortran
++ FC_BASENAME=gfortran
;;
- pgcc*)
- F9X=pgf90
+ pgcc*)
+ FC=pgf90
++++++ hdf5-1.8.1-lib64.patch ++++++
--- configure
+++ configure
@@ -13513,7 +13513,7 @@
shlibpath_overrides_runpath=unknown
version_type=none
dynamic_linker="$host_os ld.so"
-sys_lib_dlsearch_path_spec="/lib /usr/lib"
+sys_lib_dlsearch_path_spec="/lib /usr/lib /lib64 /usr/lib64"
need_lib_prefix=unknown
hardcode_into_libs=no
++++++ hdf5-1.6.7-noreturn.patch -> hdf5-1.8.1-noreturn.patch ++++++
--- hdf5/hdf5-1.6.7-noreturn.patch 2008-05-07 12:58:57.000000000 +0200
+++ hdf5/hdf5-1.8.1-noreturn.patch 2008-07-02 15:33:19.000000000 +0200
@@ -1,6 +1,60 @@
+--- c++/src/H5AbstractDs.cpp
++++ c++/src/H5AbstractDs.cpp
+@@ -85,6 +85,8 @@
+ else if (fromClass() == "Attribute")
+ throw DataTypeIException("Attribute::getTypeClass", "H5Tget_class returns H5T_NO_CLASS");
+ }
++
++ return (type_class);
+ }
+
+ //--------------------------------------------------------------------------
+--- hl/src/H5LTanalyze.c
++++ hl/src/H5LTanalyze.c
+@@ -2329,7 +2329,7 @@
+ return ret;
+ }
+
+-int H5LTyyerror(char *msg)
++void H5LTyyerror(char *msg)
+ {
+ printf("ERROR: %s before \"%s\".\n", msg, yytext);
+ }
+--- hl/src/H5LTanalyze.l
++++ hl/src/H5LTanalyze.l
+@@ -181,7 +181,7 @@
+ return ret;
+ }
+
+-int H5LTyyerror(char *msg)
++void H5LTyyerror(char *msg)
+ {
+ printf("ERROR: %s before \"%s\".\n", msg, yytext);
+ }
+--- hl/src/H5LTparse.c
++++ hl/src/H5LTparse.c
+@@ -64,7 +64,7 @@
+ #include
participants (1)
-
root@Hilbert.suse.de