]>
Commit | Line | Data |
---|---|---|
359e9514 | 1 | # TODO: |
a231b1b3 | 2 | # - finish (optional) MPI support (1.8.14: fails on mpi_file_open check) |
359e9514 | 3 | # - check missing file |
04bf435a JB |
4 | # |
5 | # Conditional build: | |
8cdec0b7 | 6 | %bcond_with hdfs # HDFS driver (requires libhdfs, hdfs.h) |
c7ae2dbd | 7 | %bcond_without java # Java wrappers |
8cdec0b7 | 8 | %bcond_without s3 # R/O S3 driver |
a231b1b3 JB |
9 | %bcond_without szip # SZIP compression support |
10 | %bcond_with mpi # parallel version of library using MPI | |
04bf435a | 11 | # |
e88a844a | 12 | Summary: Hierarchical Data Format 5 library |
7aae9a53 | 13 | Summary(pl.UTF-8): Biblioteka HDF5 (Hierarchical Data Format 5) |
e88a844a | 14 | Name: hdf5 |
0304e885 | 15 | Version: 1.10.9 |
840c1cf3 | 16 | Release: 3 |
e88a844a | 17 | License: Nearly BSD, but changed sources must be marked |
50a8b653 | 18 | Group: Libraries |
0d2cb146 | 19 | Source0: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-1.10/hdf5-%{version}/src/%{name}-%{version}.tar.bz2 |
0304e885 | 20 | # Source0-md5: 8f9eac14d3ee4719c3e4b52863ea42e9 |
0d2cb146 JB |
21 | Patch0: %{name}-sig.patch |
22 | Patch1: %{name}-cmake.patch | |
23 | Patch2: %{name}-sh.patch | |
78d57859 | 24 | URL: https://www.hdfgroup.org/solutions/hdf5/ |
65f2e0bc | 25 | BuildRequires: autoconf >= 2.69 |
8136d99f | 26 | BuildRequires: automake >= 1:1.11 |
8cdec0b7 JB |
27 | %{?with_s3:BuildRequires: curl-devel} |
28 | BuildRequires: gcc-fortran >= 6:4.2 | |
5181f5b2 | 29 | %{?with_java:BuildRequires: jdk} |
51d062bb | 30 | BuildRequires: libjpeg-devel >= 6b |
31 | BuildRequires: libstdc++-devel | |
8136d99f | 32 | BuildRequires: libtool >= 2:2.2 |
a231b1b3 | 33 | %{?with_mpi:BuildRequires: mpi-devel} |
8cdec0b7 | 34 | %{?with_s3:BuildRequires: openssl-devel} |
04bf435a | 35 | %{?with_szip:BuildRequires: szip-devel >= 2.0} |
51d062bb | 36 | BuildRequires: zlib-devel >= 1.1.3 |
0304e885 | 37 | Obsoletes: hdf5_hl < 5180 |
e88a844a JB |
38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
39 | ||
40 | %description | |
41 | HDF5 is a completely new Hierarchical Data Format product consisting | |
42 | of a data format specification and a supporting library | |
43 | implementation. HDF5 is designed to address some of the limitations of | |
44 | the older HDF product and to address current and anticipated | |
45 | requirements of modern systems and applications. | |
46 | ||
3b572e7a JR |
47 | %description -l pl.UTF-8 |
48 | HDF5 jest całkowicie nowym produktem Hierarchiczego Formatu Danych, | |
49 | składającym się ze specyfikacji formatu danych oraz obsługującej go | |
50 | biblioteki. HDF5 został zaprojektowany aby pozbyć się ograniczeń | |
51 | poprzedniego HDF oraz żeby zaspokoić bieżące i przyszłe potrzeby | |
52 | współczesnych systemów i aplikacji. | |
e88a844a JB |
53 | |
54 | %package devel | |
55 | Summary: HDF5 library development package | |
7aae9a53 | 56 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki HDF5 |
e88a844a | 57 | Group: Development/Libraries |
f6784fc9 | 58 | Requires: %{name} = %{version}-%{release} |
8cdec0b7 JB |
59 | %{?with_s3:Requires: curl-devel} |
60 | %{?with_s3:Requires: openssl-devel} | |
04bf435a | 61 | %{?with_szip:Requires: szip-devel >= 2.0} |
98765fbd | 62 | Requires: zlib-devel |
0304e885 JB |
63 | Obsoletes: hdf5_hl-devel < 5180 |
64 | Obsoletes: hdf5_hl-tutor < 5180 | |
e88a844a JB |
65 | |
66 | %description devel | |
47291a99 | 67 | Header files for HDF5 library and HDF5 documentation. |
e88a844a | 68 | |
3b572e7a JR |
69 | %description devel -l pl.UTF-8 |
70 | Pliki nagłówkowe biblioteki HDF5 oraz dokumentacja HDF5. | |
e88a844a JB |
71 | |
72 | %package static | |
73 | Summary: HDF5 static library | |
7aae9a53 | 74 | Summary(pl.UTF-8): Statyczna biblioteka HDF5 |
e88a844a | 75 | Group: Development/Libraries |
f6784fc9 | 76 | Requires: %{name}-devel = %{version}-%{release} |
0304e885 | 77 | Obsoletes: hdf5_hl-static < 5180 |
e88a844a JB |
78 | |
79 | %description static | |
80 | Static version of HDF5 library. | |
81 | ||
3b572e7a | 82 | %description static -l pl.UTF-8 |
e88a844a JB |
83 | Statyczna wersja biblioteki HDF5. |
84 | ||
f489d293 JB |
85 | %package c++ |
86 | Summary: C++ APIs for HDF5 | |
87 | Summary(pl.UTF-8): API C++ bibliotek HDF5 | |
88 | Group: Libraries | |
89 | Requires: %{name} = %{version}-%{release} | |
90 | ||
91 | %description c++ | |
92 | C++ APIs for HDF5 (both base hdf5 and hdf5_hl). | |
93 | ||
94 | %description c++ -l pl.UTF-8 | |
95 | API C++ dla bibliotek HDF5 (zarówno podstawowej hdf5, jak i hdf5_hl). | |
96 | ||
97 | %package c++-devel | |
98 | Summary: Header files for HDF5 C++ APIs | |
99 | Summary(pl.UTF-8): Pliki nagłówkowe API C++ bibliotek HDF5 | |
100 | Group: Development/Libraries | |
101 | Requires: %{name}-c++ = %{version}-%{release} | |
102 | Requires: %{name}-devel = %{version}-%{release} | |
103 | Requires: libstdc++-devel | |
104 | ||
105 | %description c++-devel | |
106 | Header files for HDF5 C++ APIs (both base hdf5 and hdf5_hl). | |
107 | ||
108 | %description c++-devel -l pl.UTF-8 | |
109 | Pliki nagłówkowe API C++ bibliotek HDF5 (zarówno podstawowej hdf5, jak | |
110 | i hdf5_hl). | |
111 | ||
112 | %package c++-static | |
113 | Summary: C++ APIs for HDF5 - static libraries | |
114 | Summary(pl.UTF-8): API C++ bibliotek HDF5 - biblioteki statyczne | |
115 | Group: Development/Libraries | |
116 | Requires: %{name}-c++-devel = %{version}-%{release} | |
117 | ||
118 | %description c++-static | |
119 | C++ APIs for HDF5 (both base hdf5 and hdf5_hl) - static libraries. | |
120 | ||
121 | %description c++-static -l pl.UTF-8 | |
122 | API C++ dla bibliotek HDF5 (zarówno podstawowej hdf5, jak i hdf5_hl) - | |
123 | biblioteki statyczne. | |
124 | ||
53110aaa KK |
125 | %package fortran |
126 | Summary: Fortran APIs for HDF5 | |
127 | Summary(pl.UTF-8): API Fortran bibliotek HDF5 | |
128 | Group: Libraries | |
129 | Requires: %{name} = %{version}-%{release} | |
130 | ||
131 | %description fortran | |
132 | Fortran APIs for HDF5 (both base hdf5 and hdf5_hl). | |
133 | ||
134 | %description fortran -l pl.UTF-8 | |
135 | API Fortran dla bibliotek HDF5 (zarówno podstawowej hdf5, jak i | |
136 | hdf5_hl). | |
137 | ||
138 | %package fortran-devel | |
139 | Summary: Header files for HDF5 Fortran APIs | |
140 | Summary(pl.UTF-8): Pliki nagłówkowe API Fortran bibliotek HDF5 | |
141 | Group: Development/Libraries | |
142 | Requires: %{name}-devel = %{version}-%{release} | |
143 | Requires: %{name}-fortran = %{version}-%{release} | |
8cdec0b7 | 144 | Requires: gcc-fortran >= 6:4.2 |
53110aaa KK |
145 | |
146 | %description fortran-devel | |
147 | Module and header files for HDF5 Fortran APIs (both base hdf5 and | |
148 | hdf5_hl). | |
149 | ||
150 | %description fortran-devel -l pl.UTF-8 | |
151 | Moduły i pliki nagłówkowe API C++ bibliotek HDF5 (zarówno podstawowej | |
152 | hdf5, jak i hdf5_hl). | |
153 | ||
53110aaa KK |
154 | %package fortran-static |
155 | Summary: Fortran APIs for HDF5 - static libraries | |
156 | Summary(pl.UTF-8): API Fortran bibliotek HDF5 - biblioteki statyczne | |
157 | Group: Development/Libraries | |
158 | Requires: %{name}-fortran-devel = %{version}-%{release} | |
159 | ||
160 | %description fortran-static | |
161 | Fortran APIs for HDF5 (both base hdf5 and hdf5_hl) - static libraries. | |
162 | ||
163 | %description fortran-static -l pl.UTF-8 | |
164 | API Fortran dla bibliotek HDF5 (zarówno podstawowej hdf5, jak i | |
165 | hdf5_hl) - biblioteki statyczne. | |
166 | ||
e88a844a JB |
167 | %package progs |
168 | Summary: HDF5 utilities | |
7aae9a53 | 169 | Summary(pl.UTF-8): Narzędzia do plików HDF5 |
e88a844a | 170 | Group: Applications/File |
f6784fc9 | 171 | Requires: %{name} = %{version}-%{release} |
e88a844a JB |
172 | |
173 | %description progs | |
174 | Utilities to convert from/to HDF5 format. | |
175 | ||
3b572e7a JR |
176 | %description progs -l pl.UTF-8 |
177 | Narzędzia do konwersji z i to formatu HDF5. | |
e88a844a | 178 | |
c7ae2dbd JB |
179 | %package -n java-hdf5 |
180 | Summary: Java HDF5 Interface (JHI5) | |
181 | Summary(pl.UTF-8): Interfejs HDF5 do Javy (JHI5) | |
182 | # to replace java-hdf5 [0:]2.11/3.3.1 from hdf-java.spec | |
183 | Epoch: 1 | |
184 | Group: Libraries/Java | |
185 | URL: http://portal.hdfgroup.org/display/HDFVIEW/JHI5+Design+Notes | |
e6465c7a | 186 | Requires: %{name} = %{version}-%{release} |
c7ae2dbd JB |
187 | Requires: java-slf4j >= 1.7.25 |
188 | ||
189 | %description -n java-hdf5 | |
190 | The Java Native Interface to the standard HDF5 library. | |
191 | ||
192 | %description -n java-hdf5 -l pl.UTF-8 | |
193 | Natywny interfejs Javy (JNI) do biblioteki standardowej HDF5. | |
194 | ||
195 | %package -n java-hdf5-javadoc | |
196 | Summary: Javadoc documentation for Java HDF5 Interface (JHI5) | |
197 | Summary(pl.UTF-8): Dokumentacja javadoc do interfejsu HDF5 do Javy (JHI5) | |
198 | Epoch: 1 | |
199 | Group: Documentation | |
200 | URL: http://portal.hdfgroup.org/display/HDFVIEW/JHI5+Design+Notes | |
201 | ||
202 | %description -n java-hdf5-javadoc | |
203 | Javadoc documentation for Java HDF5 Interface (JHI5). | |
204 | ||
205 | %description -n java-hdf5-javadoc -l pl.UTF-8 | |
206 | Dokumentacja javadoc do interfejsu HDF5 do Javy (JHI5). | |
207 | ||
e88a844a | 208 | %prep |
51ee2442 | 209 | %setup -q |
47291a99 | 210 | %patch0 -p1 |
e481fc02 | 211 | %patch1 -p1 |
6cbfde32 | 212 | %patch2 -p1 |
e88a844a JB |
213 | |
214 | %build | |
cad84331 | 215 | %{__libtoolize} |
51d062bb | 216 | %{__aclocal} |
9e16a4d5 | 217 | %{__autoconf} |
6cbfde32 JB |
218 | %{__autoheader} |
219 | %{__automake} | |
47291a99 | 220 | %configure \ |
6cbfde32 | 221 | --docdir=%{_docdir} \ |
8136d99f | 222 | --disable-silent-rules \ |
359e9514 | 223 | --enable-cxx \ |
8cdec0b7 | 224 | --enable-direct-vfd \ |
53110aaa | 225 | --enable-fortran \ |
c7ae2dbd | 226 | %{?with_java:--enable-java} \ |
a231b1b3 | 227 | %{?with_mpi:--enable-parallel --enable-unsupported} \ |
8cdec0b7 | 228 | %{?with_s3:--enable-ros3-vfd} \ |
a231b1b3 | 229 | --enable-shared \ |
8cdec0b7 | 230 | %{?with_hdfs:--with-libhdfs=%{_includedir},%{_libdir}} \ |
359e9514 | 231 | --with-pthread \ |
04bf435a | 232 | %{?with_szip:--with-szlib} |
e88a844a | 233 | |
0d2cb146 | 234 | # --enable-threadsafe is unspported with cxx/fortran/java/hl |
e88a844a JB |
235 | |
236 | %{__make} | |
237 | ||
238 | %install | |
239 | rm -rf $RPM_BUILD_ROOT | |
240 | install -d $RPM_BUILD_ROOT%{_includedir} | |
241 | ||
f489d293 | 242 | %{__make} install-recursive \ |
c7ae2dbd JB |
243 | DESTDIR=$RPM_BUILD_ROOT \ |
244 | hdf5_javadir=%{_javadir} | |
245 | ||
246 | %if %{with java} | |
247 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libhdf5_java.la | |
248 | ln -sf jarhdf5-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/jarhdf5.jar | |
249 | install -d $RPM_BUILD_ROOT%{_javadocdir} | |
250 | cp -pr java/src/javadoc $RPM_BUILD_ROOT%{_javadocdir}/hdf5lib | |
251 | %endif | |
e88a844a | 252 | |
f489d293 | 253 | install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/hl |
6cbfde32 | 254 | %{__make} -C examples install-examples \ |
f489d293 JB |
255 | EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/c \ |
256 | EXAMPLETOPDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version} | |
6cbfde32 JB |
257 | %{__make} -C c++/examples install-examples \ |
258 | EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/c++ | |
f489d293 JB |
259 | %{__make} -C hl/examples install-examples \ |
260 | EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/hl/c \ | |
261 | EXAMPLETOPDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/hl | |
262 | %{__make} -C hl/c++/examples install-examples \ | |
263 | EXAMPLEDIR=$RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/hl/c++ | |
98765fbd | 264 | |
044dbc5f | 265 | install -d $RPM_BUILD_ROOT%{_libdir}/cmake/hdf5 |
5aceb0f0 JR |
266 | vmajor=$(sed -ne 's/^#define H5_VERS_MAJOR\s*\([0-9]\+\).*/\1/p' src/H5public.h) |
267 | vminor=$(sed -ne 's/^#define H5_VERS_MINOR\s*\([0-9]\+\).*/\1/p' src/H5public.h) | |
268 | vrel=$(sed -ne 's/^#define H5_VERS_RELEASE\s*\([0-9]\+\).*/\1/p' src/H5public.h) | |
9e421fac | 269 | vsubr=$(sed -ne 's/^#define H5_VERS_SUBRELEASE\s*"\?\([^" \t]\+\)"\?.*/\1/p' src/H5public.h) |
07607a68 JB |
270 | for f in hdf5-config-version.cmake hdf5-config.cmake hdf5-targets.cmake hdf5-targets-noconfig.cmake ; do |
271 | sed -e 's,@HDF5_PACKAGE@,hdf5,g' \ | |
30149e0c JB |
272 | -e 's,@HDF_PACKAGE_EXT@,,' \ |
273 | -e "s,@HDF5_VERSION_STRING@,%{version}," \ | |
78d57859 | 274 | -e "s,@HDF5_VERSION_MAJOR@,1.10," \ |
30149e0c JB |
275 | -e "s,@HDF5_VERSION_MINOR@,$vrel," \ |
276 | -e "s,@H5_VERS_MAJOR@,$vmajor," \ | |
277 | -e "s,@H5_VERS_MINOR@,$vminor," \ | |
278 | -e "s,@H5_VERS_RELEASE@,$vrel," \ | |
279 | -e "s,@H5_VERS_SUBRELEASE@,$vsubr," \ | |
280 | -e 's,@HDF5_ENABLE_PARALLEL@,OFF,' \ | |
281 | -e 's,@HDF5_BUILD_FORTRAN@,ON,' \ | |
30149e0c JB |
282 | -e 's,@HDF5_BUILD_CPP_LIB@,ON,' \ |
283 | -e 's,@HDF5_BUILD_TOOLS@,ON,' \ | |
284 | -e 's,@HDF5_BUILD_HL_LIB@,ON,' \ | |
285 | -e 's,@HDF5_ENABLE_Z_LIB_SUPPORT@,ON,' \ | |
286 | -e 's,@HDF5_ENABLE_SZIP_SUPPORT@,%{?with_szip:ON}%{!?with_szip:OFF},' \ | |
287 | -e 's,@HDF5_ENABLE_SZIP_ENCODING@,%{?with_szip:ON}%{!?with_szip:OFF},' \ | |
a5124135 JR |
288 | %ifarch %{ix86} x32 |
289 | -e 's,@CMAKE_SIZEOF_VOID_P@,4,' \ | |
290 | %else | |
291 | %ifarch %{x8664} | |
292 | -e 's,@CMAKE_SIZEOF_VOID_P@,8,' \ | |
293 | %endif | |
294 | %endif | |
30149e0c JB |
295 | -e 's,@BUILD_SHARED_LIBS@,ON,' \ |
296 | -e 's,@HDF5_PACKAGE_EXTLIBS@,OFF,' \ | |
297 | -e 's,@ZLIB_PACKAGE_NAME@,zlib,' \ | |
298 | -e 's,@SZIP_PACKAGE_NAME@,szip,' \ | |
299 | -e 's,@HDF5_LIBRARIES_TO_EXPORT@,hdf5,' \ | |
07607a68 | 300 | -e 's,@CMAKE_GENERATOR_TOOLSET@,,' \ |
73e27db0 JR |
301 | -e 's,@lib@,%{_lib},' \ |
302 | %{?with_mpi:-e 's,@MPI_C_INCLUDE_PATH@,%{_includedir},'} \ | |
303 | %{?with_mpi:-e 's,@MPI_C_LIBRARIES@,%{_libdir},'} \ | |
304 | -e 's,@PACKAGE_INCLUDE_INSTALL_DIR@,%{_includedir},' \ | |
78d57859 | 305 | -e 's,@PACKAGE_SHARE_INSTALL_DIR@,%{_libdir}/cmake/hdf5,' \ |
73e27db0 | 306 | -e 's,@PACKAGE_CURRENT_BUILD_DIR@,%{_prefix},' \ |
044dbc5f | 307 | config/cmake/${f}.in > $RPM_BUILD_ROOT%{_libdir}/cmake/hdf5/$f |
30149e0c | 308 | done |
30149e0c | 309 | |
e88a844a JB |
310 | %clean |
311 | rm -rf $RPM_BUILD_ROOT | |
312 | ||
313 | %post -p /sbin/ldconfig | |
314 | %postun -p /sbin/ldconfig | |
315 | ||
f489d293 JB |
316 | %post c++ -p /sbin/ldconfig |
317 | %postun c++ -p /sbin/ldconfig | |
318 | ||
69b25e9d JB |
319 | %post fortran -p /sbin/ldconfig |
320 | %postun fortran -p /sbin/ldconfig | |
321 | ||
0304e885 JB |
322 | %post -n java-hdf5 -p /sbin/ldconfig |
323 | %postun -n java-hdf5 -p /sbin/ldconfig | |
324 | ||
e88a844a JB |
325 | %files |
326 | %defattr(644,root,root,755) | |
0304e885 | 327 | %doc COPYING README.md release_docs/{HISTORY*.txt,RELEASE.txt} |
04bf435a | 328 | %attr(755,root,root) %{_libdir}/libhdf5.so.*.*.* |
0d2cb146 | 329 | %attr(755,root,root) %ghost %{_libdir}/libhdf5.so.103 |
04bf435a | 330 | %attr(755,root,root) %{_libdir}/libhdf5_hl.so.*.*.* |
0d2cb146 | 331 | %attr(755,root,root) %ghost %{_libdir}/libhdf5_hl.so.100 |
04bf435a JB |
332 | # used to show configuration at runtime |
333 | %{_libdir}/libhdf5.settings | |
e88a844a JB |
334 | |
335 | %files devel | |
336 | %defattr(644,root,root,755) | |
f489d293 | 337 | %attr(755,root,root) %{_bindir}/h5cc |
04bf435a | 338 | %attr(755,root,root) %{_libdir}/libhdf5.so |
04bf435a JB |
339 | %attr(755,root,root) %{_libdir}/libhdf5_hl.so |
340 | %{_libdir}/libhdf5.la | |
04bf435a | 341 | %{_libdir}/libhdf5_hl.la |
f489d293 JB |
342 | %{_includedir}/H5ACpublic.h |
343 | %{_includedir}/H5Apublic.h | |
344 | %{_includedir}/H5Cpublic.h | |
51ee2442 | 345 | %{_includedir}/H5DOpublic.h |
f489d293 JB |
346 | %{_includedir}/H5DSpublic.h |
347 | %{_includedir}/H5Dpublic.h | |
348 | %{_includedir}/H5Epubgen.h | |
349 | %{_includedir}/H5Epublic.h | |
350 | %{_includedir}/H5FDcore.h | |
351 | %{_includedir}/H5FDdirect.h | |
352 | %{_includedir}/H5FDfamily.h | |
8cdec0b7 | 353 | %{_includedir}/H5FDhdfs.h |
f489d293 | 354 | %{_includedir}/H5FDlog.h |
66f4ea15 | 355 | %{_includedir}/H5FDmirror.h |
f489d293 JB |
356 | %{_includedir}/H5FDmpi.h |
357 | %{_includedir}/H5FDmpio.h | |
f489d293 JB |
358 | %{_includedir}/H5FDmulti.h |
359 | %{_includedir}/H5FDpublic.h | |
8cdec0b7 | 360 | %{_includedir}/H5FDros3.h |
f489d293 | 361 | %{_includedir}/H5FDsec2.h |
66f4ea15 | 362 | %{_includedir}/H5FDsplitter.h |
f489d293 | 363 | %{_includedir}/H5FDstdio.h |
0d2cb146 | 364 | %{_includedir}/H5FDwindows.h |
f489d293 JB |
365 | %{_includedir}/H5Fpublic.h |
366 | %{_includedir}/H5Gpublic.h | |
367 | %{_includedir}/H5IMpublic.h | |
368 | %{_includedir}/H5Include.h | |
369 | %{_includedir}/H5Ipublic.h | |
0d2cb146 | 370 | %{_includedir}/H5LDpublic.h |
f489d293 JB |
371 | %{_includedir}/H5LTpublic.h |
372 | %{_includedir}/H5Lpublic.h | |
373 | %{_includedir}/H5MMpublic.h | |
374 | %{_includedir}/H5Opublic.h | |
375 | %{_includedir}/H5PTpublic.h | |
376 | %{_includedir}/H5Ppublic.h | |
51ee2442 | 377 | %{_includedir}/H5PLextern.h |
bd49f196 | 378 | %{_includedir}/H5PLpublic.h |
f489d293 JB |
379 | %{_includedir}/H5Rpublic.h |
380 | %{_includedir}/H5Spublic.h | |
381 | %{_includedir}/H5TBpublic.h | |
382 | %{_includedir}/H5Tpublic.h | |
383 | %{_includedir}/H5Zpublic.h | |
384 | %{_includedir}/H5api_adpt.h | |
385 | %{_includedir}/H5overflow.h | |
386 | %{_includedir}/H5pubconf.h | |
387 | %{_includedir}/H5public.h | |
388 | %{_includedir}/H5version.h | |
6cbfde32 JB |
389 | %{_includedir}/hdf5.h |
390 | %{_includedir}/hdf5_hl.h | |
51ee2442 | 391 | |
044dbc5f | 392 | %{_libdir}/cmake/hdf5 |
f489d293 | 393 | %dir %{_examplesdir}/%{name}-%{version} |
51ee2442 | 394 | %{_examplesdir}/%{name}-%{version}/README |
f489d293 JB |
395 | %{_examplesdir}/%{name}-%{version}/run-all-ex.sh |
396 | %{_examplesdir}/%{name}-%{version}/c | |
397 | %dir %{_examplesdir}/%{name}-%{version}/hl | |
398 | %{_examplesdir}/%{name}-%{version}/hl/run-hl-ex.sh | |
399 | %{_examplesdir}/%{name}-%{version}/hl/c | |
e88a844a JB |
400 | |
401 | %files static | |
402 | %defattr(644,root,root,755) | |
04bf435a | 403 | %{_libdir}/libhdf5.a |
04bf435a | 404 | %{_libdir}/libhdf5_hl.a |
e88a844a | 405 | |
f489d293 JB |
406 | %files c++ |
407 | %defattr(644,root,root,755) | |
408 | %attr(755,root,root) %{_libdir}/libhdf5_cpp.so.*.*.* | |
0d2cb146 | 409 | %attr(755,root,root) %ghost %{_libdir}/libhdf5_cpp.so.103 |
f489d293 | 410 | %attr(755,root,root) %{_libdir}/libhdf5_hl_cpp.so.*.*.* |
0d2cb146 | 411 | %attr(755,root,root) %ghost %{_libdir}/libhdf5_hl_cpp.so.100 |
f489d293 JB |
412 | |
413 | %files c++-devel | |
414 | %defattr(644,root,root,755) | |
415 | %attr(755,root,root) %{_bindir}/h5c++ | |
416 | %attr(755,root,root) %{_libdir}/libhdf5_cpp.so | |
417 | %attr(755,root,root) %{_libdir}/libhdf5_hl_cpp.so | |
418 | %{_libdir}/libhdf5_cpp.la | |
419 | %{_libdir}/libhdf5_hl_cpp.la | |
420 | %{_includedir}/H5AbstractDs.h | |
421 | %{_includedir}/H5ArrayType.h | |
422 | %{_includedir}/H5AtomType.h | |
423 | %{_includedir}/H5Attribute.h | |
424 | %{_includedir}/H5Classes.h | |
425 | %{_includedir}/H5CommonFG.h | |
426 | %{_includedir}/H5CompType.h | |
427 | %{_includedir}/H5Cpp.h | |
428 | %{_includedir}/H5CppDoc.h | |
0d2cb146 | 429 | %{_includedir}/H5DaccProp.h |
f489d293 JB |
430 | %{_includedir}/H5DataSet.h |
431 | %{_includedir}/H5DataSpace.h | |
432 | %{_includedir}/H5DataType.h | |
433 | %{_includedir}/H5DcreatProp.h | |
434 | %{_includedir}/H5DxferProp.h | |
435 | %{_includedir}/H5EnumType.h | |
436 | %{_includedir}/H5Exception.h | |
437 | %{_includedir}/H5FaccProp.h | |
438 | %{_includedir}/H5FcreatProp.h | |
439 | %{_includedir}/H5File.h | |
440 | %{_includedir}/H5FloatType.h | |
441 | %{_includedir}/H5Group.h | |
442 | %{_includedir}/H5IdComponent.h | |
443 | %{_includedir}/H5IntType.h | |
07607a68 | 444 | %{_includedir}/H5LaccProp.h |
9dff225c | 445 | %{_includedir}/H5LcreatProp.h |
f489d293 | 446 | %{_includedir}/H5Library.h |
65086303 | 447 | %{_includedir}/H5Location.h |
f489d293 | 448 | %{_includedir}/H5Object.h |
4b676458 | 449 | %{_includedir}/H5OcreatProp.h |
f489d293 JB |
450 | %{_includedir}/H5PacketTable.h |
451 | %{_includedir}/H5PredType.h | |
452 | %{_includedir}/H5PropList.h | |
453 | %{_includedir}/H5StrType.h | |
454 | %{_includedir}/H5VarLenType.h | |
455 | %{_examplesdir}/%{name}-%{version}/c++ | |
456 | %{_examplesdir}/%{name}-%{version}/hl/c++ | |
457 | ||
69b25e9d JB |
458 | %files c++-static |
459 | %defattr(644,root,root,755) | |
460 | %{_libdir}/libhdf5_cpp.a | |
461 | %{_libdir}/libhdf5_hl_cpp.a | |
462 | ||
53110aaa KK |
463 | %files fortran |
464 | %defattr(644,root,root,755) | |
465 | %attr(755,root,root) %{_libdir}/libhdf5_fortran.so.*.*.* | |
0d2cb146 | 466 | %attr(755,root,root) %ghost %{_libdir}/libhdf5_fortran.so.102 |
53110aaa | 467 | %attr(755,root,root) %{_libdir}/libhdf5hl_fortran.so.*.*.* |
0d2cb146 | 468 | %attr(755,root,root) %ghost %{_libdir}/libhdf5hl_fortran.so.100 |
53110aaa KK |
469 | |
470 | %files fortran-devel | |
471 | %defattr(644,root,root,755) | |
472 | %attr(755,root,root) %{_bindir}/h5fc | |
69b25e9d | 473 | %attr(755,root,root) %{_libdir}/libhdf5_fortran.so |
0d2cb146 | 474 | %attr(755,root,root) %{_libdir}/libhdf5_hl_fortran.so |
69b25e9d | 475 | %attr(755,root,root) %{_libdir}/libhdf5hl_fortran.so |
53110aaa KK |
476 | %{_libdir}/libhdf5_fortran.la |
477 | %{_libdir}/libhdf5hl_fortran.la | |
478 | %{_includedir}/H5f90i.h | |
479 | %{_includedir}/H5f90i_gen.h | |
0d2cb146 | 480 | %{_includedir}/h5_gen.mod |
53110aaa KK |
481 | %{_includedir}/h5a.mod |
482 | %{_includedir}/h5d.mod | |
97807085 | 483 | %{_includedir}/h5ds.mod |
53110aaa KK |
484 | %{_includedir}/h5e.mod |
485 | %{_includedir}/h5f.mod | |
0d2cb146 | 486 | %{_includedir}/h5fortkit.mod |
53110aaa KK |
487 | %{_includedir}/h5fortran_types.mod |
488 | %{_includedir}/h5g.mod | |
489 | %{_includedir}/h5global.mod | |
490 | %{_includedir}/h5i.mod | |
491 | %{_includedir}/h5im.mod | |
492 | %{_includedir}/h5l.mod | |
493 | %{_includedir}/h5lib.mod | |
494 | %{_includedir}/h5lt.mod | |
0d2cb146 | 495 | %{_includedir}/h5lt_const.mod |
53110aaa KK |
496 | %{_includedir}/h5o.mod |
497 | %{_includedir}/h5p.mod | |
498 | %{_includedir}/h5r.mod | |
499 | %{_includedir}/h5s.mod | |
500 | %{_includedir}/h5t.mod | |
501 | %{_includedir}/h5tb.mod | |
0d2cb146 | 502 | %{_includedir}/h5tb_const.mod |
53110aaa KK |
503 | %{_includedir}/h5z.mod |
504 | %{_includedir}/hdf5.mod | |
505 | ||
69b25e9d JB |
506 | %files fortran-static |
507 | %defattr(644,root,root,755) | |
508 | %{_libdir}/libhdf5_fortran.a | |
0d2cb146 | 509 | %{_libdir}/libhdf5_hl_fortran.a |
69b25e9d | 510 | %{_libdir}/libhdf5hl_fortran.a |
53110aaa | 511 | |
e88a844a JB |
512 | %files progs |
513 | %defattr(644,root,root,755) | |
f489d293 JB |
514 | %attr(755,root,root) %{_bindir}/gif2h5 |
515 | %attr(755,root,root) %{_bindir}/h52gif | |
0d2cb146 | 516 | %attr(755,root,root) %{_bindir}/h5clear |
f489d293 JB |
517 | %attr(755,root,root) %{_bindir}/h5copy |
518 | %attr(755,root,root) %{_bindir}/h5debug | |
519 | %attr(755,root,root) %{_bindir}/h5diff | |
520 | %attr(755,root,root) %{_bindir}/h5dump | |
0d2cb146 | 521 | %attr(755,root,root) %{_bindir}/h5format_convert |
f489d293 JB |
522 | %attr(755,root,root) %{_bindir}/h5import |
523 | %attr(755,root,root) %{_bindir}/h5jam | |
524 | %attr(755,root,root) %{_bindir}/h5ls | |
525 | %attr(755,root,root) %{_bindir}/h5mkgrp | |
526 | %attr(755,root,root) %{_bindir}/h5perf_serial | |
527 | %attr(755,root,root) %{_bindir}/h5redeploy | |
528 | %attr(755,root,root) %{_bindir}/h5repack | |
529 | %attr(755,root,root) %{_bindir}/h5repart | |
530 | %attr(755,root,root) %{_bindir}/h5stat | |
531 | %attr(755,root,root) %{_bindir}/h5unjam | |
0d2cb146 | 532 | %attr(755,root,root) %{_bindir}/h5watch |
c7ae2dbd JB |
533 | |
534 | %if %{with java} | |
535 | %files -n java-hdf5 | |
536 | %defattr(644,root,root,755) | |
0304e885 JB |
537 | %attr(755,root,root) %{_libdir}/libhdf5_java.so.100.7.0 |
538 | %attr(755,root,root) %ghost %{_libdir}/libhdf5_java.so.100 | |
c7ae2dbd JB |
539 | %attr(755,root,root) %{_libdir}/libhdf5_java.so |
540 | %{_javadir}/jarhdf5-%{version}.jar | |
541 | %{_javadir}/jarhdf5.jar | |
542 | ||
543 | %files -n java-hdf5-javadoc | |
544 | %defattr(644,root,root,755) | |
545 | %{_javadocdir}/hdf5lib | |
546 | %endif |