From c1f560a0a977ad47fe2a7377c2d4170ae7b89cf3 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Mon, 25 Feb 2019 07:43:18 -0700 Subject: [PATCH 01/27] Initial commit --- .gitignore | 1 + sources | 1 + zfp.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 88 insertions(+) create mode 100644 .gitignore create mode 100644 sources create mode 100644 zfp.spec diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f2d03d5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/zfp-0.5.4.tar.gz diff --git a/sources b/sources new file mode 100644 index 0000000..74f4ab9 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (zfp-0.5.4.tar.gz) = 15ad852a6b5731d95d140a754ad3ad1eaed958f93df031cd974530a246119a9ec8d2505e3259f44d14294e4a237da4009bb7bef3727ad00f82330cfb55d6bbbc diff --git a/zfp.spec b/zfp.spec new file mode 100644 index 0000000..1b314db --- /dev/null +++ b/zfp.spec @@ -0,0 +1,86 @@ +Name: zfp +Version: 0.5.4 +Release: 1%{?dist} +Summary: Library for compressed numerical arrays with high throughput R/W random access + +License: BSD +URL: https://computation.llnl.gov/projects/floating-point-compression +Source0: https://github.com/LLNL/%{name}/archive/%{version}/%{name}-%{version}.tar.gz + +BuildRequires: cmake3 +BuildRequires: gcc-c++ + +%description +This is zfp, an open source C/C++ library for compressed numerical arrays +that support high throughput read and write random access. zfp was written by +Peter Lindstrom at Lawrence Livermore National Laboratory, and is loosely +based on the algorithm described in the following paper: + +Peter Lindstrom +"Fixed-Rate Compressed Floating-Point Arrays" +IEEE Transactions on Visualization and Computer Graphics, + 20(12):2674-2683, December 2014 +doi:10.1109/TVCG.2014.2346458 + +zfp was originally designed for floating-point data only, but has been +extended to also support integer data, and could for instance be used to +compress images and quantized volumetric data. To achieve high compression +ratios, zfp uses lossy but optionally error-bounded compression. Although +bit-for-bit lossless compression of floating-point data is not always +possible, zfp is usually accurate to within machine epsilon in near-lossless +mode. + +zfp works best for 2D and 3D arrays that exhibit spatial coherence, such as +smooth fields from physics simulations, images, regularly sampled terrain +surfaces, etc. Although zfp also provides a 1D array class that can be used +for 1D signals such as audio, or even unstructured floating-point streams, +the compression scheme has not been well optimized for this use case, and +rate and quality may not be competitive with floating-point compressors +designed specifically for 1D streams. + + +%package devel +Summary: Development files for %{name} +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q + + +%build +mkdir build +cd build +%cmake3 .. +%make_build + + +%install +%make_install -C build + + +%ldconfig_scriptlets + + +%files +%doc README.md VERSIONS.md +%license LICENSE +%{_libdir}/*.so.* + +%files devel +%doc examples +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/cmake/zfp/ + + +%changelog +* Sun Feb 24 2019 Orion Poplawski - 0.5.4-1 +- Update to 0.5.4 + +* Tue May 9 2017 Orion Poplawski - 0.5.1-1 +- Initial Fedora package From 193852b1d30f1663338d3394cfcf14b4f7f43483 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jul 2019 04:59:12 +0000 Subject: [PATCH 02/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 1b314db..1dccd46 100644 --- a/zfp.spec +++ b/zfp.spec @@ -1,6 +1,6 @@ Name: zfp Version: 0.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -79,6 +79,9 @@ cd build %changelog +* Sat Jul 27 2019 Fedora Release Engineering - 0.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + * Sun Feb 24 2019 Orion Poplawski - 0.5.4-1 - Update to 0.5.4 From 147f8bfa93a736e99ec00a105067b32bfb3f2768 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 31 Jan 2020 05:18:06 +0000 Subject: [PATCH 03/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 1dccd46..7c84898 100644 --- a/zfp.spec +++ b/zfp.spec @@ -1,6 +1,6 @@ Name: zfp Version: 0.5.4 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -79,6 +79,9 @@ cd build %changelog +* Fri Jan 31 2020 Fedora Release Engineering - 0.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + * Sat Jul 27 2019 Fedora Release Engineering - 0.5.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild From 7c8d5ed9a3176d056a2c1b24ce98d2e12f10f281 Mon Sep 17 00:00:00 2001 From: Igor Raits Date: Sun, 5 Jul 2020 19:38:52 +0200 Subject: [PATCH 04/27] Improve compatibility with new CMake macro Signed-off-by: Igor Raits --- zfp.spec | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/zfp.spec b/zfp.spec index 7c84898..8c99fc0 100644 --- a/zfp.spec +++ b/zfp.spec @@ -1,3 +1,5 @@ +%undefine __cmake_in_source_build + Name: zfp Version: 0.5.4 Release: 3%{?dist} @@ -53,14 +55,12 @@ developing applications that use %{name}. %build -mkdir build -cd build -%cmake3 .. -%make_build +%cmake3 +%cmake3_build %install -%make_install -C build +%cmake3_install %ldconfig_scriptlets From c9ad2b5d14d605d84548f4bcf1d481ff792c846a Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Wed, 29 Jul 2020 15:22:20 +0000 Subject: [PATCH 05/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 8c99fc0..3b8bca6 100644 --- a/zfp.spec +++ b/zfp.spec @@ -2,7 +2,7 @@ Name: zfp Version: 0.5.4 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -79,6 +79,9 @@ developing applications that use %{name}. %changelog +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + * Fri Jan 31 2020 Fedora Release Engineering - 0.5.4-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild From cc96f7d01e831011f387971dff54a709ecb70620 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 7 Aug 2020 21:52:01 -0600 Subject: [PATCH 06/27] Update to 0.5.5 --- .gitignore | 1 + sources | 2 +- zfp.spec | 7 +++++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index f2d03d5..8704848 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ /zfp-0.5.4.tar.gz +/zfp-0.5.5.tar.gz diff --git a/sources b/sources index 74f4ab9..a9b4537 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zfp-0.5.4.tar.gz) = 15ad852a6b5731d95d140a754ad3ad1eaed958f93df031cd974530a246119a9ec8d2505e3259f44d14294e4a237da4009bb7bef3727ad00f82330cfb55d6bbbc +SHA512 (zfp-0.5.5.tar.gz) = c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4 diff --git a/zfp.spec b/zfp.spec index 3b8bca6..cde91b1 100644 --- a/zfp.spec +++ b/zfp.spec @@ -1,8 +1,8 @@ %undefine __cmake_in_source_build Name: zfp -Version: 0.5.4 -Release: 4%{?dist} +Version: 0.5.5 +Release: 1%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -79,6 +79,9 @@ developing applications that use %{name}. %changelog +* Sat Aug 08 2020 Orion Poplawski - 0.5.5-1 +- Update to 0.5.5 + * Wed Jul 29 2020 Fedora Release Engineering - 0.5.4-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild From adac49d8e96613a4c7bd13d3aa98a95e239d7675 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Fri, 7 Aug 2020 22:07:45 -0600 Subject: [PATCH 07/27] Also undefine __cmake3_in_source_build --- zfp.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/zfp.spec b/zfp.spec index cde91b1..bbd7a67 100644 --- a/zfp.spec +++ b/zfp.spec @@ -1,4 +1,5 @@ %undefine __cmake_in_source_build +%undefine __cmake3_in_source_build Name: zfp Version: 0.5.5 From 1c27c78dc37e03dfe63140d28a0b456eb9f6cb22 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Thu, 28 Jan 2021 00:41:16 +0000 Subject: [PATCH 08/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index bbd7a67..887044c 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 0.5.5 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -80,6 +80,9 @@ developing applications that use %{name}. %changelog +* Thu Jan 28 2021 Fedora Release Engineering - 0.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + * Sat Aug 08 2020 Orion Poplawski - 0.5.5-1 - Update to 0.5.5 From 195d38a28bb9bd90c78307a7e4eff422d00af07b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 23 Jul 2021 22:17:06 +0000 Subject: [PATCH 09/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 887044c..1d1dade 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 0.5.5 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -80,6 +80,9 @@ developing applications that use %{name}. %changelog +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + * Thu Jan 28 2021 Fedora Release Engineering - 0.5.5-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild From 43dfb0317f9bd9fbf62b1c32ae3bdb02d5aa63c8 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jan 2022 05:50:44 +0000 Subject: [PATCH 10/27] - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 1d1dade..84a9cc3 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 0.5.5 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -80,6 +80,9 @@ developing applications that use %{name}. %changelog +* Sat Jan 22 2022 Fedora Release Engineering - 0.5.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + * Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild From 64047973b962d9c30e0e6ed9e475309a3d20d8c1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 23 Jul 2022 13:54:22 +0000 Subject: [PATCH 11/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 84a9cc3..1d48c09 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 0.5.5 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -80,6 +80,9 @@ developing applications that use %{name}. %changelog +* Sat Jul 23 2022 Fedora Release Engineering - 0.5.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + * Sat Jan 22 2022 Fedora Release Engineering - 0.5.5-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild From 97cf6f69f850b46bd087b655f797fd7edb01aca1 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 08:14:57 +0000 Subject: [PATCH 12/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 1d48c09..becebc5 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 0.5.5 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -80,6 +80,9 @@ developing applications that use %{name}. %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 0.5.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Sat Jul 23 2022 Fedora Release Engineering - 0.5.5-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From c5540f8c775a3e82b53f7a852cf13d282553f5f9 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 4 Jun 2023 12:59:03 -0600 Subject: [PATCH 13/27] Update to 1.0.0 --- .gitignore | 1 + sources | 2 +- zfp.spec | 16 ++++++++++------ 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index 8704848..9b423cd 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ /zfp-0.5.4.tar.gz /zfp-0.5.5.tar.gz +/zfp-1.0.0.tar.gz diff --git a/sources b/sources index a9b4537..58cd191 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zfp-0.5.5.tar.gz) = c043cee73f6e972e047452552ab2ceb9247a6747fdb7e5f863aeab3a05208737c0bcabbe29f3c10e5c1aba961ec47aa6a0abdb395486fa0d5fb16a4ad45733c4 +SHA512 (zfp-1.0.0.tar.gz) = 68eee625379f05f8841a7a73f68b851f638f10836a38209d2585bd586c4fe77379042b2bde4b57719e986c949201afaa91dbb458acb1ec316ad9b0b6728f9c88 diff --git a/zfp.spec b/zfp.spec index becebc5..5b0c467 100644 --- a/zfp.spec +++ b/zfp.spec @@ -2,8 +2,8 @@ %undefine __cmake3_in_source_build Name: zfp -Version: 0.5.5 -Release: 6%{?dist} +Version: 1.0.0 +Release: 1%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -56,7 +56,7 @@ developing applications that use %{name}. %build -%cmake3 +%cmake3 -DHAVE_LIBM_MATH=YES %cmake3_build @@ -68,18 +68,22 @@ developing applications that use %{name}. %files -%doc README.md VERSIONS.md +%doc README.md NOTICE CHANGELOG.md %license LICENSE -%{_libdir}/*.so.* +%{_bindir}/zfp +%{_libdir}/libzfp.so.1* %files devel %doc examples %{_includedir}/* -%{_libdir}/*.so +%{_libdir}/libzfp.so %{_libdir}/cmake/zfp/ %changelog +* Sun Jun 04 2023 Orion Poplawski - 1.0.0-1 +- Update to 1.0.0 + * Sat Jan 21 2023 Fedora Release Engineering - 0.5.5-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From e61c95861968325332af8ed97463dfc908cc582d Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 19:40:40 +0000 Subject: [PATCH 14/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 5b0c467..17d8e8a 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -81,6 +81,9 @@ developing applications that use %{name}. %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sun Jun 04 2023 Orion Poplawski - 1.0.0-1 - Update to 1.0.0 From 4e6d69379dcc98de814c348e6d49b8d189f69fd9 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sat, 16 Dec 2023 15:15:31 -0700 Subject: [PATCH 15/27] Update to 1.0.1 --- .gitignore | 1 + sources | 2 +- zfp.spec | 9 ++++++--- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 9b423cd..4c6e0db 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ /zfp-0.5.4.tar.gz /zfp-0.5.5.tar.gz /zfp-1.0.0.tar.gz +/zfp-1.0.1.tar.gz diff --git a/sources b/sources index 58cd191..f861962 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (zfp-1.0.0.tar.gz) = 68eee625379f05f8841a7a73f68b851f638f10836a38209d2585bd586c4fe77379042b2bde4b57719e986c949201afaa91dbb458acb1ec316ad9b0b6728f9c88 +SHA512 (zfp-1.0.1.tar.gz) = 5bbd98ed2f98e75c654afa863cab3023abb2eeb8f203f9049c75d5dbdf4b364cfb5c8378e10e6aaeaf13242315ad4949b06619810a67b3adaed095b7e8a48d5a diff --git a/zfp.spec b/zfp.spec index 17d8e8a..1cf01e3 100644 --- a/zfp.spec +++ b/zfp.spec @@ -2,8 +2,8 @@ %undefine __cmake3_in_source_build Name: zfp -Version: 1.0.0 -Release: 2%{?dist} +Version: 1.0.1 +Release: 1%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -56,7 +56,7 @@ developing applications that use %{name}. %build -%cmake3 -DHAVE_LIBM_MATH=YES +%cmake3 -DCMAKE_SKIP_INSTALL_RPATH=YES -DHAVE_LIBM_MATH=YES %cmake3_build @@ -81,6 +81,9 @@ developing applications that use %{name}. %changelog +* Sat Dec 16 2023 Orion Poplawski - 1.0.1-1 +- Update to 1.0.1 + * Sat Jul 22 2023 Fedora Release Engineering - 1.0.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 09062d28132f1ba141ddbb3a1b0bf5a872693cf6 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 11:05:15 +0000 Subject: [PATCH 16/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 1cf01e3..41efc61 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -81,6 +81,9 @@ developing applications that use %{name}. %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Sat Dec 16 2023 Orion Poplawski - 1.0.1-1 - Update to 1.0.1 From fc760dd65485cac395f7990ac2320353b589f9bf Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 10:51:19 +0000 Subject: [PATCH 17/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 41efc61..57979bf 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access License: BSD @@ -81,6 +81,9 @@ developing applications that use %{name}. %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Sat Jan 27 2024 Fedora Release Engineering - 1.0.1-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From 9817876968091be7d4554780750ed901fa1c5d72 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Such=C3=BD?= Date: Wed, 4 Sep 2024 23:02:04 +0200 Subject: [PATCH 18/27] convert license to SPDX This is part of https://fedoraproject.org/wiki/Changes/SPDX_Licenses_Phase_4 --- zfp.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/zfp.spec b/zfp.spec index 57979bf..0714deb 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,10 +3,11 @@ Name: zfp Version: 1.0.1 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access -License: BSD +# Automatically converted from old format: BSD - review is highly recommended. +License: LicenseRef-Callaway-BSD URL: https://computation.llnl.gov/projects/floating-point-compression Source0: https://github.com/LLNL/%{name}/archive/%{version}/%{name}-%{version}.tar.gz @@ -81,6 +82,9 @@ developing applications that use %{name}. %changelog +* Wed Sep 04 2024 Miroslav Suchý - 1.0.1-4 +- convert license to SPDX + * Sat Jul 20 2024 Fedora Release Engineering - 1.0.1-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From d8f72494c7d58ce0e108989c4a3e7e9cdb851f69 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 16:45:11 +0000 Subject: [PATCH 19/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 0714deb..d07c33c 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 4%{?dist} +Release: 5%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access # Automatically converted from old format: BSD - review is highly recommended. @@ -82,6 +82,9 @@ developing applications that use %{name}. %changelog +* Sun Jan 19 2025 Fedora Release Engineering - 1.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + * Wed Sep 04 2024 Miroslav Suchý - 1.0.1-4 - convert license to SPDX From 81522306ecd636c6b74f27867b826b8bcfa179df Mon Sep 17 00:00:00 2001 From: Elliott Sales de Andrade Date: Sun, 19 Jan 2025 01:40:24 -0500 Subject: [PATCH 20/27] Add Python subpackage --- 237.patch | 155 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ zfp.spec | 30 ++++++++++- 2 files changed, 183 insertions(+), 2 deletions(-) create mode 100644 237.patch diff --git a/237.patch b/237.patch new file mode 100644 index 0000000..2ec07db --- /dev/null +++ b/237.patch @@ -0,0 +1,155 @@ +From 37004a11e24a383d82b762dc44e542ddbd93ce6c Mon Sep 17 00:00:00 2001 +From: William Silversmith +Date: Wed, 3 Jul 2024 15:26:38 -0400 +Subject: [PATCH 1/3] fix: setup.py + set language level for cython + +--- + python/zfpy.pxd | 2 ++ + python/zfpy.pyx | 2 ++ + setup.py | 24 ++++++++++++++++++++---- + 3 files changed, 24 insertions(+), 4 deletions(-) + +diff --git a/python/zfpy.pxd b/python/zfpy.pxd +index c92c29833..067bd90a4 100644 +--- a/python/zfpy.pxd ++++ b/python/zfpy.pxd +@@ -1,3 +1,5 @@ ++# cython: language_level=3 ++ + import cython + cimport libc.stdint as stdint + from libc.stddef cimport ptrdiff_t +diff --git a/python/zfpy.pyx b/python/zfpy.pyx +index 0b7a19e1c..0d1eb5230 100644 +--- a/python/zfpy.pyx ++++ b/python/zfpy.pyx +@@ -1,3 +1,5 @@ ++# cython: language_level=3 ++ + import sys + import operator + import functools +diff --git a/setup.py b/setup.py +index fa2da6efc..544ae2918 100644 +--- a/setup.py ++++ b/setup.py +@@ -1,15 +1,31 @@ + from setuptools import setup, Extension +-import numpy as np ++ ++class NumpyImport: ++ def __repr__(self): ++ import numpy as np ++ ++ return np.get_include() ++ ++ __fspath__ = __repr__ + + setup( + name="zfpy", ++ setup_requires=["numpy", "cython"], + version="1.0.1", + author="Peter Lindstrom, Danielle Asher", + author_email="zfp@llnl.gov", + url="https://zfp.llnl.gov", + description="zfp compression in Python", + long_description="zfp is a compressed format for representing multidimensional floating-point and integer arrays. zfp provides compressed-array classes that support high throughput read and write random access to individual array elements. zfp also supports serial and parallel compression of whole arrays using both lossless and lossy compression with error tolerances. zfp is primarily written in C and C++ but also includes Python and Fortran bindings.", +- ext_modules=[Extension("zfpy", ["build/python/zfpy.c"], +- include_dirs=["include", np.get_include()], +- libraries=["zfp"], library_dirs=["build/lib64", "build/lib/Release"]), language_level = "3"] ++ ext_modules=[ ++ Extension( ++ "zfpy", ++ sources=["python/zfpy.pyx"], ++ include_dirs=["include", str(NumpyImport())], ++ libraries=["zfp"], ++ library_dirs=["build/lib64", "build/lib/Release"], ++ language_level=3, ++ lanugage="c", ++ ), ++ ], + ) + +From 923f7c6ccab15e3820d8893226e44b9711d59a19 Mon Sep 17 00:00:00 2001 +From: William Silversmith +Date: Wed, 3 Jul 2024 15:30:14 -0400 +Subject: [PATCH 2/3] chore: add trove classifiers + +--- + setup.py | 17 +++++++++++++++++ + 1 file changed, 17 insertions(+) + +diff --git a/setup.py b/setup.py +index 544ae2918..90b37865c 100644 +--- a/setup.py ++++ b/setup.py +@@ -15,6 +15,7 @@ def __repr__(self): + author="Peter Lindstrom, Danielle Asher", + author_email="zfp@llnl.gov", + url="https://zfp.llnl.gov", ++ license="License :: OSI Approved :: BSD License", + description="zfp compression in Python", + long_description="zfp is a compressed format for representing multidimensional floating-point and integer arrays. zfp provides compressed-array classes that support high throughput read and write random access to individual array elements. zfp also supports serial and parallel compression of whole arrays using both lossless and lossy compression with error tolerances. zfp is primarily written in C and C++ but also includes Python and Fortran bindings.", + ext_modules=[ +@@ -28,4 +29,20 @@ def __repr__(self): + lanugage="c", + ), + ], ++ classifiers=[ ++ "Intended Audience :: Developers", ++ "Development Status :: 4 - Beta", ++ "License :: OSI Approved :: BSD License", ++ "Programming Language :: Python :: 3", ++ "Programming Language :: Python :: 3.8", ++ "Programming Language :: Python :: 3.9", ++ "Programming Language :: Python :: 3.10", ++ "Programming Language :: Python :: 3.11", ++ "Programming Language :: Python :: 3.12", ++ "Topic :: Scientific/Engineering :: Image Processing", ++ "Topic :: System :: Archiving :: Compression", ++ "Operating System :: POSIX", ++ "Operating System :: MacOS", ++ "Operating System :: Microsoft :: Windows :: Windows 10", ++ ], + ) + +From 3b11d3169170e7125414fee1e4bb3f8ad753648d Mon Sep 17 00:00:00 2001 +From: William Silversmith +Date: Wed, 3 Jul 2024 15:41:18 -0400 +Subject: [PATCH 3/3] install: add MANIFEST.in and pyproject.toml + +--- + MANIFEST.in | 6 ++++++ + pyproject.toml | 8 ++++++++ + 2 files changed, 14 insertions(+) + create mode 100644 MANIFEST.in + create mode 100644 pyproject.toml + +diff --git a/MANIFEST.in b/MANIFEST.in +new file mode 100644 +index 000000000..a34c60c68 +--- /dev/null ++++ b/MANIFEST.in +@@ -0,0 +1,6 @@ ++include python/zfpy.pxd ++include python/zfpy.pyx ++recursive-include include *.h ++recursive-include src *.c *.h ++include LICENSE ++include pyproject.toml +\ No newline at end of file +diff --git a/pyproject.toml b/pyproject.toml +new file mode 100644 +index 000000000..f43c81a75 +--- /dev/null ++++ b/pyproject.toml +@@ -0,0 +1,8 @@ ++[build-system] ++requires = [ ++ "setuptools", ++ "wheel", ++ "cython", ++ "oldest-supported-numpy; python_version<'3.9'", ++ 'numpy; python_version>="3.9"', ++] +\ No newline at end of file diff --git a/zfp.spec b/zfp.spec index d07c33c..09f11a0 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,13 +3,15 @@ Name: zfp Version: 1.0.1 -Release: 5%{?dist} +Release: 6%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access # Automatically converted from old format: BSD - review is highly recommended. License: LicenseRef-Callaway-BSD URL: https://computation.llnl.gov/projects/floating-point-compression Source0: https://github.com/LLNL/%{name}/archive/%{version}/%{name}-%{version}.tar.gz +# Fix setup.py syntax and add pyproject.toml. +Patch: https://github.com/LLNL/%{name}/pull/237.patch BuildRequires: cmake3 BuildRequires: gcc-c++ @@ -52,18 +54,37 @@ The %{name}-devel package contains libraries and header files for developing applications that use %{name}. +%package -n python3-zfpy +Summary: zfp compression in Python + +BuildRequires: python3-devel + +%description -n python3-zfpy +The python3-zfpy package contains a Python library for using %{name}. + + %prep -%setup -q +%autosetup -p1 + + +%generate_buildrequires +%pyproject_buildrequires %build %cmake3 -DCMAKE_SKIP_INSTALL_RPATH=YES -DHAVE_LIBM_MATH=YES %cmake3_build +export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/" +%pyproject_wheel + %install %cmake3_install +%pyproject_install +%pyproject_save_files -l zfpy + %ldconfig_scriptlets @@ -80,8 +101,13 @@ developing applications that use %{name}. %{_libdir}/libzfp.so %{_libdir}/cmake/zfp/ +%files -n python3-zfpy -f %{pyproject_files} + %changelog +* Tue Jan 21 2025 Elliott Sales de Andrade - 1.0.1-6 +- Add Python subpackage + * Sun Jan 19 2025 Fedora Release Engineering - 1.0.1-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 2873f4ee65a1a6cce2d76d8c787b133bbe78c500 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Tue, 3 Jun 2025 12:32:30 +0200 Subject: [PATCH 21/27] Rebuilt for Python 3.14 --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index 09f11a0..fabb472 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 6%{?dist} +Release: 7%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access # Automatically converted from old format: BSD - review is highly recommended. @@ -105,6 +105,9 @@ export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/" %changelog +* Tue Jun 03 2025 Python Maint - 1.0.1-7 +- Rebuilt for Python 3.14 + * Tue Jan 21 2025 Elliott Sales de Andrade - 1.0.1-6 - Add Python subpackage From d28f4953e9d3891b761d9824fe3d68f91c7fc505 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 21:17:53 +0000 Subject: [PATCH 22/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index fabb472..ff6e3a5 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 7%{?dist} +Release: 8%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access # Automatically converted from old format: BSD - review is highly recommended. @@ -105,6 +105,9 @@ export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/" %changelog +* Fri Jul 25 2025 Fedora Release Engineering - 1.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + * Tue Jun 03 2025 Python Maint - 1.0.1-7 - Rebuilt for Python 3.14 From 28ad0130f0be1f8a86e8fb13027445f0692ba66b Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 21:07:47 +0000 Subject: [PATCH 23/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild --- zfp.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zfp.spec b/zfp.spec index ff6e3a5..308089e 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 8%{?dist} +Release: 9%{?dist} Summary: Library for compressed numerical arrays with high throughput R/W random access # Automatically converted from old format: BSD - review is highly recommended. @@ -105,6 +105,9 @@ export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/" %changelog +* Sat Jan 17 2026 Fedora Release Engineering - 1.0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + * Fri Jul 25 2025 Fedora Release Engineering - 1.0.1-8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 85a007f3ad33c4c3e063eb3d0122faf984f8fb38 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 7 Jun 2026 14:44:25 -0600 Subject: [PATCH 24/27] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++++ zfp.spec | 68 ++----------------------------------------------------- 2 files changed, 67 insertions(+), 66 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..31fcc68 --- /dev/null +++ b/changelog @@ -0,0 +1,65 @@ +* Sat Jan 17 2026 Fedora Release Engineering - 1.0.1-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild + +* Fri Jul 25 2025 Fedora Release Engineering - 1.0.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild + +* Tue Jun 03 2025 Python Maint - 1.0.1-7 +- Rebuilt for Python 3.14 + +* Tue Jan 21 2025 Elliott Sales de Andrade - 1.0.1-6 +- Add Python subpackage + +* Sun Jan 19 2025 Fedora Release Engineering - 1.0.1-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild + +* Wed Sep 04 2024 Miroslav Suchý - 1.0.1-4 +- convert license to SPDX + +* Sat Jul 20 2024 Fedora Release Engineering - 1.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Sat Jan 27 2024 Fedora Release Engineering - 1.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sat Dec 16 2023 Orion Poplawski - 1.0.1-1 +- Update to 1.0.1 + +* Sat Jul 22 2023 Fedora Release Engineering - 1.0.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sun Jun 04 2023 Orion Poplawski - 1.0.0-1 +- Update to 1.0.0 + +* Sat Jan 21 2023 Fedora Release Engineering - 0.5.5-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sat Jul 23 2022 Fedora Release Engineering - 0.5.5-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Sat Jan 22 2022 Fedora Release Engineering - 0.5.5-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Thu Jan 28 2021 Fedora Release Engineering - 0.5.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sat Aug 08 2020 Orion Poplawski - 0.5.5-1 +- Update to 0.5.5 + +* Wed Jul 29 2020 Fedora Release Engineering - 0.5.4-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Fri Jan 31 2020 Fedora Release Engineering - 0.5.4-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Sat Jul 27 2019 Fedora Release Engineering - 0.5.4-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Sun Feb 24 2019 Orion Poplawski - 0.5.4-1 +- Update to 0.5.4 + +* Tue May 9 2017 Orion Poplawski - 0.5.1-1 +- Initial Fedora package diff --git a/zfp.spec b/zfp.spec index 308089e..e82930f 100644 --- a/zfp.spec +++ b/zfp.spec @@ -3,7 +3,7 @@ Name: zfp Version: 1.0.1 -Release: 9%{?dist} +Release: %autorelease Summary: Library for compressed numerical arrays with high throughput R/W random access # Automatically converted from old format: BSD - review is highly recommended. @@ -105,68 +105,4 @@ export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/" %changelog -* Sat Jan 17 2026 Fedora Release Engineering - 1.0.1-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild - -* Fri Jul 25 2025 Fedora Release Engineering - 1.0.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild - -* Tue Jun 03 2025 Python Maint - 1.0.1-7 -- Rebuilt for Python 3.14 - -* Tue Jan 21 2025 Elliott Sales de Andrade - 1.0.1-6 -- Add Python subpackage - -* Sun Jan 19 2025 Fedora Release Engineering - 1.0.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild - -* Wed Sep 04 2024 Miroslav Suchý - 1.0.1-4 -- convert license to SPDX - -* Sat Jul 20 2024 Fedora Release Engineering - 1.0.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Sat Jan 27 2024 Fedora Release Engineering - 1.0.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Sat Dec 16 2023 Orion Poplawski - 1.0.1-1 -- Update to 1.0.1 - -* Sat Jul 22 2023 Fedora Release Engineering - 1.0.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sun Jun 04 2023 Orion Poplawski - 1.0.0-1 -- Update to 1.0.0 - -* Sat Jan 21 2023 Fedora Release Engineering - 0.5.5-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Sat Jul 23 2022 Fedora Release Engineering - 0.5.5-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Sat Jan 22 2022 Fedora Release Engineering - 0.5.5-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 0.5.5-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Thu Jan 28 2021 Fedora Release Engineering - 0.5.5-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Aug 08 2020 Orion Poplawski - 0.5.5-1 -- Update to 0.5.5 - -* Wed Jul 29 2020 Fedora Release Engineering - 0.5.4-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Fri Jan 31 2020 Fedora Release Engineering - 0.5.4-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Sat Jul 27 2019 Fedora Release Engineering - 0.5.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Sun Feb 24 2019 Orion Poplawski - 0.5.4-1 -- Update to 0.5.4 - -* Tue May 9 2017 Orion Poplawski - 0.5.1-1 -- Initial Fedora package +%autochangelog From e96d793b3b195228930ad80081b8eb7413d43b33 Mon Sep 17 00:00:00 2001 From: Orion Poplawski Date: Sun, 7 Jun 2026 14:48:43 -0600 Subject: [PATCH 25/27] Rebuild for Python 3.15 Update URL Change cmake3 -> cmake Update license to BSD-3-Clause Add explicit requires on main package to python3-zfpy --- zfp.spec | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/zfp.spec b/zfp.spec index e82930f..8d60460 100644 --- a/zfp.spec +++ b/zfp.spec @@ -1,19 +1,17 @@ %undefine __cmake_in_source_build -%undefine __cmake3_in_source_build Name: zfp Version: 1.0.1 Release: %autorelease Summary: Library for compressed numerical arrays with high throughput R/W random access -# Automatically converted from old format: BSD - review is highly recommended. -License: LicenseRef-Callaway-BSD -URL: https://computation.llnl.gov/projects/floating-point-compression +License: BSD-3-Clause +URL: https://computing.llnl.gov/projects/zfp Source0: https://github.com/LLNL/%{name}/archive/%{version}/%{name}-%{version}.tar.gz # Fix setup.py syntax and add pyproject.toml. Patch: https://github.com/LLNL/%{name}/pull/237.patch -BuildRequires: cmake3 +BuildRequires: cmake BuildRequires: gcc-c++ %description @@ -58,6 +56,7 @@ developing applications that use %{name}. Summary: zfp compression in Python BuildRequires: python3-devel +Requires: %{name}%{?_isa} = %{version}-%{release} %description -n python3-zfpy The python3-zfpy package contains a Python library for using %{name}. @@ -72,15 +71,15 @@ The python3-zfpy package contains a Python library for using %{name}. %build -%cmake3 -DCMAKE_SKIP_INSTALL_RPATH=YES -DHAVE_LIBM_MATH=YES -%cmake3_build +%cmake -DCMAKE_SKIP_INSTALL_RPATH=YES -DHAVE_LIBM_MATH=YES +%cmake_build export LDFLAGS="$LDFLAGS -L$PWD/%{_vpath_builddir}/%{_lib}/" %pyproject_wheel %install -%cmake3_install +%cmake_install %pyproject_install %pyproject_save_files -l zfpy From d32bd4d4cf25b2d8f32b670e59f22b06b1bc3d02 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 09:40:09 +0000 Subject: [PATCH 26/27] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild From 7f9a6eb4b6a3d37982e8831552bc1bbb07777e84 Mon Sep 17 00:00:00 2001 From: Python Maint Date: Wed, 22 Jul 2026 10:16:15 +0200 Subject: [PATCH 27/27] Rebuilt for Python 3.15.0b4 ABI change