Compare commits

...

11 Commits

Author SHA1 Message Date
openeuler-ci-bot
eeafa8d0f0
!25 [sync] PR-24: fix CVE-2024-10573
From: @openeuler-sync-bot 
Reviewed-by: @dou33 
Signed-off-by: @dou33
2024-11-25 08:47:49 +00:00
fandeyuan
cc99b5dd95 fix CVE-2024-10573
(cherry picked from commit c486c2082dbaa50520e317f4032dd14db9d430ca)
2024-11-14 16:19:51 +08:00
openeuler-ci-bot
d8b9cd71ea
!16 [sync] PR-15: Fix excuting mpg123 xxx.mp3 error
From: @openeuler-sync-bot 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2022-07-30 13:38:26 +00:00
wk333
30a965c842 Add portaudio and jack audio plugin to fix mpg123 xxx.mp3 error
(cherry picked from commit 9a9154b77c65aa48c7bbc8d66dc7057842c77582)
2022-07-30 18:14:30 +08:00
openeuler-ci-bot
50f94c9dd2
!14 Improve the project according to the requirements of compliance improvement
From: @tanyulong2021 
Reviewed-by: @peijiankang 
Signed-off-by: @peijiankang
2022-06-08 09:14:53 +00:00
tanyulong2021
191f13677b Improve the project according to the requirements of compliance improvement 2022-05-23 10:10:11 +08:00
openeuler-ci-bot
cf210afe00
!13 [sync] PR-6: openEuler-22.03-LTS-Next Packages upgrade
From: @openeuler-sync-bot 
Reviewed-by: @pei-jiankang 
Signed-off-by: @pei-jiankang
2022-04-18 12:21:03 +00:00
cherry530
8f06bd8825 remove unuse files
(cherry picked from commit 60c541a3f7bf6148e48a5aa79b0857001061a711)
2022-04-12 15:15:48 +08:00
openeuler-ci-bot
b56c70c5e0 !4 Modify yaml file
Merge pull request !4 from jeff200902/master
2020-07-18 11:48:11 +08:00
jeff200902
71e7e925fa modify yaml 2020-07-18 11:40:31 +08:00
openeuler-ci-bot
81542070e0 !2 Add yaml file
Merge pull request !2 from jeff200902/master
2020-05-12 09:43:43 +08:00
5 changed files with 1105 additions and 39 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

BIN
mpg123-1.29.3.tar.bz2 Normal file

Binary file not shown.

View File

@ -1,37 +1,72 @@
Name: mpg123 %global enable_jack 1
Version: 1.25.10 %global enable_portaudio 1
Release: 2 %global _description \
Summary: Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3 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 \
License: LGPLv2+
URL: http://mpg123.org
Source0: http://mpg123.org/download/%{name}-%{version}.tar.bz2
BuildRequires: gcc make alsa-lib-devel
Provides: %{name}-libs = %{version}-%{release}
Provides: lib%{name} = %{version}-%{release}
Obsoletes: %{name}-libs < 1.25.10-2
Obsoletes: lib%{name} < 1.23.4-1
%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
libraries. libraries.
Name: mpg123
Version: 1.29.3
Release: 4
Summary: Real time MPEG 1.0/2.0/2.5 audio player/decoder for layers 1, 2 and 3
License: LGPL-2.1-or-later and GPL-2.0-or-later
URL: http://mpg123.org
Source0: http://mpg123.org/download/%{name}-%{version}.tar.bz2
BuildRequires: autoconf automake gcc libtool make pkgconfig(alsa)
Requires: %{name}-libs = %{version}-%{release}
Patch0001: 0001-libmpg123-separate-header-data-into-a-struct.patch
%description %{_description}
%package plugins-pulseaudio %package plugins-pulseaudio
Summary: Pulseaudio output plug-in for mpg123 Summary: Pulseaudio output plug-in for mpg123
BuildRequires: pulseaudio-libs-devel BuildRequires: pulseaudio-libs-devel
Requires: %{name} = %{version}-%{release} BuildRequires: pkgconfig(libpulse-simple)
Requires: %{name} = %{version}-%{release}
Supplements: (mpg123 and pulseaudio)
%description plugins-pulseaudio %description plugins-pulseaudio
Pulseaudio output plug-in for mpg123. Pulseaudio output plug-in for mpg123.
%if 0%{?enable_jack}
%package plugins-jack
Summary: JACK output plug-in for %{name}
BuildRequires: pkgconfig(jack)
Requires: %{name} = %{version}-%{release}
Supplements: (mpg123 and jack-audio-connection-kit)
Obsoletes: %{name}-plugins-extras < 1.23.4-1
%description plugins-jack %{_description}
JACK output plug-in.
%endif
%if 0%{?enable_portaudio}
%package plugins-portaudio
Summary: PortAudio output plug-in for %{name}
BuildRequires: pkgconfig(portaudio-2.0)
Requires: %{name} = %{version}-%{release}
Supplements: (mpg123 and portaudio)
%description plugins-portaudio %{_description}
PortAudio output plug-in.
%endif
%package libs
Summary: %{_summary}
Provides: lib%{name} = %{version}-%{release}
Provides: lib%{name} = %{version}-%{release}
Obsoletes: lib%{name} < 1.23.4-1
%description libs %{_description}
%package devel %package devel
Summary: Development files for %{name} Summary: Development files for %{name}
Requires: %{name} = %{version}-%{release} BuildRequires:doxygen
BuildRequires: doxygen Requires: %{name}-libs = %{version}-%{release}
Provides: lib%{name}-devel = %{version}-%{release}
Obsoletes: lib%{name}-devel < 1.23.4-1
Obsoletes: %{name}-libs-devel < 1.23.8-3
%description devel %description devel
Development files for decoding and output libraries for mpg123. Development files for decoding and output libraries for mpg123.
@ -42,8 +77,9 @@ Development files for decoding and output libraries for mpg123.
%autosetup -n %{name}-%{version} -p1 %autosetup -n %{name}-%{version} -p1
%build %build
%configure --with-audio=alsa,pulse,oss autoreconf -vfi
%disable_rpath %configure --enable-modules=yes --with-default-audio=portaudio \
--with-audio=alsa,%{?enable_jack:jack},pulse,oss,%{?enable_portaudio:portaudio}
%make_build %make_build
pushd doc pushd doc
doxygen doxygen.conf doxygen doxygen.conf
@ -52,16 +88,10 @@ popd
%install %install
%make_install %make_install
%delete_la %delete_la
%ldconfig_scriptlets libs
%pre
%preun
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files %files
%license COPYING
%{_bindir}/* %{_bindir}/*
%{_libdir}/*.so.*
%dir %{_libdir}/%{name} %dir %{_libdir}/%{name}
%{_libdir}/%{name}/output_alsa.* %{_libdir}/%{name}/output_alsa.*
%{_libdir}/%{name}/output_dummy.* %{_libdir}/%{name}/output_dummy.*
@ -69,6 +99,22 @@ popd
%files plugins-pulseaudio %files plugins-pulseaudio
%{_libdir}/%{name}/output_pulse.* %{_libdir}/%{name}/output_pulse.*
%if 0%{?enable_jack}
%files plugins-jack
%{_libdir}/%{name}/output_jack.*
%endif
%if 0%{?enable_portaudio}
%files plugins-portaudio
%{_libdir}/%{name}/output_portaudio.*
%endif
%files libs
%license COPYING
%{_libdir}/lib%{name}.so.0*
%{_libdir}/libout123.so.0*
%{_libdir}/libsyn123.so.0*
%files devel %files devel
%{_includedir}/* %{_includedir}/*
@ -79,7 +125,18 @@ popd
%doc NEWS NEWS.lib%{name} doc/* %doc NEWS NEWS.lib%{name} doc/*
%doc %{_mandir}/man1/* %doc %{_mandir}/man1/*
%changelog
* Fri Nov 1 2024 Deyuan Fan <fandeyuan@kylinos.cn> - 1.29.3-4
- fix CVE-2024-10573
* Sat Jul 30 2022 wangkai <wangkai385@h-partners.com> - 1.29.3-3
- Add portaudio and jack audio plugin to fix mpg123 xxx.mp3 error
* Mon May 23 2022 tanyulong<tanyulong@kylinos.cn> - 1.29.3-2
- Improve the project according to the requirements of compliance improvement
* Tue Jan 18 2022 SimpleUpdate Robot <tc@openeuler.org> - 1.29.3-1
- Upgrade to version 1.29.3
%changelog
* Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.25.10-2 * Thu Nov 28 2019 Qianbiao.NG <Qianbiao.NG@turnbig.net> - 1.25.10-2
- Repackage for openEuler OS - Repackage for openEuler OS

View File

@ -1,4 +1,4 @@
version-ctrl: svn version_control: svn
src_repo: http://mpg123.org/cgi-bin/scm/mpg123 src_repo: http://mpg123.org/cgi-bin/scm/mpg123
tag_prefix: v tag_prefix: "v"
seperator: . seperator: "."