2024-01-06 04:35:39 +01:00
|
|
|
%define pkgver %(echo %version | tr _ -)
|
|
|
|
Name: libhdf5
|
2024-01-06 04:35:39 +01:00
|
|
|
Version: 1.8.15_patch1
|
2024-01-06 04:35:39 +01:00
|
|
|
Release: 1mamba
|
|
|
|
Summary: A data model, library, and file format for storing and managing data
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.hdfgroup.org/HDF5/
|
|
|
|
Source: http://www.hdfgroup.org/ftp/HDF5/current/src/hdf5-%{pkgver}.tar.bz2
|
|
|
|
License: BSD
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
Requires(post):%{__install_info}
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 04:35:39 +01:00
|
|
|
%package tools
|
|
|
|
Group: System/Tools
|
|
|
|
Summary: Tools for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
|
|
|
|
%description tools
|
|
|
|
HDF5 is a data model, library, and file format for storing and managing data. It supports an unlimited variety of datatypes, and is designed for flexible and efficient I/O and for high volume and complex data. HDF5 is portable and is extensible, allowing applications to evolve in their use of HDF5. The HDF5 Technology suite includes tools and applications for managing, manipulating, viewing, and analyzing data in the HDF5 format.
|
|
|
|
|
2024-01-06 04:35:39 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n hdf5-%{pkgver}
|
2024-01-06 04:35:39 +01:00
|
|
|
touch release_docs/INSTALL_VMS.txt
|
2024-01-06 04:35:39 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%cmake -d build \
|
|
|
|
-DHDF5_BUILD_HL_LIB=ON \
|
|
|
|
-DHDF5_INSTALL_LIB_DIR=%{_libdir}
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall -C build
|
|
|
|
|
|
|
|
install -d -m0755 %{buildroot}%{_docdir}/%{name}
|
2024-01-06 04:35:39 +01:00
|
|
|
for f in RELEASE.txt COPYING USING_HDF5_CMake.txt; do
|
2024-01-06 04:35:39 +01:00
|
|
|
mv %{buildroot}%{_datadir}/$f %{buildroot}%{_docdir}/%{name}/
|
|
|
|
done
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5.settings
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5.so.*
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5_cpp.so.*
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5_hl.so.*
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5_hl_cpp.so.*
|
|
|
|
%{_libdir}/libhdf5_tools.so.*
|
2024-01-06 04:35:39 +01:00
|
|
|
%doc COPYING
|
2024-01-06 04:35:39 +01:00
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_includedir}/hdf5.h
|
|
|
|
%{_includedir}/hdf5_hl.h
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_includedir}/h5*.h
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_includedir}/H5*.h
|
2024-01-06 04:35:39 +01:00
|
|
|
#%dir %{_datadir}/cmake/hdf5
|
|
|
|
%{_datadir}/cmake/FindHDF5.cmake
|
|
|
|
%{_datadir}/cmake/hdf5-*.cmake
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5.so
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5_cpp.so
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5_hl.so
|
2024-01-06 04:35:39 +01:00
|
|
|
%{_libdir}/libhdf5_hl_cpp.so
|
|
|
|
%{_libdir}/libhdf5_tools.so
|
2024-01-06 04:35:39 +01:00
|
|
|
%dir %{_docdir}/%{name}
|
|
|
|
%{_docdir}/%{name}/*
|
|
|
|
|
2024-01-06 04:35:39 +01:00
|
|
|
%files tools
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_bindir}/h5*
|
|
|
|
|
2024-01-06 04:35:39 +01:00
|
|
|
%changelog
|
2024-01-06 04:35:39 +01:00
|
|
|
* Fri Aug 21 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.15_patch1-1mamba
|
|
|
|
- update to 1.8.15_patch1
|
|
|
|
|
2024-01-06 04:35:39 +01:00
|
|
|
* Sun Sep 21 2014 Automatic Build System <autodist@mambasoft.it> 1.8.13-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Wed Feb 12 2014 Automatic Build System <autodist@mambasoft.it> 1.8.12-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Sat Nov 16 2013 Automatic Build System <autodist@mambasoft.it> 1.8.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 04:35:39 +01:00
|
|
|
* Mon May 13 2013 Automatic Build System <autodist@mambasoft.it> 1.8.10_patch1-1mamba
|
|
|
|
- update to 1.8.10_patch1
|
|
|
|
|
|
|
|
* Sat Mar 09 2013 Automatic Build System <autodist@mambasoft.it> 1.8.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
|
|
|
* Fri Jan 07 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-2mamba
|
|
|
|
- enabled build of libhdf5_hl library
|
|
|
|
|
|
|
|
* Thu Jan 06 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 1.8.5-1mamba
|
|
|
|
- package created by autospec
|