-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhdf5.spec
More file actions
1237 lines (982 loc) · 38.1 KB
/
hdf5.spec
File metadata and controls
1237 lines (982 loc) · 38.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
%global with_mpich 1
%if (0%{?rhel} >= 8)
%global with_openmpi 1
%global with_openmpi3 0
%else
%global with_openmpi 0
%global with_openmpi3 1
%endif
%global macrosdir %(d=%{_rpmconfigdir}/macros.d; [ -d $d ] || d=%{_sysconfdir}/rpm; echo $d)
%{!?_fmoddir:%global _fmoddir %{_libdir}/gfortran/modules}
# Patch version?
%global snaprel %{nil}
%global hdf5_major 1
%global hdf5_minor 13
%global hdf5_bugfix 1
#global hdf5_prerelease rc5
%global hdf5_tag %{hdf5_major}_%{hdf5_minor}_%{hdf5_bugfix}%{?hdf5_prerelease:-%{hdf5_prerelease}}
%global hdf5_jar_tag %{hdf5_major}.%{hdf5_minor}.%{hdf5_bugfix}
# NOTE: Try not to release new versions to released versions of Fedora
# You need to recompile all users of HDF5 for each version change
Name: hdf5
Version: %{hdf5_major}.%{hdf5_minor}.%{hdf5_bugfix}%{?hdf5_prerelease:~%{hdf5_prerelease}}
Release: 3%{?commit:.git%{shortcommit}}%{?dist}
Summary: A general purpose library and file format for storing scientific data
License: BSD
URL: https://portal.hdfgroup.org/display/HDF5/HDF5
Source0: https://github.com/HDFGroup/%{name}/archive/%{name}-%{hdf5_tag}.tar.gz
Source1: h5comp
# For man pages
Source2: http://ftp.us.debian.org/debian/pool/main/h/hdf5/hdf5_1.12.2+repack-1~exp1.debian.tar.xz
Patch1: hdf5-LD_LIBRARY_PATH.patch
# Disable tests that don't work with DAOS
Patch11: daos.patch
# Example file move to DESTDIR
Patch12: examples.patch
# Fix a couple of error: format not a string literal and no format arguments [-Werror=format-security]
Patch100: hdf5-Werror=format-security.patch
%if (0%{?suse_version} >= 1500)
BuildRequires: gcc-fortran
%else
BuildRequires: gcc-gfortran
%endif
BuildRequires: java-devel
BuildRequires: javapackages-tools
BuildRequires: hamcrest
BuildRequires: junit
BuildRequires: slf4j
BuildRequires: krb5-devel
BuildRequires: openssl-devel
BuildRequires: time
BuildRequires: zlib-devel
# For patches/rpath
BuildRequires: automake
BuildRequires: libtool
# Needed for mpi tests
%if (0%{?suse_version} >= 1500)
BuildRequires: openssh
BuildRequires: hostname
%else
BuildRequires: openssh-clients
%endif
BuildRequires: libaec-devel
BuildRequires: gcc, gcc-c++
%if (0%{?suse_version} >= 1500)
BuildRequires: ed
BuildRequires: Modules
%else
BuildRequires: environment-modules
%endif
%if 0%{?rhel}
%ifarch ppc64
# No mpich2 on ppc64 in EL
%global with_mpich 0
%endif
%endif
%if 0%{?fedora} < 26
%ifarch s390 s390x
# No openmpi on s390(x)
%global with_openmpi 0
%endif
%endif
%if (0%{?suse_version} >= 1500)
%global module_load() if [ "%{1}" == "openmpi3" ]; then MODULEPATH=/usr/share/modules module load gnu-openmpi; else MODULEPATH=/usr/share/modules module load gnu-%{1}; fi
%else
%global module_load() module load mpi/%{1}-%{_arch}
%endif
%if %{with_mpich}
%global mpi_list mpich
%endif
%if %{with_openmpi}
%global mpi_list %{?mpi_list} openmpi
%endif
%if %{with_openmpi3}
%global mpi_list %{?mpi_list} openmpi3
%endif
%if (0%{?suse_version} >= 1500)
%global mpi_libdir %{_libdir}/mpi/gcc
%global mpi_lib_ext lib64
%global mpi_includedir %{_libdir}/mpi/gcc
%global mpi_include_ext /include
%else
%global mpi_libdir %{_libdir}
%global mpi_lib_ext lib
%global mpi_includedir %{_includedir}
%global mpi_include_ext -%{_arch}
%endif
%description
HDF5 is a general purpose library and file format for storing scientific data.
HDF5 can store two primary objects: datasets and groups. A dataset is
essentially a multidimensional array of data elements, and a group is a
structure for organizing objects in an HDF5 file. Using these two basic
objects, one can create and store almost any kind of scientific data
structure, such as images, arrays of vectors, and structured and unstructured
grids. You can also mix and match them in HDF5 files according to your needs.
%package devel
Summary: HDF5 development files
Requires: %{name}%{?_isa} = %{version}-%{release}
Requires: libaec-devel%{?_isa}
Requires: zlib-devel%{?_isa}
%if (0%{?suse_version} >= 1500)
Requires: gcc-fortran%{?_isa}
%else
Requires: gcc-gfortran%{?_isa}
%endif
%description devel
HDF5 development headers and libraries.
%package -n java-hdf5
Summary: HDF5 java library
Requires: slf4j
Obsoletes: jhdf5 < 3.3.1-2
%description -n java-hdf5
HDF5 java library
%package static
Summary: HDF5 static libraries
Requires: %{name}-devel = %{version}-%{release}
%description static
HDF5 static libraries.
%if %{with_openmpi}
%package openmpi
Summary: HDF5 openmpi libraries
BuildRequires: openmpi-devel
Provides: %{name}-openmpi = %{version}-%{release}
%description openmpi
HDF5 parallel openmpi libraries
%package openmpi-devel
Summary: HDF5 openmpi development files
Requires: %{name}-openmpi%{?_isa} = %{version}-%{release}
Requires: libaec-devel%{?_isa}
Requires: zlib-devel%{?_isa}
Requires: openmpi-devel%{?_isa}
Provides: %{name}-openmpi-devel = %{version}-%{release}
%description openmpi-devel
HDF5 parallel openmpi development files
%package openmpi-static
Summary: HDF5 openmpi static libraries
Requires: %{name}-openmpi-devel%{?_isa} = %{version}-%{release}
Provides: %{name}-openmpi-static = %{version}-%{release}
%description openmpi-static
HDF5 parallel openmpi static libraries
%package openmpi-tests
Summary: HDF5 tests with openmpi
Group: Development/Libraries
Requires: %{name}-openmpi = %{version}-%{release}
%description openmpi-tests
HDF5 tests with openmpi
%endif
%if %{with_openmpi3}
%package openmpi3
Summary: HDF5 openmpi3 libraries
BuildRequires: openmpi3-devel
Provides: %{name}-openmpi3 = %{version}-%{release}
%description openmpi3
HDF5 parallel openmpi3 libraries
%package openmpi3-devel
Summary: HDF5 openmpi3 development files
Requires: %{name}-openmpi3%{?_isa} = %{version}-%{release}
Requires: libaec-devel%{?_isa}
Requires: zlib-devel%{?_isa}
Requires: openmpi3-devel%{?_isa}
Provides: %{name}-openmpi3-devel = %{version}-%{release}
%description openmpi3-devel
HDF5 parallel openmpi3 development files
%package openmpi3-static
Summary: HDF5 openmpi3 static libraries
Requires: %{name}-openmpi3-devel%{?_isa} = %{version}-%{release}
Provides: %{name}-openmpi3-static = %{version}-%{release}
%description openmpi3-static
HDF5 parallel openmpi3 static libraries
%package openmpi3-tests
Summary: HDF5 tests with openmpi3
Group: Development/Libraries
Requires: %{name}-openmpi3 = %{version}-%{release}
%description openmpi3-tests
HDF5 tests with openmpi3
%endif
%if %{with_mpich}
%package mpich
Summary: HDF5 mpich libraries
BuildRequires: mpich-devel
Provides: %{name}-mpich2 = %{version}-%{release}
Obsoletes: %{name}-mpich2 < 1.8.11-4
%description mpich
HDF5 parallel mpich libraries
%package mpich-devel
Summary: HDF5 mpich development files
Requires: %{name}-mpich%{?_isa} = %{version}-%{release}
Requires: libaec-devel%{?_isa}
Requires: zlib-devel%{?_isa}
Requires: mpich-devel%{?_isa}
Provides: %{name}-mpich2-devel = %{version}-%{release}
%description mpich-devel
HDF5 parallel mpich development files
%package mpich-static
Summary: HDF5 mpich static libraries
Requires: %{name}-mpich-devel%{?_isa} = %{version}-%{release}
Provides: %{name}-mpich2-static = %{version}-%{release}
%description mpich-static
HDF5 parallel mpich static libraries
%package mpich-tests
Summary: HDF5 tests with mpich
Group: Development/Libraries
Requires: %{name}-mpich2 = %{version}-%{release}
%description mpich-tests
HDF5 tests with mpich
%endif
%if (0%{?suse_version} > 0)
%global __debug_package 1
%global _debuginfo_subpackages 0
%debug_package
%endif
%prep
%setup -q -a 2 -n %{name}-%{name}-%{hdf5_tag}
%patch -P 1 -p1 -b .LD_LIBRARY_PATH
%patch -P 11 -p1 -b .daos
%patch -P 12 -p1 -b .examples
%patch -P 100 -p1 -b .-Werror=format-security
# Replace jars with system versions
find -name \*.jar -delete
ln -s %{_javadir}/hamcrest/core.jar java/lib/hamcrest-core.jar
ln -s %{_javadir}/junit.jar java/lib/junit.jar
ln -s %{_javadir}/slf4j/api.jar java/lib/slf4j-api-1.7.33.jar
ln -s %{_javadir}/slf4j/nop.jar java/lib/ext/slf4j-nop-1.7.33.jar
ln -s %{_javadir}/slf4j/simple.jar java/lib/ext/slf4j-simple-1.7.33.jar
# Fix test output
%if (0%{?suse_version} >= 1500) || (0%{?rhel} >= 8)
junit_ver_file=junit
%else
junit_ver_file=JPP-junit
%endif
junit_ver=$(sed -n '/<version>/{s/^.*>\([0-9]\.[0-9\.]*\)<.*/\1/;p;q}' /usr/share/maven-poms/$junit_ver_file.pom)
sed -i -e "s/JUnit version .*/JUnit version $junit_ver/" java/test/testfiles/JUnit-*.txt
# Force shared by default for compiler wrappers (bug #1266645)
sed -i -e '/^STATIC_AVAILABLE=/s/=.*/=no/' */*/h5[cf]*.in
# building from git source (essentially)
./autogen.sh
autoreconf -f -i
# Modify low optimization level for gnu compilers
sed -e 's|-O -finline-functions|-O3 -finline-functions|g' -i config/gnu-flags
%build
#Do out of tree builds
%global _configure ../configure
#Common configure options
%global configure_opts \\\
--disable-silent-rules \\\
--enable-fortran \\\
--enable-fortran2003 \\\
--enable-hl \\\
--enable-shared \\\
%{nil}
# --enable-cxx and --enable-parallel flags are incompatible
# --with-mpe=DIR Use MPE instrumentation [default=no]
# --enable-cxx/fortran/parallel and --enable-threadsafe flags are incompatible
#Serial build
export CC=gcc
export CXX=g++
export F9X=gfortran
export LDFLAGS="%{?__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed"
mkdir build
pushd build
ln -s ../configure .
%configure \
%{configure_opts} \
--enable-cxx \
--enable-java
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make LDFLAGS="%{?__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" %{?_smp_mflags}
popd
#MPI builds
export CC=mpicc
export CXX=mpicxx
export F9X=mpif90
export LDFLAGS="%{?__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed"
for mpi in %{?mpi_list}; do
mkdir $mpi
pushd $mpi
%module_load $mpi
ln -s ../configure .
%configure \
%{configure_opts} \
%if (0%{?rhel} >= 7)
FCFLAGS="$FCFLAGS -I$MPI_FORTRAN_MOD_DIR" \
%endif
--enable-parallel \
--enable-map-api \
--exec-prefix=%{mpi_libdir}/$mpi \
--bindir=%{mpi_libdir}/$mpi/bin \
--sbindir=%{mpi_libdir}/$mpi/sbin \
--includedir=%{mpi_includedir}/$mpi%{mpi_include_ext} \
--libdir=%{mpi_libdir}/$mpi/%{mpi_lib_ext} \
--datarootdir=%{mpi_libdir}/$mpi/share \
--mandir=%{mpi_libdir}/$mpi/share/man
sed -i -e 's! -shared ! -Wl,--as-needed\0!g' libtool
make LDFLAGS="%{?__global_ldflags} -fPIC -Wl,-z,now -Wl,--as-needed" %{?_smp_mflags}
module purge
popd
done
%install
%make_install -C build
rm %{buildroot}%{_libdir}/*.la
#Fortran modules
mkdir -p %{buildroot}%{_fmoddir}
mv %{buildroot}%{_includedir}/*.mod %{buildroot}%{_fmoddir}
for mpi in %{?mpi_list}; do
%module_load $mpi
make -C $mpi install DESTDIR=%{buildroot}
rm %{buildroot}/%{mpi_libdir}/$mpi/%{mpi_lib_ext}/*.la
#Fortran modules
%if (0%{?rhel} >= 7)
mkdir -p %{buildroot}${MPI_FORTRAN_MOD_DIR}
mv %{buildroot}%{_includedir}/${mpi}-%{_arch}/*.mod %{buildroot}${MPI_FORTRAN_MOD_DIR}/
%endif
module purge
done
#Fixup headers and scripts for multiarch
%ifarch x86_64 ppc64 ia64 s390x sparc64 alpha
sed -i -e s/H5pubconf.h/H5pubconf-64.h/ %{buildroot}%{_includedir}/H5public.h
mv %{buildroot}%{_includedir}/H5pubconf.h \
%{buildroot}%{_includedir}/H5pubconf-64.h
for x in h5c++ h5cc h5fc; do
mv %{buildroot}%{_bindir}/${x} \
%{buildroot}%{_bindir}/${x}-64
install -m 0755 %SOURCE1 %{buildroot}%{_bindir}/${x}
done
%else
sed -i -e s/H5pubconf.h/H5pubconf-32.h/ %{buildroot}%{_includedir}/H5public.h
mv %{buildroot}%{_includedir}/H5pubconf.h \
%{buildroot}%{_includedir}/H5pubconf-32.h
for x in h5c++ h5cc h5fc; do
mv %{buildroot}%{_bindir}/${x} \
%{buildroot}%{_bindir}/${x}-32
install -m 0755 %SOURCE1 %{buildroot}%{_bindir}/${x}
done
%endif
# rpm macro for version checking
mkdir -p %{buildroot}%{macrosdir}
cat > %{buildroot}%{macrosdir}/macros.hdf5 <<EOF
# HDF5 version is
%%_hdf5_version %{version}
EOF
# Install man pages from debian
mkdir -p %{buildroot}%{_mandir}/man1
cp -p debian/man/*.1 %{buildroot}%{_mandir}/man1/
for mpi in %{?mpi_list}; do
mkdir -p %{buildroot}%{mpi_libdir}/$mpi/share/man/man1
cp -p debian/man/h5p[cf]c.1 %{buildroot}%{mpi_libdir}/$mpi/share/man/man1/
done
rm %{buildroot}%{_mandir}/man1/h5p[cf]c*.1
# Java
mkdir -p %{buildroot}%{_libdir}/%{name}
mkdir -p %{buildroot}%{_jnidir}
mv %{buildroot}%{_libdir}/libhdf5_java.so %{buildroot}%{_libdir}/%{name}/
mv %{buildroot}%{_libdir}/jarhdf5-%{hdf5_jar_tag}.jar %{buildroot}%{_jnidir}/
# Some hackery to install tests
for mpi in %{?mpi_list}; do
mkdir -p ${RPM_BUILD_ROOT}%{_libdir}/{$mpi/hdf5-tests/{,.libs/},hdf5/$mpi}
ln -s ../../$mpi/hdf5-tests ${RPM_BUILD_ROOT}%{_libdir}/hdf5/$mpi/tests
for x in t_cache testphdf5 t_mpi t_pflush1 t_pflush2 t_shapesame
do
install -m 0755 $mpi/testpar/${x} ${RPM_BUILD_ROOT}%{_libdir}/$mpi/hdf5-tests/
install -m 0755 $mpi/testpar/.libs/${x} ${RPM_BUILD_ROOT}%{_libdir}/$mpi/hdf5-tests/.libs/
done
done
%check
exit 0
make -C build check
export HDF5_Make_Ignore=yes
export OMPI_MCA_rmaps_base_oversubscribe=1
# t_cache_image appears to be hanging, others taking very long on s390x
%ifnarch s390x
for mpi in %{?mpi_list}; do
%module_load $mpi
make -C $mpi check
module purge
done
%endif
%ldconfig_scriptlets
%files
%license COPYING
%doc MANIFEST README.md release_docs/RELEASE.txt
%doc release_docs/HISTORY*.txt
%{_bindir}/gif2h5
%{_bindir}/h52gif
%{_bindir}/h5clear
%{_bindir}/h5copy
%{_bindir}/h5debug
%{_bindir}/h5diff
%{_bindir}/h5dump
%{_bindir}/h5format_convert
%{_bindir}/h5import
%{_bindir}/h5jam
%{_bindir}/h5ls
%{_bindir}/h5mkgrp
%{_bindir}/h5perf_serial
%{_bindir}/h5repack
%{_bindir}/h5repart
%{_bindir}/h5stat
%{_bindir}/h5unjam
%{_bindir}/h5watch
%{_bindir}/h5delete
%{_libdir}/libhdf5.so.*
%{_libdir}/libhdf5_cpp.so.*
%{_libdir}/libhdf5_fortran.so.*
%{_libdir}/libhdf5hl_fortran.so.*
%{_libdir}/libhdf5_hl.so.*
%{_libdir}/libhdf5_hl_cpp.so.*
%{_mandir}/man1/gif2h5.1*
%{_mandir}/man1/h52gif.1*
%{_mandir}/man1/h5copy.1*
%{_mandir}/man1/h5diff.1*
%{_mandir}/man1/h5dump.1*
%{_mandir}/man1/h5import.1*
%{_mandir}/man1/h5jam.1*
%{_mandir}/man1/h5ls.1*
%{_mandir}/man1/h5mkgrp.1*
%{_mandir}/man1/h5perf_serial.1*
%{_mandir}/man1/h5repack.1*
%{_mandir}/man1/h5repart.1*
%{_mandir}/man1/h5stat.1*
%{_mandir}/man1/h5unjam.1*
%files devel
%{macrosdir}/macros.hdf5
%{_bindir}/h5c++*
%{_bindir}/h5cc*
%{_bindir}/h5fc*
%{_bindir}/h5redeploy
%{_includedir}/*.h
%{_libdir}/*.so
%{_libdir}/*.settings
%{_fmoddir}/*.mod
%{_datadir}/hdf5_examples/
%{_mandir}/man1/h5c++.1*
%{_mandir}/man1/h5cc.1*
%{_mandir}/man1/h5debug.1*
%{_mandir}/man1/h5fc.1*
%{_mandir}/man1/h5redeploy.1*
%files static
%{_libdir}/*.a
%files -n java-hdf5
%{_jnidir}/jarhdf5-%{hdf5_jar_tag}.jar
%{_libdir}/%{name}/libhdf5_java.so
%if %{with_openmpi}
%files openmpi
%license COPYING
%doc MANIFEST README.md release_docs/RELEASE.txt
%doc release_docs/HISTORY*.txt
%{mpi_libdir}/openmpi/bin/gif2h5
%{mpi_libdir}/openmpi/bin/h52gif
%{mpi_libdir}/openmpi/bin/h5clear
%{mpi_libdir}/openmpi/bin/h5copy
%{mpi_libdir}/openmpi/bin/h5debug
%{mpi_libdir}/openmpi/bin/h5diff
%{mpi_libdir}/openmpi/bin/h5dump
%{mpi_libdir}/openmpi/bin/h5format_convert
%{mpi_libdir}/openmpi/bin/h5import
%{mpi_libdir}/openmpi/bin/h5jam
%{mpi_libdir}/openmpi/bin/h5ls
%{mpi_libdir}/openmpi/bin/h5mkgrp
%{mpi_libdir}/openmpi/bin/perf
%{mpi_libdir}/openmpi/bin/h5perf
%{mpi_libdir}/openmpi/bin/h5perf_serial
%{mpi_libdir}/openmpi/bin/h5redeploy
%{mpi_libdir}/openmpi/bin/h5repack
%{mpi_libdir}/openmpi/bin/h5repart
%{mpi_libdir}/openmpi/bin/h5stat
%{mpi_libdir}/openmpi/bin/h5unjam
%{mpi_libdir}/openmpi/bin/h5watch
%{mpi_libdir}/openmpi/bin/ph5diff
%{mpi_libdir}/openmpi/bin/h5delete
%{mpi_libdir}/openmpi/%{mpi_lib_ext}/*.so.*
%files openmpi-devel
%{mpi_includedir}/openmpi%{mpi_include_ext}
%{mpi_libdir}/openmpi/%{mpi_lib_ext}/lib*.so
%{mpi_libdir}/openmpi/%{mpi_lib_ext}/lib*.settings
%if (0%{?rhel} >= 7)
%{_fmoddir}/openmpi/*.mod
%endif
%{mpi_libdir}/openmpi/bin/h5pcc
%{mpi_libdir}/openmpi/bin/h5pfc
%{mpi_libdir}/openmpi/share/hdf5_examples/
%{mpi_libdir}/openmpi/share/man/man1/h5pcc.1*
%{mpi_libdir}/openmpi/share/man/man1/h5pfc.1*
%files openmpi-static
%{mpi_libdir}/openmpi/%{mpi_lib_ext}/*.a
%files openmpi-tests
%{_libdir}/openmpi/hdf5-tests
%{_libdir}/hdf5/openmpi/tests
%endif
%if %{with_openmpi3}
%files openmpi3
%license COPYING
%doc MANIFEST README.md release_docs/RELEASE.txt
%doc release_docs/HISTORY*.txt
%{mpi_libdir}/openmpi3/bin/gif2h5
%{mpi_libdir}/openmpi3/bin/h52gif
%{mpi_libdir}/openmpi3/bin/h5clear
%{mpi_libdir}/openmpi3/bin/h5copy
%{mpi_libdir}/openmpi3/bin/h5debug
%{mpi_libdir}/openmpi3/bin/h5diff
%{mpi_libdir}/openmpi3/bin/h5dump
%{mpi_libdir}/openmpi3/bin/h5format_convert
%{mpi_libdir}/openmpi3/bin/h5import
%{mpi_libdir}/openmpi3/bin/h5jam
%{mpi_libdir}/openmpi3/bin/h5ls
%{mpi_libdir}/openmpi3/bin/h5mkgrp
%{mpi_libdir}/openmpi3/bin/perf
%{mpi_libdir}/openmpi3/bin/h5perf
%{mpi_libdir}/openmpi3/bin/h5perf_serial
%{mpi_libdir}/openmpi3/bin/h5redeploy
%{mpi_libdir}/openmpi3/bin/h5repack
%{mpi_libdir}/openmpi3/bin/h5repart
%{mpi_libdir}/openmpi3/bin/h5stat
%{mpi_libdir}/openmpi3/bin/h5unjam
%{mpi_libdir}/openmpi3/bin/h5watch
%{mpi_libdir}/openmpi3/bin/ph5diff
%{mpi_libdir}/openmpi3/bin/h5delete
%{mpi_libdir}/openmpi3/%{mpi_lib_ext}/*.so.*
%files openmpi3-devel
%{mpi_includedir}/openmpi3%{mpi_include_ext}
%{mpi_libdir}/openmpi3/%{mpi_lib_ext}/lib*.so
%{mpi_libdir}/openmpi3/%{mpi_lib_ext}/lib*.settings
%if (0%{?rhel} >= 7)
%{_fmoddir}/openmpi3/*.mod
%endif
%{mpi_libdir}/openmpi3/bin/h5pcc
%{mpi_libdir}/openmpi3/bin/h5pfc
%{mpi_libdir}/openmpi3/share/hdf5_examples/
%{mpi_libdir}/openmpi3/share/man/man1/h5pcc.1*
%{mpi_libdir}/openmpi3/share/man/man1/h5pfc.1*
%files openmpi3-static
%{mpi_libdir}/openmpi3/%{mpi_lib_ext}/*.a
%files openmpi3-tests
%{_libdir}/openmpi3/hdf5-tests
%{_libdir}/hdf5/openmpi3/tests
%endif
%if %{with_mpich}
%files mpich
%license COPYING
%doc MANIFEST README.md release_docs/RELEASE.txt
%doc release_docs/HISTORY*.txt
%{mpi_libdir}/mpich/bin/gif2h5
%{mpi_libdir}/mpich/bin/h52gif
%{mpi_libdir}/mpich/bin/h5clear
%{mpi_libdir}/mpich/bin/h5copy
%{mpi_libdir}/mpich/bin/h5debug
%{mpi_libdir}/mpich/bin/h5diff
%{mpi_libdir}/mpich/bin/h5dump
%{mpi_libdir}/mpich/bin/h5format_convert
%{mpi_libdir}/mpich/bin/h5import
%{mpi_libdir}/mpich/bin/h5jam
%{mpi_libdir}/mpich/bin/h5ls
%{mpi_libdir}/mpich/bin/h5mkgrp
%{mpi_libdir}/mpich/bin/h5redeploy
%{mpi_libdir}/mpich/bin/h5repack
%{mpi_libdir}/mpich/bin/perf
%{mpi_libdir}/mpich/bin/h5perf
%{mpi_libdir}/mpich/bin/h5perf_serial
%{mpi_libdir}/mpich/bin/h5repart
%{mpi_libdir}/mpich/bin/h5stat
%{mpi_libdir}/mpich/bin/h5unjam
%{mpi_libdir}/mpich/bin/h5watch
%{mpi_libdir}/mpich/bin/ph5diff
%{mpi_libdir}/mpich/bin/h5delete
%{mpi_libdir}/mpich/%{mpi_lib_ext}/*.so.*
%files mpich-devel
%{mpi_includedir}/mpich%{mpi_include_ext}
%{mpi_libdir}/mpich/%{mpi_lib_ext}/lib*.so
%{mpi_libdir}/mpich/%{mpi_lib_ext}/lib*.settings
%if (0%{?rhel} >= 7)
%{_fmoddir}/mpich/*.mod
%endif
%{mpi_libdir}/mpich/bin/h5pcc
%{mpi_libdir}/mpich/bin/h5pfc
%{mpi_libdir}/mpich/share/hdf5_examples/
%{mpi_libdir}/mpich/share/man/man1/h5pcc.1*
%{mpi_libdir}/mpich/share/man/man1/h5pfc.1*
%files mpich-static
%{mpi_libdir}/mpich/%{mpi_lib_ext}/*.a
%files mpich-tests
%{_libdir}/mpich/hdf5-tests
%{_libdir}/hdf5/mpich/tests
%endif
%changelog
* Wed May 24 2023 Brian J. Murrell <brian.murrell@intel.com> - 1.13.1-3
- update %%patch usage
- fix junit version extraction
* Tue Aug 30 2022 Mohamad Chaarawi <mohamad.chaarawi@intel.com> - 1.13.1-2
- update broken link
* Thu Mar 10 2022 Mohamad Chaarawi <mohamad.chaarawi@intel.com> - 1.13.1-1
- Update to 1.13.1
* Thu Oct 14 2021 Mohamad Chaarawi <mohamad.chaarawi@intel.com> - 1.13.0~rc5-5
- remove libfabric-devel
* Fri Aug 27 2021 Mohamad Chaarawi <mohamad.chaarawi@intel.com> - 1.13.0~rc5-4
- add libfabric-devel
* Mon May 17 2021 Brian J. Murrell <brian.murrell@intel.com> - 1.13.0~rc5-3
- Package for openmpi on EL8
- Move tests under %%_libdir/$mpi to keep the dependency generator happy
- But keep backward compatible paths
* Mon May 10 2021 Brian J. Murrell <brian.murrell@intel.com> - 1.13.0~rc5-2
- Enable debuginfo package building for SUSE
* Mon Jan 25 2021 Maureen Jean <maureen.jean@intel.com> - 1.13.0~rc5-1
- Update to tagged release hdf5-1_13_0~rc5
* Tue Nov 17 2020 Maureen Jean <maureen.jean@intel.com> - 1.12.0-5.gfa40c6c59a
- Update to develop branch fa40c6c59af5d9aabd4b478cd02f8a9f7ebf7922
* Mon Aug 24 2020 Maureen Jean <maureen.jean@intel.com> - 1.12.0-4
- Fix SLES15 mpi include and lib paths
* Fri Aug 14 2020 Maureen Jean <maureen.jean@intel.com> - 1.12.0-3
- Enable build with SLES15.2
* Tue Jul 28 2020 Maureen Jean <maureen.jean@intel.com> - 1.12.0-2
- Add enable-map-api for daos-vol build support
* Tue Jul 28 2020 Maureen Jean <maureen.jean@intel.com> - 1.12.0-1
- Update HDF5 to version 1.12.0
* Mon Jul 27 2020 Brian J. Murrell <brian.murrell@intel.com> - 1.10.5-10.g07066a381e
- Skip nocolcause test
- Add version and release to virtual provides
- Drop cart from virtual provides
* Mon Jul 13 2020 Maureen Jean <maureen.jean@intel.com> - 1.10.5-9.g07066a381e
- Add support for openmpi3
* Fri Jun 19 2020 Phil Henderson <phillip.henderson@intel.com> - 1.10.5-8.g07066a381e
- Fix Leap 15 build of %{name}-devel
* Wed Jan 22 2020 Brian J. Murrell <brian.murrell@intel.com> - 1.10.5-7.g07066a381e
- Port to Leap 15.1
* Sun Dec 29 2019 Brian J. Murrell <brian.murrell@intel.com> - 1.10.5-6.g07066a381e
- Add Provides: %{name}-cart-%{cart_major}-daos-%{daos_major}
* Thu Nov 14 2019 Brian J. Murrell <brian.murrell@intel.com> - 1.10.5-5.g07066a381e
- Add patch to catch up to 11.4-g07066a381e
- Add daos patch
- Don't build openmpi* subpackages
- Add tests subpackage and package mpich tests in them
- tests subpackage Requires mpich2 subpackage
* Mon Nov 11 2019 Orion Poplawski <orion@nwra.com> - 1.10.5-4
- Add upstream patch to fix 32-bit java tests
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.5-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
* Sat Apr 6 2019 Orion Poplawski <orion@nwra.com> - 1.10.5-2
- Enable java
* Sat Mar 16 2019 Orion Poplawski <orion@nwra.com> - 1.10.5-1
- Update to 1.10.5
* Thu Feb 14 2019 Orion Poplawski <orion@nwra.com> - 1.8.20-6
- Rebuild for openmpi 3.1.3
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.20-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.20-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
* Fri Feb 23 2018 Antonio Trande <sagitter@fedoraproject.com> - 1.8.20-3
- Force default ldflags for Fedora (bz#1548533)
- Switch -shared flag to -Wl,--as-needed
- Modify low optimization level for gnu compilers
- New URL
* Tue Feb 20 2018 Antonio Trande <sagitter@fedoraproject.com> - 1.8.20-2
- Devel package with full versioned dependency
- Use %%make_install
* Wed Feb 7 2018 Orion Poplawski <orion@nwra.com> - 1.8.20-1
- Update to 1.8.20
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.18-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Fri Feb 02 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.8.18-13
- Switch to %%ldconfig_scriptlets
* Wed Jan 31 2018 Orion Poplawski <orion@cora.nwra.com> - 1.8.18-12
- Rebuild for gfortran-8
* Fri Sep 08 2017 Dan Horák <dan[at]danny.cz> - 1.8.18-11
- fix the compiler wrapper - s390x is 64-bit (#1489954)
* Wed Aug 16 2017 Orion Poplawski <orion@cora.nwra.com> - 1.8.18-10
- Bump for rebuild
* Wed Aug 16 2017 Orion Poplawski <orion@nwra.com> - 1.8.18-9
- Make hdf5-devel require libaec
* Sun Aug 06 2017 Christoph Junghans <junghans@votca.org> - 1.8.18-8
- enable szip support through libaec
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.18-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.18-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Sun Feb 05 2017 Kalev Lember <klember@redhat.com> - 1.8.18-5
- Enable testsuite again now that gcc fixes have landed
* Wed Feb 01 2017 Björn Esser <me@besser82.io> - 1.8.18-4
- Ignore testsuite on PPC64LE until GCC-7 is fixed
* Sat Jan 28 2017 Björn Esser <besser82@fedoraproject.org> - 1.8.18-4
- Rebuilt for GCC-7
* Fri Dec 30 2016 Orion Poplawski <orion@cora.nwra.com> - 1.8.18-3
- Install MPI Fortran module into proper location (bug #1409229)
- Use %%license
* Thu Dec 8 2016 Dan Horák <dan[at]danny.cz> - 1.8.18-2
- Enable openmpi for s390(x) on F>=26
* Mon Dec 5 2016 Orion Poplawski <orion@cora.nwra.com> - 1.8.18-1
- Update to 1.8.18
- Add patch to fix build with -Werror=implicit-function-declaration
* Fri Oct 21 2016 Orion Poplawski <orion@cora.nwra.com> - 1.8.17-2
- Rebuild for openmpi 2.0
* Wed Jun 29 2016 Orion Poplawski <orion@cora.nwra.com> - 1.8.17-1
- Update to 1.8.17
* Sun Mar 20 2016 Orion Poplawski <orion@cora.nwra.com> - 1.8.16-4
- Add patch to properly call MPI_Finalize() in t_pflush1
* Wed Mar 2 2016 Orion Poplawski <orion@cora.nwra.com> - 1.8.16-3
- Make hdf5-mpich-devel require mpich-devel (bug #1314091)
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.16-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Fri Nov 20 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.16-1
- Update to 1.8.16
* Fri Nov 20 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.15-9.patch1
- Use MPI_FORTRAN_MOD_DIR to locate MPI Fortran module
* Fri Sep 25 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.15-8.patch1
- Force shared by default for compiler wrappers (bug #1266645)
* Tue Sep 15 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.15-7.patch1
- Rebuild for openmpi 1.10.0
* Sat Aug 15 2015 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 1.8.15-6.patch1
- Rebuild for MPI provides
* Sun Jul 26 2015 Sandro Mani <manisandro@gmail.com> - 1.8.15-5.patch1
- Rebuild for RPM MPI Requires Provides Change
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.15-4.patch1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Jun 8 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.15-3.patch1
- Update to 1.8.15-patch1
* Fri Jun 05 2015 Dan Horák <dan[at]danny.cz> - 1.8.15-2
- drop unnecessary patch, issue seems fixed with gcc5
* Sat May 16 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.15-1
- Update to 1.8.15
* Sat May 02 2015 Kalev Lember <kalevlember@gmail.com> - 1.8.14-4
- Rebuilt for GCC 5 C++11 ABI change
* Wed Mar 11 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.14-3
- Rebuild for mpich 3.1.4 soname change
* Mon Feb 16 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.14-2
- Rebuild for gcc 5 fortran module
* Tue Jan 6 2015 Orion Poplawski <orion@cora.nwra.com> - 1.8.14-1
- Update to 1.8.14
* Wed Sep 3 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.13-7
- No longer build with -O0, seems to be working
* Wed Aug 27 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.13-6
- Rebuild for openmpi Fortran ABI change
* Sat Aug 16 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
* Fri Jun 27 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.13-4
- Make build work if not building any mpi pacakges (bug #1113610)
* Fri Jun 27 2014 Marcin Juszkiewicz <mjuszkiewicz@redhat.com> - 1.8.13-3
- Drop gnu-config patches replaced by %%configure macro
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.13-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu May 15 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.13-1
- Update to 1.8.13
* Mon Mar 24 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.12-6
- Add patch to add ppc64le to config.guess (bug #1080122)
* Wed Mar 19 2014 Orion Poplawski <orion@cora.nwra.com> - 1.8.12-5
- Add patch to fix long double conversions on ppc64le (bug #1078173)
- Run autoreconf for patches and to remove rpaths
* Sat Feb 22 2014 Deji Akingunola <dakingun@gmail.com> - 1.8.12-4
- Rebuild for mpich-3.1
* Fri Jan 31 2014 Orion Poplawski <orion@cora.nwra.com> 1.8.12-4
- Fix rpm macros install dir
* Wed Jan 29 2014 Orion Poplawski <orion@cora.nwra.com> 1.8.12-3
- Fix rpm/macros.hdf5 generation (bug #1059161)
* Wed Jan 8 2014 Orion Poplawski <orion@cora.nwra.com> 1.8.12-2
- Update debian source
- Add patch for aarch64 support (bug #925545)
* Fri Dec 27 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.12-1
- Update to 1.8.12
* Fri Aug 30 2013 Dan Horák <dan[at]danny.cz> - 1.8.11-6
- disable parallel tests on s390(x)
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.11-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sat Jul 20 2013 Deji Akingunola <dakingun@gmail.com> - 1.8.11-4
- Rename mpich2 sub-packages to mpich and rebuild for mpich-3.0
* Thu Jul 11 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-3
- Rebuild for openmpi 1.7.2
* Fri Jun 7 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-2
- Add man pages from debian (bug #971551)
* Wed May 15 2013 Orion Poplawski <orion@cora.nwra.com> 1.8.11-1
- Update to 1.8.11
* Mon Mar 11 2013 Ralf Corsépius <corsepiu@fedoraproject.org> - 1.8.10-3
- Remove %%config from %%{_sysconfdir}/rpm/macros.*
(https://fedorahosted.org/fpc/ticket/259).
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.10-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
* Wed Nov 14 2012 Orion Poplawski <orion@cora.nwra.com> 1.8.10-1
- Update to 1.8.10
- Rebase LD_LIBRARY_PATH patch
- Drop ph5diff patch fixed upstream
* Mon Nov 12 2012 Peter Robinson <pbrobinson@fedoraproject.org> 1.8.9-5
- Enable openmpi support on ARM as we now have it
* Mon Nov 5 2012 Orion Poplawski <orion@cora.nwra.com> 1.8.9-4
- Rebuild for fixed openmpi f90 soname
* Thu Nov 1 2012 Orion Poplawski <orion@cora.nwra.com> 1.8.9-3
- Rebuild for openmpi and mpich2 soname bumps
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.8.9-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue May 15 2012 Orion Poplawski <orion@cora.nwra.com> 1.8.9-1
- Update to 1.8.9
* Mon Feb 20 2012 Dan Horák <dan[at]danny.cz> 1.8.8-9
- use %%{mpi_list} also for tests
* Wed Feb 15 2012 Peter Robinson <pbrobinson@fedoraproject.org> - 1.8.8-8
- disable openmpi for ARM as we currently don't have it