From 0aaeecd47d464eae46997bed664e435adf238066 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Thu, 8 Dec 2022 15:09:22 +0100 Subject: [PATCH 01/25] Rebase to 5.6.0 Resolves: rhbz#2148994 --- sources | 2 +- wavpack.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sources b/sources index 4f78a24..e33a273 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wavpack-5.5.0.tar.bz2) = bf2b32c90850f1adaddb92b4996371b5cdb1a366bfed9967c39215dec4a7cc1a0474352db72e699f3eed32451a6c1ff33221457330577a403a73e4158297c68e +SHA512 (wavpack-5.6.0.tar.bz2) = f74593e1e0d527729e08453b3c83ff56b4acc0e75e74f4903fc82e8265a9aa91436d33bf0d1ace208dc0ce60e798ca0830f6e9f9bbd38d3a7f392f6c9cf013fe diff --git a/wavpack.spec b/wavpack.spec index 6b44e75..e669b0b 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec -Version: 5.5.0 -Release: 2%{?dist} +Version: 5.6.0 +Release: 1%{?dist} License: BSD Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -69,6 +69,10 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Thu Dec 08 2022 Tomas Korbar - 5.6.0-1 +- Rebase to 5.6.0 +- Resolves: rhbz#2148994 + * Sat Jul 23 2022 Fedora Release Engineering - 5.5.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild From 1b7c8f7cfe94be4db20e06ecd8421b9e93937ef3 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 21 Jan 2023 06:37:46 +0000 Subject: [PATCH 02/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wavpack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wavpack.spec b/wavpack.spec index e669b0b..85c359a 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.6.0 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -69,6 +69,9 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Sat Jan 21 2023 Fedora Release Engineering - 5.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + * Thu Dec 08 2022 Tomas Korbar - 5.6.0-1 - Rebase to 5.6.0 - Resolves: rhbz#2148994 From 65ace30c12ec5974f9109c04f0e588934379178e Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Sat, 11 Mar 2023 12:11:18 +0100 Subject: [PATCH 03/25] Change the License tag to the SPDX format --- wavpack.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wavpack.spec b/wavpack.spec index 85c359a..286a048 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,8 +1,8 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.6.0 -Release: 2%{?dist} -License: BSD +Release: 3%{?dist} +License: BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 # For autoreconf @@ -69,6 +69,9 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Sat Mar 11 2023 Tomas Korbar - 5.6.0-3 +- Change the License tag to the SPDX format + * Sat Jan 21 2023 Fedora Release Engineering - 5.6.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild From d93313bb159beaa8ea880cb838794617cc99e0ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franti=C5=A1ek=20Hrdina?= Date: Mon, 3 Apr 2023 09:11:58 +0200 Subject: [PATCH 04/25] Adding fmf plan and gating.yaml --- .fmf/version | 1 + gating.yaml | 16 ++++++++++++++++ plans/all.fmf | 6 ++++++ 3 files changed, 23 insertions(+) create mode 100644 .fmf/version create mode 100644 gating.yaml create mode 100644 plans/all.fmf diff --git a/.fmf/version b/.fmf/version new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/.fmf/version @@ -0,0 +1 @@ +1 diff --git a/gating.yaml b/gating.yaml new file mode 100644 index 0000000..195c6fe --- /dev/null +++ b/gating.yaml @@ -0,0 +1,16 @@ +--- !Policy +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_testing] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} + +#gating rawhide +--- !Policy +product_versions: + - fedora-* +decision_contexts: [bodhi_update_push_stable] +subject_type: koji_build +rules: + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} \ No newline at end of file diff --git a/plans/all.fmf b/plans/all.fmf new file mode 100644 index 0000000..ad0edac --- /dev/null +++ b/plans/all.fmf @@ -0,0 +1,6 @@ +summary: Test plan with all Fedora tests +discover: + how: fmf + url: https://src.fedoraproject.org/tests/wavpack.git +execute: + how: tmt From f4c5da67eff2b0929e3a61218c430277ae92f209 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 22 Jul 2023 17:59:55 +0000 Subject: [PATCH 05/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild Signed-off-by: Fedora Release Engineering --- wavpack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wavpack.spec b/wavpack.spec index 286a048..c7e21b6 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.6.0 -Release: 3%{?dist} +Release: 4%{?dist} License: BSD-3-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -69,6 +69,9 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Sat Jul 22 2023 Fedora Release Engineering - 5.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + * Sat Mar 11 2023 Tomas Korbar - 5.6.0-3 - Change the License tag to the SPDX format From d92f8fb294313eba4546c1781eeccef063989312 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Thu, 2 Nov 2023 09:44:36 +0100 Subject: [PATCH 06/25] Add licenses to fully conform to SPDX --- wavpack.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/wavpack.spec b/wavpack.spec index c7e21b6..236f402 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,8 +1,8 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.6.0 -Release: 4%{?dist} -License: BSD-3-Clause AND LicenseRef-Fedora-Public-Domain +Release: 5%{?dist} +License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 # For autoreconf @@ -69,6 +69,9 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Thu Nov 02 2023 Tomas Korbar - 5.6.0-5 +- Add licenses to fully conform to SPDX + * Sat Jul 22 2023 Fedora Release Engineering - 5.6.0-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild From 0d4d1adb0ad397786fc8ef0a4c823fb7146f5fd0 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 27 Jan 2024 08:25:28 +0000 Subject: [PATCH 07/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild --- wavpack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wavpack.spec b/wavpack.spec index 236f402..9cc3c31 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.6.0 -Release: 5%{?dist} +Release: 6%{?dist} License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -69,6 +69,9 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Sat Jan 27 2024 Fedora Release Engineering - 5.6.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + * Thu Nov 02 2023 Tomas Korbar - 5.6.0-5 - Add licenses to fully conform to SPDX From 6da0e2f7c4391c08ec848dac205e179d023b8541 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Wed, 13 Mar 2024 12:47:53 +0100 Subject: [PATCH 08/25] Rebase to 5.7.0 Resolves: rhbz#2267425 --- sources | 2 +- wavpack.spec | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/sources b/sources index e33a273..c3ae404 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wavpack-5.6.0.tar.bz2) = f74593e1e0d527729e08453b3c83ff56b4acc0e75e74f4903fc82e8265a9aa91436d33bf0d1ace208dc0ce60e798ca0830f6e9f9bbd38d3a7f392f6c9cf013fe +SHA512 (wavpack-5.7.0.tar.bz2) = cb95efd9eebd1c733a72951b9e3340d4a36cb587ee61c5d3c801d8fdcc560e0669fbb3cc6d6caf06a928c1236f63573c888f78ca16dc2e4599b72c26c7024ad2 diff --git a/wavpack.spec b/wavpack.spec index 9cc3c31..65c0c93 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec -Version: 5.6.0 -Release: 6%{?dist} +Version: 5.7.0 +Release: 1%{?dist} License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -69,6 +69,10 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Wed Mar 13 2024 Tomas Korbar - 5.7.0-1 +- Rebase to 5.7.0 +- Resolves: rhbz#2267425 + * Sat Jan 27 2024 Fedora Release Engineering - 5.6.0-6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild From f0a60c0c04b855ecffd7cfa388f20107703f06e4 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 20 Jul 2024 09:08:51 +0000 Subject: [PATCH 09/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild --- wavpack.spec | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/wavpack.spec b/wavpack.spec index 65c0c93..3d19b81 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.7.0 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -69,6 +69,9 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Sat Jul 20 2024 Fedora Release Engineering - 5.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + * Wed Mar 13 2024 Tomas Korbar - 5.7.0-1 - Rebase to 5.7.0 - Resolves: rhbz#2267425 From f79c405956ff8c4bc92ec9fda5a4798a7d5382c1 Mon Sep 17 00:00:00 2001 From: Tomas Korbar Date: Mon, 29 Jul 2024 13:19:10 +0200 Subject: [PATCH 10/25] Disable asm code parts ASM code parts break support for cf-protection on x86_64, since they do not contain such feature. This situation is likely to repeat in the future and thus all code parts should be compiled by compiler which knows distribution settings. --- wavpack.spec | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/wavpack.spec b/wavpack.spec index 3d19b81..e5b4be4 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.7.0 -Release: 2%{?dist} +Release: 3%{?dist} License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -37,10 +37,7 @@ autoreconf -ivf # for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7 # architecture will fail. # http://lists.busybox.net/pipermail/buildroot/2015-October/142117.html -%configure --disable-static --disable-rpath \ -%ifarch armv3l armv4b armv4l armv4tl armv5tel armv5tejl armv6l armv6hl - --disable-asm \ -%endif +%configure --disable-static --disable-rpath --disable-asm make %{?_smp_mflags} @@ -69,6 +66,14 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog +* Mon Jul 29 2024 Tomas Korbar - 5.7.0-3 +- Disable asm code parts +- ASM code parts break support for cf-protection on x86_64, + since they do not contain such feature. This situation is + likely to repeat in the future and thus all code parts + should be compiled by compiler which knows distribution + settings. + * Sat Jul 20 2024 Fedora Release Engineering - 5.7.0-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild From e669d92e915808a13b27c5b69909600d0635edfb Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2024 17:07:07 +0300 Subject: [PATCH 11/25] Convert to %autorelease and %autochangelog [skip changelog] --- changelog | 222 ++++++++++++++++++++++++++++++++++++++++++++++++++ wavpack.spec | 226 +-------------------------------------------------- 2 files changed, 224 insertions(+), 224 deletions(-) create mode 100644 changelog diff --git a/changelog b/changelog new file mode 100644 index 0000000..6813ddb --- /dev/null +++ b/changelog @@ -0,0 +1,222 @@ +* Mon Jul 29 2024 Tomas Korbar - 5.7.0-3 +- Disable asm code parts +- ASM code parts break support for cf-protection on x86_64, + since they do not contain such feature. This situation is + likely to repeat in the future and thus all code parts + should be compiled by compiler which knows distribution + settings. + +* Sat Jul 20 2024 Fedora Release Engineering - 5.7.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild + +* Wed Mar 13 2024 Tomas Korbar - 5.7.0-1 +- Rebase to 5.7.0 +- Resolves: rhbz#2267425 + +* Sat Jan 27 2024 Fedora Release Engineering - 5.6.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Nov 02 2023 Tomas Korbar - 5.6.0-5 +- Add licenses to fully conform to SPDX + +* Sat Jul 22 2023 Fedora Release Engineering - 5.6.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Sat Mar 11 2023 Tomas Korbar - 5.6.0-3 +- Change the License tag to the SPDX format + +* Sat Jan 21 2023 Fedora Release Engineering - 5.6.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Thu Dec 08 2022 Tomas Korbar - 5.6.0-1 +- Rebase to 5.6.0 +- Resolves: rhbz#2148994 + +* Sat Jul 23 2022 Fedora Release Engineering - 5.5.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jul 13 2022 Tomas Korbar - 5.5.0-1 +- Rebase to 5.5.0 +- Resolves: rhbz#2105686 + +* Wed Apr 6 2022 Peter Lemenkov - 5.4.0-5 +- Fix for CVE-2021-44269 + +* Sat Jan 22 2022 Fedora Release Engineering - 5.4.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Fri Jul 23 2021 Fedora Release Engineering - 5.4.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Wed Jan 27 2021 Fedora Release Engineering - 5.4.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Sun Jan 17 2021 Sérgio Basto - 5.4.0-1 +- Update wavpack to 5.4.0 (#1915740) +- Security fix for CVE-2020-35738 + +* Wed Jul 29 2020 Fedora Release Engineering - 5.3.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Sat Apr 18 2020 Peter Lemenkov - 5.3.0-1 +- Update to 5.3.0 + +* Fri Jan 31 2020 Fedora Release Engineering - 5.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Thu Jan 09 2020 Tomas Korbar - 5.2.0-1 +- Update to 5.2.0 + +* Mon Aug 19 2019 Tomas Korbar - 5.1.0-16 +- Fix for CVE-2019-1010317 + +* Mon Aug 19 2019 Tomas Korbar - 5.1.0-15 +- Fix for CVE-2019-1010319 + +* Sat Jul 27 2019 Fedora Release Engineering - 5.1.0-14 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri May 17 2019 Peter Lemenkov - 5.1.0-13 +- Fix for CVE-2019-11498 + +* Wed Apr 10 2019 Peter Lemenkov - 5.1.0-12 +- Fix for CVE-2018-19840, CVE-2018-19841 + +* Thu Feb 28 2019 Sérgio Basto - 5.1.0-11 +- Make the manual pages decompression format agnostic + +* Sun Feb 03 2019 Fedora Release Engineering - 5.1.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Sat Jul 14 2018 Fedora Release Engineering - 5.1.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Tue May 22 2018 Miroslav Lichvar - 5.1.0-8 +- Fix for CVE-2018-10536, CVE-2018-10537, CVE-2018-10538, CVE-2018-10539, + CVE-2018-10540 + +* Tue Feb 20 2018 Peter Lemenkov - 5.1.0-7 +- Fix for CVE-2018-6767, CVE-2018-7253, and two more GH issues + +* Fri Feb 09 2018 Fedora Release Engineering - 5.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Sat Feb 03 2018 Igor Gnatenko - 5.1.0-5 +- Switch to %%ldconfig_scriptlets + +* Thu Aug 03 2017 Fedora Release Engineering - 5.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Thu Jul 27 2017 Fedora Release Engineering - 5.1.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Sat Feb 11 2017 Fedora Release Engineering - 5.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Wed Feb 01 2017 Sérgio Basto - 5.1.0-1 +- Update wavpack to 5.1.0 + +* Thu Apr 21 2016 Sérgio Basto - 4.80.0-1 +- Update wavpack to 4.80.0 + +* Mon Mar 28 2016 Sérgio Basto - 4.75.2-1 +- Update to 4.75.2 + +* Fri Feb 05 2016 Fedora Release Engineering - 4.70.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Fri Jun 19 2015 Fedora Release Engineering - 4.70.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Sat Feb 21 2015 Till Maas - 4.70.0-4 +- Rebuilt for Fedora 23 Change + https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code + +* Mon Aug 18 2014 Fedora Release Engineering - 4.70.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sun Jun 08 2014 Fedora Release Engineering - 4.70.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Mon Feb 17 2014 Peter Lemenkov - 4.70.0-1 +- Ver. 4.70.0 + +* Sun Aug 04 2013 Fedora Release Engineering - 4.60.1-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Sun Jul 21 2013 Peter Lemenkov - 4.60.1-7 +- Reconfigure to allow building on AArch64 +- Cleanup spec-file + +* Fri Feb 15 2013 Fedora Release Engineering - 4.60.1-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Jan 3 2013 Miroslav Lichvar 4.60.1-5 +- Fix -Wstrict-aliasing compiler warnings + +* Sun Jul 22 2012 Fedora Release Engineering - 4.60.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jan 14 2012 Fedora Release Engineering - 4.60.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Mon Feb 07 2011 Fedora Release Engineering - 4.60.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Sun Jan 9 2011 Peter Lemenkov 4.60.1-1 +- Version 4.60.1 (bugfix release) +- Added man-pages +- The only patch was rebased +- Small cosmetic spec-file cleanups + +* Mon Sep 28 2009 Peter Lemenkov 4.60-1 +- Version 4.60 + +* Mon Jul 27 2009 Fedora Release Engineering - 4.50.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 4.50.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sat Aug 30 2008 Peter Lemenkov 4.50.1-2 +- Fixes to meet the Fedora Packaging Guidelines + +* Sun Aug 24 2008 Peter Lemenkov 4.50.1-1 +- Version 4.50.1 + +* Wed Jun 18 2008 Peter Lemenkov 4.50-1 +- Version 4.50 + +* Tue Feb 19 2008 Fedora Release Engineering - 4.41-2 +- Autorebuild for GCC 4.3 + +* Sat May 12 2007 Peter Lemenkov 4.41-1 +- Version 4.41 +- Removed unnecessary --with-pic + +* Fri Dec 15 2006 Peter Lemenkov 4.40-1.1 +- Rebuild + +* Fri Dec 15 2006 Peter Lemenkov 4.40-1 +- Version 4.40 + +* Tue Sep 12 2006 Peter Lemenkov 4.32-3%{?dist} +- Rebuild for FC6 + +* Sat Jul 01 2006 Peter Lemenkov 4.32-2%{?dist} +- force PIC-only code + +* Wed Jun 28 2006 Peter Lemenkov 4.32-1%{?dist} +- Version 4.32 + +* Thu Mar 30 2006 Peter Lemenkov 4.31-2%{?dist} +- rebuild + +* Sat Jan 07 2006 Peter Lemenkov 4.31-1 +- Fixed several issues with wavpack.pc.in +- Cosmetic fixes. +- Version 4.31 + +* Sun Nov 13 2005 Peter Lemenkov 4.3-1 +- Initial build for FC-Extras +- Version 4.3 diff --git a/wavpack.spec b/wavpack.spec index e5b4be4..d170f72 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,7 +1,7 @@ Name: wavpack Summary: A completely open audiocodec Version: 5.7.0 -Release: 3%{?dist} +Release: %autorelease License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 @@ -66,226 +66,4 @@ rm -rf %{buildroot}/%{_docdir}/ %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf %changelog -* Mon Jul 29 2024 Tomas Korbar - 5.7.0-3 -- Disable asm code parts -- ASM code parts break support for cf-protection on x86_64, - since they do not contain such feature. This situation is - likely to repeat in the future and thus all code parts - should be compiled by compiler which knows distribution - settings. - -* Sat Jul 20 2024 Fedora Release Engineering - 5.7.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild - -* Wed Mar 13 2024 Tomas Korbar - 5.7.0-1 -- Rebase to 5.7.0 -- Resolves: rhbz#2267425 - -* Sat Jan 27 2024 Fedora Release Engineering - 5.6.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild - -* Thu Nov 02 2023 Tomas Korbar - 5.6.0-5 -- Add licenses to fully conform to SPDX - -* Sat Jul 22 2023 Fedora Release Engineering - 5.6.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild - -* Sat Mar 11 2023 Tomas Korbar - 5.6.0-3 -- Change the License tag to the SPDX format - -* Sat Jan 21 2023 Fedora Release Engineering - 5.6.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild - -* Thu Dec 08 2022 Tomas Korbar - 5.6.0-1 -- Rebase to 5.6.0 -- Resolves: rhbz#2148994 - -* Sat Jul 23 2022 Fedora Release Engineering - 5.5.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild - -* Wed Jul 13 2022 Tomas Korbar - 5.5.0-1 -- Rebase to 5.5.0 -- Resolves: rhbz#2105686 - -* Wed Apr 6 2022 Peter Lemenkov - 5.4.0-5 -- Fix for CVE-2021-44269 - -* Sat Jan 22 2022 Fedora Release Engineering - 5.4.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Jul 23 2021 Fedora Release Engineering - 5.4.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Wed Jan 27 2021 Fedora Release Engineering - 5.4.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sun Jan 17 2021 Sérgio Basto - 5.4.0-1 -- Update wavpack to 5.4.0 (#1915740) -- Security fix for CVE-2020-35738 - -* Wed Jul 29 2020 Fedora Release Engineering - 5.3.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Sat Apr 18 2020 Peter Lemenkov - 5.3.0-1 -- Update to 5.3.0 - -* Fri Jan 31 2020 Fedora Release Engineering - 5.2.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Thu Jan 09 2020 Tomas Korbar - 5.2.0-1 -- Update to 5.2.0 - -* Mon Aug 19 2019 Tomas Korbar - 5.1.0-16 -- Fix for CVE-2019-1010317 - -* Mon Aug 19 2019 Tomas Korbar - 5.1.0-15 -- Fix for CVE-2019-1010319 - -* Sat Jul 27 2019 Fedora Release Engineering - 5.1.0-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Fri May 17 2019 Peter Lemenkov - 5.1.0-13 -- Fix for CVE-2019-11498 - -* Wed Apr 10 2019 Peter Lemenkov - 5.1.0-12 -- Fix for CVE-2018-19840, CVE-2018-19841 - -* Thu Feb 28 2019 Sérgio Basto - 5.1.0-11 -- Make the manual pages decompression format agnostic - -* Sun Feb 03 2019 Fedora Release Engineering - 5.1.0-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jul 14 2018 Fedora Release Engineering - 5.1.0-9 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Tue May 22 2018 Miroslav Lichvar - 5.1.0-8 -- Fix for CVE-2018-10536, CVE-2018-10537, CVE-2018-10538, CVE-2018-10539, - CVE-2018-10540 - -* Tue Feb 20 2018 Peter Lemenkov - 5.1.0-7 -- Fix for CVE-2018-6767, CVE-2018-7253, and two more GH issues - -* Fri Feb 09 2018 Fedora Release Engineering - 5.1.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Sat Feb 03 2018 Igor Gnatenko - 5.1.0-5 -- Switch to %%ldconfig_scriptlets - -* Thu Aug 03 2017 Fedora Release Engineering - 5.1.0-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Thu Jul 27 2017 Fedora Release Engineering - 5.1.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Sat Feb 11 2017 Fedora Release Engineering - 5.1.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 01 2017 Sérgio Basto - 5.1.0-1 -- Update wavpack to 5.1.0 - -* Thu Apr 21 2016 Sérgio Basto - 4.80.0-1 -- Update wavpack to 4.80.0 - -* Mon Mar 28 2016 Sérgio Basto - 4.75.2-1 -- Update to 4.75.2 - -* Fri Feb 05 2016 Fedora Release Engineering - 4.70.0-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Fri Jun 19 2015 Fedora Release Engineering - 4.70.0-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Sat Feb 21 2015 Till Maas - 4.70.0-4 -- Rebuilt for Fedora 23 Change - https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code - -* Mon Aug 18 2014 Fedora Release Engineering - 4.70.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Jun 08 2014 Fedora Release Engineering - 4.70.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Mon Feb 17 2014 Peter Lemenkov - 4.70.0-1 -- Ver. 4.70.0 - -* Sun Aug 04 2013 Fedora Release Engineering - 4.60.1-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Sun Jul 21 2013 Peter Lemenkov - 4.60.1-7 -- Reconfigure to allow building on AArch64 -- Cleanup spec-file - -* Fri Feb 15 2013 Fedora Release Engineering - 4.60.1-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Thu Jan 3 2013 Miroslav Lichvar 4.60.1-5 -- Fix -Wstrict-aliasing compiler warnings - -* Sun Jul 22 2012 Fedora Release Engineering - 4.60.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Sat Jan 14 2012 Fedora Release Engineering - 4.60.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 4.60.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sun Jan 9 2011 Peter Lemenkov 4.60.1-1 -- Version 4.60.1 (bugfix release) -- Added man-pages -- The only patch was rebased -- Small cosmetic spec-file cleanups - -* Mon Sep 28 2009 Peter Lemenkov 4.60-1 -- Version 4.60 - -* Mon Jul 27 2009 Fedora Release Engineering - 4.50.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed Feb 25 2009 Fedora Release Engineering - 4.50.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Sat Aug 30 2008 Peter Lemenkov 4.50.1-2 -- Fixes to meet the Fedora Packaging Guidelines - -* Sun Aug 24 2008 Peter Lemenkov 4.50.1-1 -- Version 4.50.1 - -* Wed Jun 18 2008 Peter Lemenkov 4.50-1 -- Version 4.50 - -* Tue Feb 19 2008 Fedora Release Engineering - 4.41-2 -- Autorebuild for GCC 4.3 - -* Sat May 12 2007 Peter Lemenkov 4.41-1 -- Version 4.41 -- Removed unnecessary --with-pic - -* Fri Dec 15 2006 Peter Lemenkov 4.40-1.1 -- Rebuild - -* Fri Dec 15 2006 Peter Lemenkov 4.40-1 -- Version 4.40 - -* Tue Sep 12 2006 Peter Lemenkov 4.32-3%{?dist} -- Rebuild for FC6 - -* Sat Jul 01 2006 Peter Lemenkov 4.32-2%{?dist} -- force PIC-only code - -* Wed Jun 28 2006 Peter Lemenkov 4.32-1%{?dist} -- Version 4.32 - -* Thu Mar 30 2006 Peter Lemenkov 4.31-2%{?dist} -- rebuild - -* Sat Jan 07 2006 Peter Lemenkov 4.31-1 -- Fixed several issues with wavpack.pc.in -- Cosmetic fixes. -- Version 4.31 - -* Sun Nov 13 2005 Peter Lemenkov 4.3-1 -- Initial build for FC-Extras -- Version 4.3 - +%autochangelog From f89d02dd546e5664efce09e7b6d399ccf278dc35 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2024 19:54:22 +0300 Subject: [PATCH 12/25] Cosmetic cleanups Signed-off-by: Peter Lemenkov --- gating.yaml | 4 ++-- wavpack.spec | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/gating.yaml b/gating.yaml index 195c6fe..d2f0c2e 100644 --- a/gating.yaml +++ b/gating.yaml @@ -5,7 +5,7 @@ decision_contexts: [bodhi_update_push_testing] subject_type: koji_build rules: - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} - + #gating rawhide --- !Policy product_versions: @@ -13,4 +13,4 @@ product_versions: decision_contexts: [bodhi_update_push_stable] subject_type: koji_build rules: - - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} \ No newline at end of file + - !PassingTestCaseRule {test_case_name: fedora-ci.koji-build.tier0.functional} diff --git a/wavpack.spec b/wavpack.spec index d170f72..52beb4d 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -8,9 +8,9 @@ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 # For autoreconf BuildRequires: autoconf BuildRequires: automake +BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: make -BuildRequires: gettext-devel %description WavPack is a completely open audio compression format providing lossless, @@ -38,8 +38,8 @@ autoreconf -ivf # architecture will fail. # http://lists.busybox.net/pipermail/buildroot/2015-October/142117.html %configure --disable-static --disable-rpath --disable-asm +%make_build -make %{?_smp_mflags} %install %make_install @@ -47,7 +47,6 @@ rm -f %{buildroot}/%{_libdir}/*.la # we will install the documentation ourselves through the %doc macro rm -rf %{buildroot}/%{_docdir}/ -%ldconfig_scriptlets %files %{_bindir}/* From 1826ea64158b1cdd38961e5d77dcf7486421406f Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2024 22:24:25 +0300 Subject: [PATCH 13/25] No need to specify this dep Signed-off-by: Peter Lemenkov --- wavpack.spec | 1 - 1 file changed, 1 deletion(-) diff --git a/wavpack.spec b/wavpack.spec index 52beb4d..cdc1e5b 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -22,7 +22,6 @@ performance and functionality. %package devel Summary: WavPack - development files Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: pkgconfig %description devel Files needed for developing apps using wavpack From 9fdeec18a1b9e359bc590e86276dbdc0bd0e2db5 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2024 20:08:57 +0300 Subject: [PATCH 14/25] Switch to cmake Signed-off-by: Peter Lemenkov --- wavpack.spec | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/wavpack.spec b/wavpack.spec index cdc1e5b..df0ffaf 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -5,9 +5,11 @@ Release: %autorelease License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 -# For autoreconf -BuildRequires: autoconf -BuildRequires: automake +BuildRequires: cmake +BuildRequires: gcc +# FIXME current CMakeLists.txt erroneously requires g++ during the +# configuration stage +BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: make @@ -30,18 +32,17 @@ Files needed for developing apps using wavpack %autosetup -p1 %build -autoreconf -ivf # Debian and Buildroot recomendation: # WavPack "autodetects" CPU type to enable ASM code. However, the assembly code # for ARM is written for ARMv7 only and building WavPack for an ARM-non-v7 # architecture will fail. # http://lists.busybox.net/pipermail/buildroot/2015-October/142117.html -%configure --disable-static --disable-rpath --disable-asm -%make_build +%cmake -DWAVPACK_ENABLE_ASM=OFF +%cmake_build %install -%make_install +%cmake_install rm -f %{buildroot}/%{_libdir}/*.la # we will install the documentation ourselves through the %doc macro rm -rf %{buildroot}/%{_docdir}/ @@ -59,6 +60,7 @@ rm -rf %{buildroot}/%{_docdir}/ %files devel %{_includedir}/* +%{_libdir}/cmake/WavPack/ %{_libdir}/pkgconfig/* %{_libdir}/libwavpack.so %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf From d32b0f677f4191a971bb6952813946ffadb66ac4 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2024 21:36:15 +0300 Subject: [PATCH 15/25] Use common description block (prepare for Mingw merge) Signed-off-by: Peter Lemenkov --- wavpack.spec | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/wavpack.spec b/wavpack.spec index df0ffaf..3b76505 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,3 +1,10 @@ +%global common_description %{expand: +WavPack is a completely open audio compression format providing lossless, +high-quality lossy, and a unique hybrid compression mode. Although the +technology is loosely based on previous versions of WavPack, the new +version 4 format has been designed from the ground up to offer unparalleled +performance and functionality.} + Name: wavpack Summary: A completely open audiocodec Version: 5.7.0 @@ -15,11 +22,7 @@ BuildRequires: libtool BuildRequires: make %description -WavPack is a completely open audio compression format providing lossless, -high-quality lossy, and a unique hybrid compression mode. Although the -technology is loosely based on previous versions of WavPack, the new -version 4 format has been designed from the ground up to offer unparalleled -performance and functionality. +%{common_description} %package devel Summary: WavPack - development files From e442bdb1c06fbe25d163f1e35686caaaaf0a4f90 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 Oct 2024 23:02:23 +0300 Subject: [PATCH 16/25] Merge mingw32/64 package Signed-off-by: Peter Lemenkov --- wavpack.spec | 108 ++++++++++++++++++++++++++++++++++++++++++++ wavpack_mingw.patch | 13 ++++++ 2 files changed, 121 insertions(+) create mode 100644 wavpack_mingw.patch diff --git a/wavpack.spec b/wavpack.spec index 3b76505..1f3e374 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -1,3 +1,9 @@ +%if 0%{?fedora} +%bcond_without mingw +%else +%bcond_with mingw +%endif + %global common_description %{expand: WavPack is a completely open audio compression format providing lossless, high-quality lossy, and a unique hybrid compression mode. Although the @@ -12,6 +18,7 @@ Release: %autorelease License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: http://www.wavpack.com/ Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 +Patch1: wavpack_mingw.patch BuildRequires: cmake BuildRequires: gcc # FIXME current CMakeLists.txt erroneously requires g++ during the @@ -21,6 +28,19 @@ BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: make +%if %{with mingw} +BuildRequires: mingw32-filesystem >= 95 +BuildRequires: mingw32-gcc +# FIXME current CMakeLists.txt erroneously requires g++ during the +# configuration stage +BuildRequires: mingw32-gcc-c++ +BuildRequires: mingw64-filesystem >= 95 +BuildRequires: mingw64-gcc +# FIXME current CMakeLists.txt erroneously requires g++ during the +# configuration stage +BuildRequires: mingw64-gcc-c++ +%endif + %description %{common_description} @@ -31,6 +51,49 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %description devel Files needed for developing apps using wavpack +%if %{with mingw} +%package -n mingw32-%{name} +Summary: %{summary} +BuildArch: noarch + +%description -n mingw32-%{name} +%{common_description} + +This package is MinGW compiled wavpack library for the Win32 target. + +%package -n mingw32-%{name}-tools +Summary: %{summary} tools +BuildArch: noarch +Requires: mingw32-%{name} = %{version}-%{release} + +%description -n mingw32-%{name}-tools +%{common_description} + +This package is MinGW compiled wavpack tools for the Win32 target. + +%package -n mingw64-%{name} +Summary: %{summary} +BuildArch: noarch + +%description -n mingw64-%{name} +%{common_description} + +This package is MinGW compiled wavpack library for the Win64 target. + +%package -n mingw64-%{name}-tools +Summary: %{summary} tools +BuildArch: noarch +Requires: mingw64-%{name} = %{version}-%{release} + +%description -n mingw64-%{name}-tools +%{common_description} + +This package is MinGW compiled wavpack tools for the Win64 target. + +%endif + +%{?mingw_debug_package} + %prep %autosetup -p1 @@ -43,6 +106,10 @@ Files needed for developing apps using wavpack %cmake -DWAVPACK_ENABLE_ASM=OFF %cmake_build +%if %{with mingw} +%mingw_cmake -DWAVPACK_ENABLE_ASM=OFF +%mingw_make_build +%endif %install %cmake_install @@ -50,6 +117,19 @@ rm -f %{buildroot}/%{_libdir}/*.la # we will install the documentation ourselves through the %doc macro rm -rf %{buildroot}/%{_docdir}/ +%if %{with mingw} +%mingw_make_install +# remove libtool files +rm -f %{buildroot}%{mingw32_libdir}/*.la +rm -f %{buildroot}%{mingw64_libdir}/*.la +# remove documentation (it's in the native version) +rm -rf %{buildroot}%{mingw32_docdir} +rm -rf %{buildroot}%{mingw32_mandir} +rm -rf %{buildroot}%{mingw64_docdir} +rm -rf %{buildroot}%{mingw64_mandir} +%endif + +%{?mingw_debug_install_post} %files %{_bindir}/* @@ -68,5 +148,33 @@ rm -rf %{buildroot}/%{_docdir}/ %{_libdir}/libwavpack.so %doc ChangeLog doc/WavPack5PortingGuide.pdf doc/WavPack5LibraryDoc.pdf doc/WavPack5FileFormat.pdf +%if %{with mingw} +%files -n mingw32-wavpack +%doc AUTHORS +%license COPYING +%dir %{mingw32_includedir}/wavpack +%{mingw32_bindir}/libwavpack-1.dll +%{mingw32_includedir}/wavpack/*.h +%{mingw32_libdir}/cmake/WavPack/ +%{mingw32_libdir}/libwavpack.dll.a +%{mingw32_libdir}/pkgconfig/* + +%files -n mingw32-wavpack-tools +%{mingw32_bindir}/*.exe + +%files -n mingw64-wavpack +%doc AUTHORS +%license COPYING +%dir %{mingw64_includedir}/wavpack +%{mingw64_bindir}/libwavpack-1.dll +%{mingw64_includedir}/wavpack/*.h +%{mingw64_libdir}/cmake/WavPack/ +%{mingw64_libdir}/libwavpack.dll.a +%{mingw64_libdir}/pkgconfig/* + +%files -n mingw64-wavpack-tools +%{mingw64_bindir}/*.exe +%endif + %changelog %autochangelog diff --git a/wavpack_mingw.patch b/wavpack_mingw.patch new file mode 100644 index 0000000..dc343ec --- /dev/null +++ b/wavpack_mingw.patch @@ -0,0 +1,13 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index c9f9e70..36bf4f8 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -612,7 +612,7 @@ install(TARGETS ${WAVPACK_INSTALL_TARGETS} + + if(WAVPACK_INSTALL_CMAKE_MODULE) + +- if(WIN32) ++ if(MSVC) + set(CMAKE_INSTALL_PACKAGEDIR cmake) + else() + set(CMAKE_INSTALL_PACKAGEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}) From 1bbb260634a3267c1ae6292bf017d08676507b74 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Fri, 25 Oct 2024 19:26:04 +0300 Subject: [PATCH 17/25] Remove CMake requirement for C++ compiler Signed-off-by: Peter Lemenkov --- ...w.patch => wavpack-0001-fix-for-MinGW.patch | 5 +++++ ...k-0002-We-compile-only-ANSI-C-sources.patch | 18 ++++++++++++++++++ wavpack.spec | 18 ++++++------------ 3 files changed, 29 insertions(+), 12 deletions(-) rename wavpack_mingw.patch => wavpack-0001-fix-for-MinGW.patch (76%) create mode 100644 wavpack-0002-We-compile-only-ANSI-C-sources.patch diff --git a/wavpack_mingw.patch b/wavpack-0001-fix-for-MinGW.patch similarity index 76% rename from wavpack_mingw.patch rename to wavpack-0001-fix-for-MinGW.patch index dc343ec..51d52be 100644 --- a/wavpack_mingw.patch +++ b/wavpack-0001-fix-for-MinGW.patch @@ -1,3 +1,8 @@ +From: Sandro Mani +Date: Mon, 5 Dec 2022 14:43:54 +0100 +Subject: [PATCH] fix for MinGW + + diff --git a/CMakeLists.txt b/CMakeLists.txt index c9f9e70..36bf4f8 100644 --- a/CMakeLists.txt diff --git a/wavpack-0002-We-compile-only-ANSI-C-sources.patch b/wavpack-0002-We-compile-only-ANSI-C-sources.patch new file mode 100644 index 0000000..63fa05a --- /dev/null +++ b/wavpack-0002-We-compile-only-ANSI-C-sources.patch @@ -0,0 +1,18 @@ +From: Peter Lemenkov +Date: Fri, 25 Oct 2024 19:15:33 +0300 +Subject: [PATCH] We compile only ANSI C sources + +Signed-off-by: Peter Lemenkov + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 36bf4f8..82f7173 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,6 +1,6 @@ + cmake_minimum_required(VERSION 3.2...3.5) + +-project(WavPack VERSION 5.7.0) ++project(WavPack VERSION 5.7.0 LANGUAGES C) + + file(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" CONFIGURE_AC) + string(REGEX MATCH "LT_CURRENT=([0-9]+)" LT_CURRENT "${CONFIGURE_AC}") diff --git a/wavpack.spec b/wavpack.spec index 1f3e374..12135d7 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -16,14 +16,14 @@ Summary: A completely open audiocodec Version: 5.7.0 Release: %autorelease License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain -Url: http://www.wavpack.com/ -Source: http://www.wavpack.com/%{name}-%{version}.tar.bz2 -Patch1: wavpack_mingw.patch +Url: https://www.wavpack.com/ +Source: https://www.wavpack.com/%{name}-%{version}.tar.bz2 +# Fedora-specific +Patch1: wavpack-0001-fix-for-MinGW.patch +# Fedora-specific (we do not build any C++ code) +Patch2: wavpack-0002-We-compile-only-ANSI-C-sources.patch BuildRequires: cmake BuildRequires: gcc -# FIXME current CMakeLists.txt erroneously requires g++ during the -# configuration stage -BuildRequires: gcc-c++ BuildRequires: gettext-devel BuildRequires: libtool BuildRequires: make @@ -31,14 +31,8 @@ BuildRequires: make %if %{with mingw} BuildRequires: mingw32-filesystem >= 95 BuildRequires: mingw32-gcc -# FIXME current CMakeLists.txt erroneously requires g++ during the -# configuration stage -BuildRequires: mingw32-gcc-c++ BuildRequires: mingw64-filesystem >= 95 BuildRequires: mingw64-gcc -# FIXME current CMakeLists.txt erroneously requires g++ during the -# configuration stage -BuildRequires: mingw64-gcc-c++ %endif %description From 41ac63fc2255c76b7d2f9382431eec708712de08 Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sun, 19 Jan 2025 14:46:59 +0000 Subject: [PATCH 18/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild From 4e1fa1131ee31a8565a8157e0f47d232d24d9c45 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= Date: Mon, 10 Feb 2025 16:34:44 +0000 Subject: [PATCH 19/25] Update wavpack to 5.8.1 (#2338095) --- sources | 2 +- wavpack-0002-We-compile-only-ANSI-C-sources.patch | 6 +++--- wavpack.spec | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/sources b/sources index c3ae404..e91653d 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wavpack-5.7.0.tar.bz2) = cb95efd9eebd1c733a72951b9e3340d4a36cb587ee61c5d3c801d8fdcc560e0669fbb3cc6d6caf06a928c1236f63573c888f78ca16dc2e4599b72c26c7024ad2 +SHA512 (wavpack-5.8.1.tar.bz2) = b29313a22e73df9ddf77c98cfcf629ea6fbc2522e34e9562eb170cbe557b5b279b640668f2b3a3cf804d89303409d8622b9d683c113456920760b750534f682b diff --git a/wavpack-0002-We-compile-only-ANSI-C-sources.patch b/wavpack-0002-We-compile-only-ANSI-C-sources.patch index 63fa05a..60b2611 100644 --- a/wavpack-0002-We-compile-only-ANSI-C-sources.patch +++ b/wavpack-0002-We-compile-only-ANSI-C-sources.patch @@ -9,10 +9,10 @@ index 36bf4f8..82f7173 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ - cmake_minimum_required(VERSION 3.2...3.5) + cmake_minimum_required(VERSION 3.2...3.10) --project(WavPack VERSION 5.7.0) -+project(WavPack VERSION 5.7.0 LANGUAGES C) +-project(WavPack VERSION 5.8.1) ++project(WavPack VERSION 5.8.1 LANGUAGES C) file(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" CONFIGURE_AC) string(REGEX MATCH "LT_CURRENT=([0-9]+)" LT_CURRENT "${CONFIGURE_AC}") diff --git a/wavpack.spec b/wavpack.spec index 12135d7..67f1d13 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -13,7 +13,7 @@ performance and functionality.} Name: wavpack Summary: A completely open audiocodec -Version: 5.7.0 +Version: 5.8.1 Release: %autorelease License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: https://www.wavpack.com/ From a04832ab082bc8e0b017b1811df2e980f2d162dd Mon Sep 17 00:00:00 2001 From: "psklenar@redhat.com" Date: Mon, 9 Jun 2025 17:03:30 +0200 Subject: [PATCH 20/25] fedora CI plans move to gitlab for centos-stream test space https://issues.redhat.com/browse/RHELMISC-13073 --- plans/all.fmf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plans/all.fmf b/plans/all.fmf index ad0edac..4260874 100644 --- a/plans/all.fmf +++ b/plans/all.fmf @@ -1,6 +1,6 @@ summary: Test plan with all Fedora tests discover: how: fmf - url: https://src.fedoraproject.org/tests/wavpack.git + url: https://gitlab.com/redhat/centos-stream/tests/wavpack.git execute: how: tmt From 635dce8db3619258a617e3fe4a6e158e2a239eac Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 25 Jul 2025 20:18:10 +0000 Subject: [PATCH 21/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild From 10f340c06c886141d0b6a5c4cf07bc545e04715f Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Sat, 17 Jan 2026 20:07:50 +0000 Subject: [PATCH 22/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild From 3db12b9d47834f3882309b3b7d87adebc4e9d358 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Sun, 22 Feb 2026 18:57:50 +0100 Subject: [PATCH 23/25] Update wavpack to 5.9.0 (#2430665) Signed-off-by: Peter Lemenkov --- wavpack-0001-fix-for-MinGW.patch | 4 ++-- wavpack-0002-We-compile-only-ANSI-C-sources.patch | 6 +++--- wavpack.spec | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wavpack-0001-fix-for-MinGW.patch b/wavpack-0001-fix-for-MinGW.patch index 51d52be..338fbab 100644 --- a/wavpack-0001-fix-for-MinGW.patch +++ b/wavpack-0001-fix-for-MinGW.patch @@ -4,10 +4,10 @@ Subject: [PATCH] fix for MinGW diff --git a/CMakeLists.txt b/CMakeLists.txt -index c9f9e70..36bf4f8 100644 +index 0b5d26d..b633572 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -612,7 +612,7 @@ install(TARGETS ${WAVPACK_INSTALL_TARGETS} +@@ -632,7 +632,7 @@ install(TARGETS ${WAVPACK_INSTALL_TARGETS} if(WAVPACK_INSTALL_CMAKE_MODULE) diff --git a/wavpack-0002-We-compile-only-ANSI-C-sources.patch b/wavpack-0002-We-compile-only-ANSI-C-sources.patch index 60b2611..864b122 100644 --- a/wavpack-0002-We-compile-only-ANSI-C-sources.patch +++ b/wavpack-0002-We-compile-only-ANSI-C-sources.patch @@ -5,14 +5,14 @@ Subject: [PATCH] We compile only ANSI C sources Signed-off-by: Peter Lemenkov diff --git a/CMakeLists.txt b/CMakeLists.txt -index 36bf4f8..82f7173 100644 +index b633572..d2b730b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.2...3.10) --project(WavPack VERSION 5.8.1) -+project(WavPack VERSION 5.8.1 LANGUAGES C) +-project(WavPack VERSION 5.9.0) ++project(WavPack VERSION 5.9.0 LANGUAGES C) file(READ "${CMAKE_CURRENT_SOURCE_DIR}/configure.ac" CONFIGURE_AC) string(REGEX MATCH "LT_CURRENT=([0-9]+)" LT_CURRENT "${CONFIGURE_AC}") diff --git a/wavpack.spec b/wavpack.spec index 67f1d13..f0b97ab 100644 --- a/wavpack.spec +++ b/wavpack.spec @@ -13,7 +13,7 @@ performance and functionality.} Name: wavpack Summary: A completely open audiocodec -Version: 5.8.1 +Version: 5.9.0 Release: %autorelease License: BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain Url: https://www.wavpack.com/ From 1c6698680042f73c09f410eee779d8833ebc26b8 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Sun, 22 Feb 2026 19:31:05 +0100 Subject: [PATCH 24/25] Forgot to upload sources Signed-off-by: Peter Lemenkov --- .gitignore | 2 +- sources | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index ebd4f21..cdab5d3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ *~ -/wavpack-[0-9]*.[0-9]*.[0-9]*.tar.bz2 +/wavpack-*.tar.bz2 diff --git a/sources b/sources index e91653d..abc78b9 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (wavpack-5.8.1.tar.bz2) = b29313a22e73df9ddf77c98cfcf629ea6fbc2522e34e9562eb170cbe557b5b279b640668f2b3a3cf804d89303409d8622b9d683c113456920760b750534f682b +SHA512 (wavpack-5.9.0.tar.bz2) = dc32f7115a9185956ed2713651b990b1e34894fb5a001abc3f277f41111ded41c5e0cd8740f9c55a226ab58170c633fd7cc52270afdd72c75edf111db75ef4cd From dbbec6b4037ff2f3856ec39fbc7ece85f10085fd Mon Sep 17 00:00:00 2001 From: Fedora Release Engineering Date: Fri, 17 Jul 2026 08:42:07 +0000 Subject: [PATCH 25/25] Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild