|
|
7c8d5ed |
%undefine __cmake_in_source_build
|
|
|
adac49d |
%undefine __cmake3_in_source_build
|
|
|
7c8d5ed |
|
|
|
c1f560a |
Name: zfp
|
|
|
cc96f7d |
Version: 0.5.5
|
|
|
cc96f7d |
Release: 1%{?dist}
|
|
|
c1f560a |
Summary: Library for compressed numerical arrays with high throughput R/W random access
|
|
|
c1f560a |
|
|
|
c1f560a |
License: BSD
|
|
|
c1f560a |
URL: https://computation.llnl.gov/projects/floating-point-compression
|
|
|
c1f560a |
Source0: https://github.com/LLNL/%{name}/archive/%{version}/%{name}-%{version}.tar.gz
|
|
|
c1f560a |
|
|
|
c1f560a |
BuildRequires: cmake3
|
|
|
c1f560a |
BuildRequires: gcc-c++
|
|
|
c1f560a |
|
|
|
c1f560a |
%description
|
|
|
c1f560a |
This is zfp, an open source C/C++ library for compressed numerical arrays
|
|
|
c1f560a |
that support high throughput read and write random access. zfp was written by
|
|
|
c1f560a |
Peter Lindstrom at Lawrence Livermore National Laboratory, and is loosely
|
|
|
c1f560a |
based on the algorithm described in the following paper:
|
|
|
c1f560a |
|
|
|
c1f560a |
Peter Lindstrom
|
|
|
c1f560a |
"Fixed-Rate Compressed Floating-Point Arrays"
|
|
|
c1f560a |
IEEE Transactions on Visualization and Computer Graphics,
|
|
|
c1f560a |
20(12):2674-2683, December 2014
|
|
|
c1f560a |
doi:10.1109/TVCG.2014.2346458
|
|
|
c1f560a |
|
|
|
c1f560a |
zfp was originally designed for floating-point data only, but has been
|
|
|
c1f560a |
extended to also support integer data, and could for instance be used to
|
|
|
c1f560a |
compress images and quantized volumetric data. To achieve high compression
|
|
|
c1f560a |
ratios, zfp uses lossy but optionally error-bounded compression. Although
|
|
|
c1f560a |
bit-for-bit lossless compression of floating-point data is not always
|
|
|
c1f560a |
possible, zfp is usually accurate to within machine epsilon in near-lossless
|
|
|
c1f560a |
mode.
|
|
|
c1f560a |
|
|
|
c1f560a |
zfp works best for 2D and 3D arrays that exhibit spatial coherence, such as
|
|
|
c1f560a |
smooth fields from physics simulations, images, regularly sampled terrain
|
|
|
c1f560a |
surfaces, etc. Although zfp also provides a 1D array class that can be used
|
|
|
c1f560a |
for 1D signals such as audio, or even unstructured floating-point streams,
|
|
|
c1f560a |
the compression scheme has not been well optimized for this use case, and
|
|
|
c1f560a |
rate and quality may not be competitive with floating-point compressors
|
|
|
c1f560a |
designed specifically for 1D streams.
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%package devel
|
|
|
c1f560a |
Summary: Development files for %{name}
|
|
|
c1f560a |
Requires: %{name}%{?_isa} = %{version}-%{release}
|
|
|
c1f560a |
|
|
|
c1f560a |
%description devel
|
|
|
c1f560a |
The %{name}-devel package contains libraries and header files for
|
|
|
c1f560a |
developing applications that use %{name}.
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%prep
|
|
|
c1f560a |
%setup -q
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%build
|
|
|
7c8d5ed |
%cmake3
|
|
|
7c8d5ed |
%cmake3_build
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%install
|
|
|
7c8d5ed |
%cmake3_install
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%ldconfig_scriptlets
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%files
|
|
|
c1f560a |
%doc README.md VERSIONS.md
|
|
|
c1f560a |
%license LICENSE
|
|
|
c1f560a |
%{_libdir}/*.so.*
|
|
|
c1f560a |
|
|
|
c1f560a |
%files devel
|
|
|
c1f560a |
%doc examples
|
|
|
c1f560a |
%{_includedir}/*
|
|
|
c1f560a |
%{_libdir}/*.so
|
|
|
c1f560a |
%{_libdir}/cmake/zfp/
|
|
|
c1f560a |
|
|
|
c1f560a |
|
|
|
c1f560a |
%changelog
|
|
|
cc96f7d |
* Sat Aug 08 2020 Orion Poplawski <orion@nwra.com> - 0.5.5-1
|
|
|
cc96f7d |
- Update to 0.5.5
|
|
|
cc96f7d |
|
|
|
c9ad2b5 |
* Wed Jul 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-4
|
|
|
c9ad2b5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
c9ad2b5 |
|
|
|
147f8bf |
* Fri Jan 31 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-3
|
|
|
147f8bf |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
147f8bf |
|
|
|
193852b |
* Sat Jul 27 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.5.4-2
|
|
|
193852b |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
193852b |
|
|
|
c1f560a |
* Sun Feb 24 2019 Orion Poplawski <orion@nwra.com> - 0.5.4-1
|
|
|
c1f560a |
- Update to 0.5.4
|
|
|
c1f560a |
|
|
|
c1f560a |
* Tue May 9 2017 Orion Poplawski <orion@cora.nwra.com> - 0.5.1-1
|
|
|
c1f560a |
- Initial Fedora package
|