]>
Commit | Line | Data |
---|---|---|
2b9d3ce6 JB |
1 | Summary: HDF5 file editor |
2 | Summary(pl.UTF-8): Edytor plików HDF5 | |
3 | Name: h5edit | |
305465b3 | 4 | Version: 1.2.1 |
df274079 | 5 | Release: 1 |
2b9d3ce6 JB |
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 | |
305465b3 | 9 | # Source0-md5: 8e11d0f79aa4558bfd4ea885f9984b6b |
2b9d3ce6 | 10 | URL: http://www.hdfgroup.org/projects/npoess/h5edit_index.html |
cc04d308 | 11 | BuildRequires: hdf5-devel >= 1.8.9 |
2b9d3ce6 JB |
12 | BuildRequires: szip-devel |
13 | BuildRequires: zlib-devel | |
cc04d308 | 14 | Requires: hdf5 >= 1.8.9 |
2b9d3ce6 JB |
15 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
16 | ||
17 | %description | |
18 | The HDF5 file editor, h5edit, is a tool for editing an HDF5 file. The | |
19 | tool can read in a command file, written in the h5edit Command | |
20 | Language, to edit the file accordingly. Commands can also be specified | |
21 | by command line options. This is intended for simple and short | |
22 | commands. The h5edit Command Language is defined in the h5edit Command | |
23 | Language Definition PDF document (included in package). | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | h5edit to edytor plików HDF5, narzędzie służące do modyfikowania | |
27 | plików HDF5. Potrafi wczytać plik poleceń napisany w języku h5edit | |
28 | Command Language i zmodyfikować odpowiednio plik HDF5. Polecenia można | |
29 | podawać także poprzez opcje linii poleceń - głównie z myślą o prostych | |
30 | i krótkich poleceniach. Język edytora jest zdefiniowany w dokumencie | |
31 | PDF o nazwie h5edit Command Language Definition (dołączonym do | |
32 | pakietu). | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %configure | |
39 | ||
40 | %{__make} \ | |
41 | h5edit_LDADD="-lhdf5_hl -lhdf5" | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %clean | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %files | |
53 | %defattr(644,root,root,755) | |
54 | %doc COPYING doc/{History,RELEASE.txt,H5edit_User_Guide.pdf,h5edit.pdf,h5edit-Command-Language-Defininition.pdf} | |
55 | %attr(755,root,root) %{_bindir}/h5edit |