From 8d61ca19df856e09d0f0c5413324e64bd5ec673e Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 15:54:48 +0000 Subject: [PATCH] import UBI mpg123-1.32.9-1.el10 --- .gitignore | 2 +- .mpg123.metadata | 1 - SOURCES/add-yasm-dwarf-debug.patch | 24 ---- SPECS/mpg123.spec => mpg123.spec | 188 +++++++++++++++++++++-------- sources | 1 + 5 files changed, 137 insertions(+), 79 deletions(-) delete mode 100644 .mpg123.metadata delete mode 100644 SOURCES/add-yasm-dwarf-debug.patch rename SPECS/mpg123.spec => mpg123.spec (58%) create mode 100644 sources diff --git a/.gitignore b/.gitignore index 3cc2672..71169f0 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/mpg123-1.32.9.tar.bz2 +mpg123-1.32.9.tar.bz2 diff --git a/.mpg123.metadata b/.mpg123.metadata deleted file mode 100644 index b5f8f40..0000000 --- a/.mpg123.metadata +++ /dev/null @@ -1 +0,0 @@ -25aea7c5edfe6bc637f603c075210c13955200fe SOURCES/mpg123-1.32.9.tar.bz2 diff --git a/SOURCES/add-yasm-dwarf-debug.patch b/SOURCES/add-yasm-dwarf-debug.patch deleted file mode 100644 index 21c6404..0000000 --- a/SOURCES/add-yasm-dwarf-debug.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -ru mpg123-1.25.10/configure mpg123-1.25.10.new/configure ---- mpg123-1.25.10/configure 2018-02-27 11:34:50.000000000 +0100 -+++ mpg123-1.25.10.new/configure 2018-10-09 12:29:07.453261885 +0200 -@@ -17108,7 +17108,7 @@ - YASM_FORMAT="-f macho" - ;; - *) -- YASM_FORMAT="-f elf" -+ YASM_FORMAT="-f elf -g dwarf2" - ;; - esac - -diff -ru mpg123-1.25.10/configure.ac mpg123-1.25.10.new/configure.ac ---- mpg123-1.25.10/configure.ac 2018-02-27 11:34:27.000000000 +0100 -+++ mpg123-1.25.10.new/configure.ac 2018-10-09 12:28:55.938492240 +0200 -@@ -1471,7 +1471,7 @@ - YASM_FORMAT="-f macho" - ;; - *) -- YASM_FORMAT="-f elf" -+ YASM_FORMAT="-f elf -g dwarf2" - ;; - esac - AC_DEFINE(USE_YASM_FOR_AVX, 1, [Define to use yasm for assemble AVX sources.]) diff --git a/SPECS/mpg123.spec b/mpg123.spec similarity index 58% rename from SPECS/mpg123.spec rename to mpg123.spec index c85e7db..982886f 100644 --- a/SPECS/mpg123.spec +++ b/mpg123.spec @@ -2,25 +2,24 @@ %global fmt fmt123 %global syn syn123 -Name: mpg123 -Version: 1.32.9 -Release: 1%{?dist} -Summary: Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 +Name: mpg123 +Version: 1.32.9 +Release: 1%{?dist} -License: LGPLv2+ -URL: http://mpg123.org -Source0: %{url}/download/%{name}-%{version}.tar.bz2 -Patch0: add-yasm-dwarf-debug.patch +Summary: Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 +License: GPL-2.0-or-later +URL: https://mpg123.org -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: libtool +Source0: %{url}/download/%{name}-%{version}.tar.bz2 -BuildRequires: gcc -BuildRequires: pkgconfig(alsa) - -Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +BuildRequires: autoconf +BuildRequires: automake +BuildRequires: gcc +BuildRequires: libtool +BuildRequires: make +BuildRequires: pkgconfig(alsa) +Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?fedora} %global enable_jack 1 @@ -30,18 +29,18 @@ Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %global _summary %{summary} %global _description \ -Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (most\ -commonly MPEG 1.0 layer 3 aka MP3), as well as re-usable decoding and output\ +Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 (most \ +commonly MPEG 1.0 layer 3 aka MP3), as well as re-usable decoding and output \ libraries. %description %{_description} %package plugins-pulseaudio -Summary: Pulseaudio output plug-in for %{name} -BuildRequires: pkgconfig(libpulse-simple) -Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Summary: Pulseaudio output plug-in for %{name} +BuildRequires: pkgconfig(libpulse-simple) +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?fedora} || 0%{?rhel} >= 8 -Supplements: (mpg123%{?_isa} and pulseaudio%{?_isa}) +Supplements: (mpg123%{?_isa} and pulseaudio%{?_isa}) %endif %description plugins-pulseaudio %{_description} @@ -50,13 +49,13 @@ Pulseaudio output plug-in. %if 0%{?enable_jack} %package plugins-jack -Summary: JACK output plug-in for %{name} -BuildRequires: pkgconfig(jack) -Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Summary: JACK output plug-in for %{name} +BuildRequires: pkgconfig(jack) +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?fedora} || 0%{?rhel} >= 8 -Supplements: (mpg123%{?_isa} and jack-audio-connection-kit%{?_isa}) +Supplements: (mpg123%{?_isa} and jack-audio-connection-kit%{?_isa}) %endif -Obsoletes: %{name}-plugins-extras < 1.23.4-1 +Obsoletes: %{name}-plugins-extras < 1.23.4-1 %description plugins-jack %{_description} @@ -65,11 +64,11 @@ JACK output plug-in. %if 0%{?enable_portaudio} %package plugins-portaudio -Summary: PortAudio output plug-in for %{name} -BuildRequires: pkgconfig(portaudio-2.0) -Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Summary: PortAudio output plug-in for %{name} +BuildRequires: pkgconfig(portaudio-2.0) +Requires: %{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} %if 0%{?fedora} || 0%{?rhel} >= 8 -Supplements: (mpg123%{?_isa} and portaudio%{?_isa}) +Supplements: (mpg123%{?_isa} and portaudio%{?_isa}) %endif %description plugins-portaudio %{_description} @@ -78,33 +77,33 @@ PortAudio output plug-in. %endif %package libs -Summary: %{_summary} -Provides: lib%{name} = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: lib%{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: lib%{name} < 1.23.4-1 +Summary: %{_summary} +Provides: lib%{name} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: lib%{name}%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: lib%{name} < 1.23.4-1 %description libs %{_description} %package devel -Summary: %{_summary} -BuildRequires: /usr/bin/doxygen -Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: lib%{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release} -Provides: lib%{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} -Obsoletes: lib%{name}-devel < 1.23.4-1 -Obsoletes: %{name}-libs-devel < 1.23.8-3 +Summary: %{_summary} +BuildRequires: /usr/bin/doxygen +Requires: %{name}-libs%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: lib%{name}-devel = %{?epoch:%{epoch}:}%{version}-%{release} +Provides: lib%{name}-devel%{?_isa} = %{?epoch:%{epoch}:}%{version}-%{release} +Obsoletes: lib%{name}-devel < 1.23.4-1 +Obsoletes: %{name}-libs-devel < 1.23.8-3 %description devel %{_description} Development files for decoding and output libraries. %prep -%autosetup -p1 +%autosetup %build autoreconf -vfi %configure --enable-modules=yes --with-default-audio=alsa \ - --with-audio=alsa,%{?enable_jack:jack},pulse,oss,%{?enable_portaudio:portaudio} + --with-audio=alsa,%{?enable_jack:jack},pulse,oss,%{?enable_portaudio:portaudio} %make_build pushd doc doxygen doxygen.conf @@ -163,21 +162,104 @@ rm %{buildroot}%{_libdir}/*.la %{_libdir}/pkgconfig/lib%{syn}.pc %changelog -* Mon Dec 02 2024 Wim Taymans - 1.25.10-2 -- Rebase to 1.32.9, includes patch for CVE-2024-10573 -- Resolves: RHEL-65443 +* Mon Dec 02 2024 Wim Taymans - 1.32.9-1 +- Rebase to 1.32.9, include patches for CVE-2024-10573 + Resolves: RHEL-69787 -* Tue Oct 09 2018 Wim Taymans - 1.25.10-2 -- Add dwarf2 debug symbols to yasm output -- Resolves: #1630598 +* Tue Oct 29 2024 Troy Dawson - 1.31.3-6 +- Bump release for October 2024 mass rebuild: + Resolves: RHEL-64018 -* Thu Sep 27 2018 Wim Taymans - 1.25.10-1 +* Mon Jun 24 2024 Troy Dawson - 1.31.3-5 +- Bump release for June 2024 mass rebuild + +* Thu Jan 25 2024 Fedora Release Engineering - 1.31.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 1.31.3-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Thu Jul 20 2023 Fedora Release Engineering - 1.31.3-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Mon Mar 20 2023 Phil Wyett - 1.31.3-1 +- Update to 1.31.3 + +* Thu Jan 19 2023 Fedora Release Engineering - 1.31.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Sun Jan 15 2023 Phil Wyett - 1.31.2-1 +- Update to 1.31.2 + +* Sun Nov 13 2022 Mamoru TASAKA - 1.31.1-3 +- Revert the previous change for now + +* Fri Nov 11 2022 Phil Wyett - 1.31.1-2 +- Use --disable-largefile and allow co-installable arch devel packages + +* Tue Nov 01 2022 Phil Wyett - 1.31.1-1 +- Update to 1.31.1 + +* Sun Oct 30 2022 Phil Wyett - 1.31.0-1 +- Update to 1.31.0 + +* Tue Aug 09 2022 Phil Wyett - 1.30.2-1 +- Update to 1.30.2 + +* Thu Jul 21 2022 Fedora Release Engineering - 1.30.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Wed Jul 13 2022 Phil Wyett - 1.30.1-1 +- Update to 1.30.1 + +* Mon Jun 27 2022 Phil Wyett - 1.30.0-1 +- Update to 1.30.0 + +* Thu Feb 17 2022 Phil Wyett - 1.29.3-1 +- Update to 1.29.3 + +* Thu Jan 20 2022 Fedora Release Engineering - 1.26.5-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 1.26.5-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* Tue Jun 08 2021 Nicolas Chauvet - 1.26.5-1 +- Update to 1.26.5 + +* Tue Jan 26 2021 Fedora Release Engineering - 1.26.2-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild + +* Tue Jul 28 2020 Fedora Release Engineering - 1.26.2-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild + +* Mon Jul 06 2020 Nicolas Chauvet - 1.26.2-1 +- Update to 1.26.2 + +* Wed Jan 29 2020 Fedora Release Engineering - 1.25.12-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild + +* Fri Sep 27 2019 Wim Taymans - 1.25.12-1 +- update to 1.25.12 (rhbz#1742097) + +* Thu Jul 25 2019 Fedora Release Engineering - 1.25.10-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild + +* Fri Feb 01 2019 Fedora Release Engineering - 1.25.10-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Fri Aug 17 2018 Wim Taymans - 1.25.10-1 - update to 1.25.10 - Fix summary (#1494838) -- Resolves: #1627850 -* Mon Jun 18 2018 Wim Taymans - 1.25.6-3 -- Only build jack and portaudio plugins on fedora (#1554831) +* Fri Jul 13 2018 Fedora Release Engineering - 1.25.6-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Mon Jun 18 2018 Wim Taymans - 1.25.6-4 +- Only enable jack and portaudio plugins on fedora + +* Thu Feb 08 2018 Fedora Release Engineering - 1.25.6-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild * Sat Feb 03 2018 Igor Gnatenko - 1.25.6-2 - Switch to %%ldconfig_scriptlets diff --git a/sources b/sources new file mode 100644 index 0000000..9c8032c --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (mpg123-1.32.9.tar.bz2) = dccb640b0845061811cb41bf145587e7093556d686d49a748232b079659b46284b6cc40db42d14febceac11277c58edf2b69d1b4c46c223829a3d15478e2e26c