1 Summary: HDF 4.x to/from HDF5 conversion tools
2 Summary(pl.UTF-8): Narzędzia do konwersji pomiędzy HDF 4.x i HDF5
6 Group: Applications/File
7 License: BSD-like, changed sources must be marked
8 Source0: https://support.hdfgroup.org/ftp/HDF5/releases/h4toh5/h4toh5-%{version}/src/%{name}-%{version}.tar.gz
9 # Source0-md5: a1f3dd2882d890f40454782fa50d077d
10 Patch0: %{name}-config.patch
11 Patch1: %{name}-shared.patch
12 Patch2: %{name}-hdfeos.patch
13 Patch3: %{name}-format.patch
14 URL: http://portal.hdfgroup.org/display/support/h4h5tools
15 BuildRequires: autoconf >= 2.50
16 BuildRequires: automake
17 BuildRequires: hdf-devel >= 4.2.6
18 BuildRequires: hdf-eos-devel >= 2.17
19 BuildRequires: hdf5-devel >= 1.6.10
20 BuildRequires: libjpeg-devel >= 6b
21 BuildRequires: libtool
22 BuildRequires: zlib-devel >= 1.1.3
24 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27 Utilities to convert files from HDF 4.x to HDF5 or from HDF5 to HDF
30 %description -l pl.UTF-8
31 Narzędzia do konwersji plików z formatu HDF 4.x do HDF5 oraz z HDF5 do
35 Summary: HDF 4.x to/from HDF5 conversion library
36 Summary(pl.UTF-8): Biblioteka do konwersji pomiędzy HDF 4.x i HDF5
37 Group: Development/Libraries
38 Requires: hdf >= 4.2.6
39 Requires: hdf-eos >= 2.17
40 Requires: hdf5 >= 1.6.10
43 Library for file convertion from HDF 4.x to HDF5 or from HDF5 to HDF
46 %description lib -l pl.UTF-8
47 Biblioteka do konwersji plików z formatu HDF 4.x do HDF5 oraz z HDF5
51 Summary: Header files for HDF 4.x to/from HDF5 conversion library
52 Summary(pl.UTF-8): Pliki nagłówkowe biblioteki konwersji pomiędzy HDF 4.x i HDF5
53 Group: Development/Libraries
54 Requires: %{name}-lib = %{version}-%{release}
55 Requires: hdf-devel >= 4.2.6
56 Requires: hdf-eos-devel >= 2.17
57 Requires: hdf5-devel >= 1.6.10
60 Header files and documentation for HDF 4.x to/from HDF5 format
63 %description devel -l pl.UTF-8
64 Pliki nagłówkowe i dokumentacja do biblioteki konwersji plików z
65 formatu HDF 4.x do HDF5 i odwrotnie.
68 Summary: Static HDF 4.x to/from HDF5 conversion library
69 Summary(pl.UTF-8): Biblioteka statyczna do konwersji pomiędzy HDF 4.x i HDF5
70 Group: Development/Libraries
71 Requires: %{name}-lib = %{version}-%{release}
74 Static library for file convertion from HDF 4.x to HDF5 or from HDF5
77 %description static -l pl.UTF-8
78 Biblioteka statyczna do konwersji plików z formatu HDF 4.x do HDF5
79 oraz z HDF5 do HDF 4.x.
93 CPPFLAGS="%{rpmcppflags} -I/usr/include/hdf -DH5_USE_16_API"
98 h5toh4_LDADD="-lmfhdf"
101 rm -rf $RPM_BUILD_ROOT
104 DESTDIR=$RPM_BUILD_ROOT
107 rm -rf $RPM_BUILD_ROOT
109 %post lib -p /sbin/ldconfig
110 %postun lib -p /sbin/ldconfig
113 %defattr(644,root,root,755)
114 %doc COPYING release_docs/{HISTORY,RELEASE}.txt
115 %attr(755,root,root) %{_bindir}/h4toh5
116 %attr(755,root,root) %{_bindir}/h5toh4
119 %defattr(644,root,root,755)
120 %attr(755,root,root) %{_libdir}/libh4toh5.so.*.*.*
121 %attr(755,root,root) %ghost %{_libdir}/libh4toh5.so.0
124 %defattr(644,root,root,755)
125 %attr(755,root,root) %{_libdir}/libh4toh5.so
126 %{_libdir}/libh4toh5.la
127 %{_includedir}/H4TOH5api_adpt.h
128 %{_includedir}/h4toh5*.h
131 %defattr(644,root,root,755)
132 %{_libdir}/libh4toh5.a