diff --git a/mpg123.spec b/mpg123.spec index 96f7c72..c1d4c9e 100644 --- a/mpg123.spec +++ b/mpg123.spec @@ -7,15 +7,13 @@ License: LGPLv2+ URL: http://mpg123.org Source0: http://mpg123.org/download/%{name}-%{version}.tar.bz2 -BuildRequires: gcc, make -BuildRequires: libtool, autoconf, automake -BuildRequires: alsa-lib-devel - -Requires(post): /sbin/ldconfig -Requires(postun): /sbin/ldconfig +BuildRequires: gcc make alsa-lib-devel Provides: %{name}-libs -Obsoletes: %{name}-libs +Provides: lib%{name} = %{version}-%{release} +Obsoletes: %{name}-libs < 1.25.10-3 +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 @@ -28,11 +26,7 @@ BuildRequires: pulseaudio-libs-devel Requires: %{name} = %{version}-%{release} %description plugins-pulseaudio -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. - -Pulseaudio output plug-in. +Pulseaudio output plug-in for mpg123. %package devel Summary: Development files for %{name} @@ -40,16 +34,12 @@ Requires: %{name} = %{version}-%{release} BuildRequires: doxygen %description devel -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. - -Development files for decoding and output libraries. +Development files for decoding and output libraries for mpg123. %package_help %prep -%autosetup -n %{name}-%{version} +%autosetup -n %{name}-%{version} -p1 %build %configure --with-audio=alsa,pulse,oss @@ -71,10 +61,9 @@ popd %files %defattr(-,root,root) %license COPYING -%doc doc/README.remote NEWS %{_bindir}/* -%{_libdir}/libmpg123.so.* -%{_libdir}/libout123.so.* +%{_libdir}/*.so.* +%dir %{_libdir}/%{name} %{_libdir}/%{name}/output_alsa.* %{_libdir}/%{name}/output_dummy.* %{_libdir}/%{name}/output_oss.* @@ -83,183 +72,15 @@ popd %{_libdir}/%{name}/output_pulse.* %files devel -%doc doc/BENCHMARKING NEWS.lib%{name} doc/README.gain doc/examples doc/html -%{_includedir}/fmt123.h -%{_includedir}/mpg123.h -%{_includedir}/out123.h -%{_libdir}/libmpg123.so -%{_libdir}/libout123.so -%{_libdir}/pkgconfig/libmpg123.pc -%{_libdir}/pkgconfig/libout123.pc +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/* -%files help +%files help +%doc NEWS NEWS.lib%{name} doc/* %doc %{_mandir}/man1/* %changelog * Thu Nov 28 2019 Qianbiao.NG - 1.25.10-3 - Repackage for openEuler OS - -* 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) - -* 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 - -* Sun Sep 17 2017 Peter Robinson 1.25.6-1 -- Update to upstream release 1.25.6 - -* Thu Aug 03 2017 Fedora Release Engineering - 1.23.8-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 1.23.8-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 1.23.8-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Fri Dec 30 2016 Kevin Kofler - 1.23.8-4 -- Fix subpackages' Supplements tags (#1397479) - -* Fri Nov 11 2016 Wim Taymans - 1.23.8-3 -- Remove pointless Enhances: -- Fix splelling mistake -- change package name from libs-devel to devel and add Obsolete: -- see rhbz#1394147 - -* Fri Nov 11 2016 Wim Taymans - 1.23.8-2 -- Flip Recommends: with rich dependencies to Supplements: - -* Tue Nov 8 2016 Wim Taymans - 1.23.8-1 -- Update to upstream release 1.23.8 - -* Mon Sep 5 2016 Hans de Goede - 1.23.6-3 -- Do not remove output plugin .la files so that libout123 can actually - find them - -* Tue Jul 26 2016 Igor Gnatenko - 1.23.6-2 -- Provide old name for libs and libs-devel subpkgs - -* Sat Jul 09 2016 Igor Gnatenko - 1.23.6-1 -- Update to 1.23.6 - -* Mon Jun 27 2016 Igor Gnatenko - 1.23.4-1 -- Update to 1.23.4 -- Use weak and rich deps for plugins -- rename libmpg123 to mpg123-libs -- Drop usage of alternatives (nothing uses it actually) -- Correct license - -* Sat Oct 31 2015 Hans de Goede - 1.22.4-1 -- New upstream release 1.22.4 (rf3802) - -* Mon Jun 22 2015 Hans de Goede - 1.22.2-2 -- Fix playback of files with apetags - -* Sun Jun 21 2015 Hans de Goede - 1.22.2-1 -- New upstream release 1.22.2 - -* Mon Sep 01 2014 Sérgio Basto - 1.19.0-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Sun Apr 6 2014 Hans de Goede - 1.19.0-1 -- Update to 1.19.0 -- Enable (optional) use of NEON on arm -- Add missing %%{?_isa} to libmpg123 Requires in -devel (rf#3194) - -* Sat Mar 01 2014 Michael Kuhn - 1.18.1-1 -- Update to 1.18.1. - -* Sat Jan 04 2014 Michael Kuhn - 1.17.0-1 -- Update to 1.17.0. - -* Sun Oct 13 2013 Hans de Goede - 1.16.0-1 -- New upstream release 1.16.0 - -* Sun Mar 10 2013 Hans de Goede - 1.15.1-1 -- New upstream release 1.15.1 (rf#2716) -- Drop obsolete esound and arts plugins from mpg123-plugins-extras - -* Sun Mar 03 2013 Nicolas Chauvet - 1.14.3-2 -- Mass rebuilt for Fedora 19 Features - -* Mon Jul 02 2012 Richard Shaw - 1.14.3-1 -- Update to latest upstream release. -- Move README and README.remote to correct package. Fixes #1898. - -* Wed Apr 4 2012 Hans de Goede - 1.13.7-1 -- New upstream bugfix release 1.13.7 -- Properly build and install development documentation (rf#2257) - -* Sun Jan 29 2012 Hans de Goede - 1.13.4-1 -- New upstream release 1.13.4 - -* Wed Jan 25 2012 Nicolas Chauvet - 1.12.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Aug 24 2010 Hans de Goede 1.12.3-1 -- New upstream release 1.12.3 - -* Fri Jul 16 2010 Hans de Goede 1.12.1-4 -- Put the pulseaudio and jack output plugins in their own subpackages (rf#1278) - -* Mon Jun 21 2010 Hans de Goede 1.12.1-3 -- Move mpg123 (and its manpage) to mpg123.bin and use alternatives, so as to - peacefully co-exist with mpg321 (rf#1278) - -* Fri Jun 18 2010 Hans de Goede 1.12.1-2 -- Add arts-devel BuildRequire and add the arts output plug-in to the - mpg123-plugins-extras package - -* Mon Jun 14 2010 Hans de Goede 1.12.1-1 -- Update to 1.12.1 -- Put libmpg123 into its own package -- Put some less often used output plugins into their own mpg123-plugins-extras - package - -* Thu May 29 2008 Matthias Saou 1.4.2-2 -- Don't remove plugins *.la files, as they're required to run. - -* Mon May 12 2008 Matthias Saou 1.4.2-1 -- Update to 1.4.2. -- Obolete mpg321 up to last known version, as it's pretty much dead. -- Add libtool-ltdl-devel build req, without a copy is installed. -- Add scriplets for new library. - -* Mon Jun 04 2007 Dag Wieers - 0.66-1 -- Updated to release 0.66. - -* Wed Feb 07 2007 Dag Wieers - 0.65-1 -- Updated to release 0.65. - -* Tue Jan 16 2007 Dag Wieers - 0.64-1 -- Updated to release 0.64. - -* Mon Jan 15 2007 Dag Wieers - 0.63-1 -- Updated to release 0.63. - -* Sun Oct 22 2006 Dag Wieers - 0.61-1 -- Updated to release 0.61. - -* Mon Sep 4 2006 Matthias Saou 0.60-1 -- Update to 0.60 final. -- Add support for all available compatible outputs, unfortunately it's a build - time choice, so default to alsa. -- Obsolete mpg321 up to the last know package version. - -* Tue Jul 25 2006 Matthias Saou 0.60-0.1.beta2 -- Initial RPM release, now that mpg123 is maintained again and went GPL/LGPL. -- Audio output type is not (yet?) plugin-based, so use libao (for ALSA). \ No newline at end of file