From 6af60347459cd68d812a5decb795bd74d1015aa9 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 04:35:57 +0100 Subject: [PATCH] legacy package [release 1.12.1-3mamba;Mon Feb 28 2022] --- README.md | 2 + libhdf5_200.spec | 146 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 148 insertions(+) create mode 100644 libhdf5_200.spec diff --git a/README.md b/README.md index 0b7e85e..73a1135 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libhdf5_200 +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_200.spec b/libhdf5_200.spec new file mode 100644 index 0000000..a19eb1a --- /dev/null +++ b/libhdf5_200.spec @@ -0,0 +1,146 @@ +%define majver %(echo %version | cut -d. -f1-2) +%define pkgver %(echo %version | tr _ -) +Name: libhdf5_200 +Version: 1.12.1 +Release: 3mamba +Summary: A data model, library, and file format for storing and managing data +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: https://www.hdfgroup.org/solutions/hdf5/ +Source: https://support.hdfgroup.org/ftp/HDF5/releases/hdf5-%{majver}/hdf5-%{version}/src/hdf5-%{version}.tar.bz2 +License: BSD +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libstdc++6-devel +## AUTOBUILDREQ-END +Requires(post):%{__install_info} + +%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. + +%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. + +%debug_package + +%prep +%setup -q -n hdf5-%{pkgver} +touch release_docs/INSTALL_VMS.txt + +%build +%cmake -d build \ + -DHDF5_BUILD_HL_LIB=ON \ + -DHDF5_BUILD_CPP_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.txt COPYING USING_HDF5_CMake.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_cpp.so.* +%{_libdir}/libhdf5_hl.so.* +%{_libdir}/libhdf5_hl_cpp.so.* +%{_libdir}/libhdf5_tools.so.* +%doc COPYING + +%files devel +%defattr(-,root,root) +%{_includedir}/hdf5.h +%{_includedir}/hdf5_hl.h +%{_includedir}/H5*.h +%{_libdir}/libhdf5.settings +%{_libdir}/libhdf5.a +%{_libdir}/libhdf5_cpp.a +%{_libdir}/libhdf5_hl.a +%{_libdir}/libhdf5_hl_cpp.a +%{_libdir}/libhdf5_tools.a +%{_libdir}/libhdf5.so +%{_libdir}/libhdf5_cpp.so +%{_libdir}/libhdf5_hl.so +%{_libdir}/libhdf5_hl_cpp.so +%{_libdir}/libhdf5_tools.so +%{_libdir}/pkgconfig/hdf5*.pc +%{_datadir}/cmake/hdf5/hdf5-*.cmake +%dir %{_docdir}/%{name} +%{_docdir}/%{name}/* + +%files tools +%defattr(-,root,root) +%{_bindir}/h5* +%{_bindir}/gif2h5 +%{_bindir}/gif2h5-shared +%{_bindir}/mirror_server +%{_bindir}/mirror_server_stop + +%changelog +* Mon Feb 28 2022 Silvan Calarco 1.12.1-3mamba +- legacy package + +* Sun Aug 01 2021 Silvan Calarco 1.12.1-2mamba +- restored cpp library + +* Sat Jul 10 2021 Automatic Build System 1.12.1-1mamba +- automatic version update by autodist + +* Thu May 21 2020 Silvan Calarco 1.12.0-1mamba +- update to 1.12.0 + +* Tue Dec 03 2019 Silvan Calarco 1.10.5-1mamba +- update to 1.10.5 + +* Fri Aug 21 2015 Silvan Calarco 1.8.15_patch1-1mamba +- update to 1.8.15_patch1 + +* Sun Sep 21 2014 Automatic Build System 1.8.13-1mamba +- automatic version update by autodist + +* Wed Feb 12 2014 Automatic Build System 1.8.12-1mamba +- automatic version update by autodist + +* Sat Nov 16 2013 Automatic Build System 1.8.11-1mamba +- automatic version update by autodist + +* 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