1 Summary: HDF5 file editor
2 Summary(pl.UTF-8): Edytor plików HDF5
6 Group: Applications/File
7 License: BSD-like, changed sources must be marked
8 Source0: http://www.hdfgroup.org/ftp/HDF5/projects/jpss/h5edit/%{name}-%{version}.tar.gz
9 # Source0-md5: 10e1d07577c37a9ecb03a9867c365968
11 URL: http://www.hdfgroup.org/projects/npoess/h5edit_index.html
12 BuildRequires: hdf5-devel >= 1.8.9
13 BuildRequires: szip-devel
14 BuildRequires: zlib-devel
15 Requires: hdf5 >= 1.8.9
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 The HDF5 file editor, h5edit, is a tool for editing an HDF5 file. The
20 tool can read in a command file, written in the h5edit Command
21 Language, to edit the file accordingly. Commands can also be specified
22 by command line options. This is intended for simple and short
23 commands. The h5edit Command Language is defined in the h5edit Command
24 Language Definition PDF document (included in package).
26 %description -l pl.UTF-8
27 h5edit to edytor plików HDF5, narzędzie służące do modyfikowania
28 plików HDF5. Potrafi wczytać plik poleceń napisany w języku h5edit
29 Command Language i zmodyfikować odpowiednio plik HDF5. Polecenia można
30 podawać także poprzez opcje linii poleceń - głównie z myślą o prostych
31 i krótkich poleceniach. Język edytora jest zdefiniowany w dokumencie
32 PDF o nazwie h5edit Command Language Definition (dołączonym do
40 # need _LARGEFILE64_SOURCE for off64_t when hdf5 is built with LFS
41 CPPFLAGS="%{rpmcppflags} -D_LARGEFILE64_SOURCE"
45 h5edit_LDADD="-lhdf5_hl -lhdf5"
48 rm -rf $RPM_BUILD_ROOT
51 DESTDIR=$RPM_BUILD_ROOT
54 rm -rf $RPM_BUILD_ROOT
57 %defattr(644,root,root,755)
58 %doc COPYING doc/{History,RELEASE.txt,H5edit_User_Guide.pdf,h5edit.pdf,h5edit-Command-Language-Defininition.pdf}
59 %attr(755,root,root) %{_bindir}/h5edit