From 0254e7c361242a30bbde25c009dc9af82c4285a2 Mon Sep 17 00:00:00 2001 From: Automatic Build System Date: Sat, 6 Jan 2024 04:35:39 +0100 Subject: [PATCH] update to 1.8.10_patch1 [release 1.8.10_patch1-1mamba;Mon May 13 2013] --- README.md | 2 ++ libhdf5.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 libhdf5.spec diff --git a/README.md b/README.md index 7b80c84..060ae65 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libhdf5 +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. + diff --git a/libhdf5.spec b/libhdf5.spec new file mode 100644 index 0000000..a56a877 --- /dev/null +++ b/libhdf5.spec @@ -0,0 +1,86 @@ +%define pkgver %(echo %version | tr _ -) +Name: libhdf5 +Version: 1.8.10_patch1 +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 +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. + +%prep +%setup -q -n hdf5-%{pkgver} + +%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} +for f in release_docs ACKNOWLEDGMENTS COPYING README.txt; do + 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) +%{_libdir}/libhdf5.so.* +%{_libdir}/libhdf5_hl.so.* +%doc COPYING README.txt + +%files devel +%defattr(-,root,root) +%{_includedir}/hdf5.h +%{_includedir}/hdf5_hl.h +%{_includedir}/H5*.h +%dir %{_datadir}/cmake/hdf5 +%{_datadir}/cmake/hdf5/*.cmake +%{_datadir}/cmake/hdf5/libhdf5.settings +%{_libdir}/libhdf5.so +%{_libdir}/libhdf5_hl.so +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/* + +%changelog +* Mon May 13 2013 Automatic Build System 1.8.10_patch1-1mamba +- update to 1.8.10_patch1 + +* Sat Mar 09 2013 Automatic Build System 1.8.10-1mamba +- automatic version update by autodist + +* Fri Jan 07 2011 Silvan Calarco 1.8.5-2mamba +- enabled build of libhdf5_hl library + +* Thu Jan 06 2011 Silvan Calarco 1.8.5-1mamba +- package created by autospec