1 Summary: Hierarchical Data Format library
2 Summary(pl): Biblioteka HDF (Hierarchical Data Format)
11 Group(pt_BR): Bibliotecas
14 License: Nearly BSD, but changed sources must be marked
15 Source0: ftp://ftp.ncsa.uiuc.edu/HDF/HDF/HDF_Current/tar/HDF%{version}.tar.gz
16 Patch0: %{name}-system-libs.patch
17 Patch1: %{name}-strdup.patch
18 Patch2: %{name}-shared.patch
19 URL: http://hdf.ncsa.uiuc.edu/
20 BuildRequires: zlib-devel >= 1.1.3
21 BuildRequires: libjpeg-devel >= 6b
24 BuildRequires: libtool
25 BuildRequires: gcc-g77
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 HDF is a multi-object file format that facilitates the transfer of
30 various types of scientific data between machines and operating
31 systems. Machines currently supported include the Cray, HP, Vax, Sun,
32 IBM RS/6000, Silicon Graphics, Macintosh, and IBM PC computers. HDF
33 allows self-definitions of data content and easy extensibility for
34 future enhancements or compatibility with other standard formats. HDF
35 includes Fortran and C calling interfaces,and utilities to prepare raw
36 image of data files or for use with other NCSA software. The HDF
37 library contains interfaces for storing and retrieving compressed or
38 uncompressed 8-bit and 24-bit raster images with palettes,
39 n-Dimensional scientific datasets and binary tables. An interface is
40 also included that allows arbitray grouping of other HDF objects.
43 HDF jest wieloobiektowym formatem plików u³atwiaj±cym przenoszenie
44 ró¿nych danych naukowych pomiêdzy ró¿nymi komputerami i systemami
45 operacyjnymi. Aktualnie obs³ugiwane s± m.in. Cray, HP, Vax, Sun, IBM
46 RS/6000, Silicon Graphics, Macintosh i IBM PC. HDF zawiera interfejsy
47 do Fortranu i C oraz narzêdzia do przygotowywania plików z danymi.
48 Biblioteka pozwala na przechowywanie i odczytywanie skompresowanych
49 lub nie 8-bitowych i 24-bitowych obrazków z palet±, wielowymiarowych
53 Summary: HDF library development package
54 Summary(pl): Pliki nag³ówkowe biblioteki HDF
55 Group: Development/Libraries
56 Group(de): Entwicklung/Libraries
57 Group(es): Desarrollo/Bibliotecas
58 Group(fr): Development/Librairies
59 Group(pl): Programowanie/Biblioteki
60 Group(pt_BR): Desenvolvimento/Bibliotecas
61 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
62 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
63 Requires: %{name} = %{version}
66 Header files for HDF library.
68 %description devel -l pl
69 Pliki nag³ówkowe biblioteki HDF.
72 Summary: HDF static library
73 Summary(pl): Statyczna biblioteka HDF
74 Group: Development/Libraries
75 Group(de): Entwicklung/Libraries
76 Group(es): Desarrollo/Bibliotecas
77 Group(fr): Development/Librairies
78 Group(pl): Programowanie/Biblioteki
79 Group(pt_BR): Desenvolvimento/Bibliotecas
80 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
81 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
82 Requires: %{name}-devel = %{version}
85 Static version of HDF library.
87 %description static -l pl
88 Statyczna wersja biblioteki HDF.
91 Summary: HDF utilities
92 Summary(pl): Narzêdzia do plików HDF
93 Group: Applications/File
94 Group(de): Applikationen/Datei
95 Group(pl): Aplikacje/Pliki
96 Requires: %{name} = %{version}
99 Utilities to convert from/to HDF format.
101 %description progs -l pl
102 Narzêdzia do konwersji z i to formatu HDF.
105 %setup -q -n HDF%{version}
111 ./configure %{_target_platform} \
112 --prefix=%{_prefix} --exec-prefix=%{_exec_prefix}
114 %{__make} CFLAGS="%{rpmcflags} -ansi -D_BSD_SOURCE -DHAVE_NETCDF" \
115 FFLAGS="%{rpmcflags}" YACC="bison -y"
118 rm -rf $RPM_BUILD_ROOT
119 install -d $RPM_BUILD_ROOT{%{_libdir},%{_mandir}/man{3,7},%{_includedir}/hdf}
122 prefix=$RPM_BUILD_ROOT%{_prefix} \
123 exec_prefix=$RPM_BUILD_ROOT%{_exec_prefix} \
124 mandir=$RPM_BUILD_ROOT%{_mandir} \
125 infodir=$RPM_BUILD_ROOT%{_infodir}
127 mv -f $RPM_BUILD_ROOT%{_includedir}/*.{h,inc,f90} $RPM_BUILD_ROOT%{_includedir}/hdf
129 install man/gr_chunk.3 $RPM_BUILD_ROOT%{_mandir}/man3
130 mv -f $RPM_BUILD_ROOT%{_mandir}/man1/hdf.1 $RPM_BUILD_ROOT%{_mandir}/man7/hdf.7
132 # resolve conflict with netcdf and move manuals to FHS location
133 # NOTE: don't let adapter change %%{_prefix}/man to %%{_mandir}
134 for i in ncdump ncgen ; do
135 mv -f $RPM_BUILD_ROOT%{_bindir}/$i $RPM_BUILD_ROOT%{_bindir}/hdf$i
136 mv -f $RPM_BUILD_ROOT%{_prefix}/man/man1/$i.1 $RPM_BUILD_ROOT%{_mandir}/man1/hdf$i.1
139 # remove unwanted path from libtool script
140 cat $RPM_BUILD_ROOT%{_libdir}/libmfhdf.la | \
141 awk '/^dependency_libs/ { gsub("-L[ \t]*[^ \t]*/\.libs ","") } //' \
142 > $RPM_BUILD_ROOT%{_libdir}/libmfhdf.la.tmp
143 mv -f $RPM_BUILD_ROOT%{_libdir}/libmfhdf.la.tmp $RPM_BUILD_ROOT%{_libdir}/libmfhdf.la
145 gzip -9nf COPYING README release_notes/*
148 rm -rf $RPM_BUILD_ROOT
150 %post -p /sbin/ldconfig
151 %postun -p /sbin/ldconfig
154 %defattr(644,root,root,755)
155 %doc *.gz release_notes/bugs* release_notes/ABOUT*
156 %attr(755,root,root) %{_libdir}/lib*.so.*.*
159 %defattr(644,root,root,755)
160 %doc release_notes/compile*
161 %attr(755,root,root) %{_libdir}/lib*.so
162 %attr(755,root,root) %{_libdir}/lib*.la
167 %defattr(644,root,root,755)
171 %defattr(644,root,root,755)
172 %attr(755,root,root) %{_bindir}/*