]> git.pld-linux.org Git - SPECS.git/blob - h5edit.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / h5edit.spec
1 Summary:        HDF5 file editor
2 Summary(pl.UTF-8):      Edytor plików HDF5
3 Name:           h5edit
4 Version:        1.3.1
5 Release:        4
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
10 Patch0:         types.patch
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)
17
18 %description
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).
25
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
33 pakietu).
34
35 %prep
36 %setup -q
37 %patch0 -p1
38
39 %build
40 # need _LARGEFILE64_SOURCE for off64_t when hdf5 is built with LFS
41 CPPFLAGS="%{rpmcppflags} -D_LARGEFILE64_SOURCE"
42 %configure
43
44 %{__make} \
45         h5edit_LDADD="-lhdf5_hl -lhdf5"
46
47 %install
48 rm -rf $RPM_BUILD_ROOT
49
50 %{__make} install \
51         DESTDIR=$RPM_BUILD_ROOT
52
53 %clean
54 rm -rf $RPM_BUILD_ROOT
55
56 %files
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
This page took 1.336294 seconds and 3 git commands to generate.