3 # - enable Stream VFD support
5 Summary: Hierarchical Data Format 5 library
6 Summary(pl): Biblioteka HDF5 (Hierarchical Data Format 5)
11 License: Nearly BSD, but changed sources must be marked
12 Source0: ftp://ftp.ncsa.uiuc.edu/HDF/HDF5/%{name}-%{version}/src/%{name}-%{version}.tar.gz
13 # Source0-md5: 9a39a0d8b002b12787436e186133455c
14 Patch0: %{name}-config.patch
15 URL: http://hdf.ncsa.uiuc.edu/HDF5/
16 BuildRequires: autoconf
17 BuildRequires: automake
18 BuildRequires: libjpeg-devel >= 6b
19 BuildRequires: libstdc++-devel
20 BuildRequires: libtool
21 BuildRequires: openssl-devel >= 0.9.7c
22 BuildRequires: zlib-devel >= 1.1.3
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 HDF5 is a completely new Hierarchical Data Format product consisting
27 of a data format specification and a supporting library
28 implementation. HDF5 is designed to address some of the limitations of
29 the older HDF product and to address current and anticipated
30 requirements of modern systems and applications.
33 HDF5 jest ca³kowicie nowym produktem Hierarchiczego Formatu Danych,
34 sk³adaj±cym siê ze specyfikacji formatu danych oraz obs³uguj±cej go
35 biblioteki. HDF5 zosta³ zaprojektowany aby pozbyæ siê ograniczeñ
36 poprzedniego HDF oraz ¿eby zaspokoiæ bie¿±ce i przysz³e potrzeby
37 wspó³czesnych systemów i aplikacji.
40 Summary: HDF5 library development package
41 Summary(pl): Pliki nag³ówkowe biblioteki HDF5
42 Group: Development/Libraries
43 Requires: %{name} = %{version}-%{release}
44 Requires: openssl-devel
48 Header files for HDF5 library and HDF5 documentation.
50 %description devel -l pl
51 Pliki nag³ówkowe biblioteki HDF5 oraz dokumentacja HDF5.
54 Summary: HDF5 static library
55 Summary(pl): Statyczna biblioteka HDF5
56 Group: Development/Libraries
57 Requires: %{name}-devel = %{version}-%{release}
60 Static version of HDF5 library.
62 %description static -l pl
63 Statyczna wersja biblioteki HDF5.
66 Summary: HDF5 utilities
67 Summary(pl): Narzêdzia do plików HDF5
68 Group: Applications/File
69 Requires: %{name} = %{version}-%{release}
72 Utilities to convert from/to HDF5 format.
74 %description progs -l pl
75 Narzêdzia do konwersji z i to formatu HDF5.
97 # --enable-fortran - requires Fortran90 compiler
102 rm -rf $RPM_BUILD_ROOT
103 install -d $RPM_BUILD_ROOT%{_includedir}
106 libdir=$RPM_BUILD_ROOT%{_libdir} \
107 includedir=$RPM_BUILD_ROOT%{_includedir} \
108 bindir=$RPM_BUILD_ROOT%{_bindir} \
109 docdir=$RPM_BUILD_ROOT%{_docdir}
111 find doc -name Dependencies -o -name Makefile\* | xargs rm -f
113 install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
114 mv -f $RPM_BUILD_ROOT%{_docdir}/hdf5/examples/{c,c++} \
115 $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
118 rm -rf $RPM_BUILD_ROOT
120 %post -p /sbin/ldconfig
121 %postun -p /sbin/ldconfig
124 %defattr(644,root,root,755)
125 %doc COPYING README.txt release_docs/{HISTORY.txt,RELEASE.txt}
126 %attr(755,root,root) %{_libdir}/lib*.so.*.*
128 #%{_libdir}/libhdf5.settings
131 %defattr(644,root,root,755)
133 %attr(755,root,root) %{_libdir}/lib*.so
136 %{_examplesdir}/%{name}-%{version}
139 %defattr(644,root,root,755)
143 %defattr(644,root,root,755)
144 %attr(755,root,root) %{_bindir}/*