add libmpg123 and libmpg123-devel [release 1.19.0-2mamba;Sun May 18 2014]

This commit is contained in:
Silvan Calarco 2024-01-06 07:20:16 +01:00
parent f1aeb5f772
commit 9b45f9c887

View File

@ -1,6 +1,6 @@
Name: mpg123
Version: 1.19.0
Release: 1mamba
Release: 2mamba
Summary: A real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3
Group: Applications/Multimedia
Vendor: openmamba
@ -9,7 +9,6 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.mpg123.de/
Source: http://www.mpg123.de/download/mpg123-%{version}.tar.bz2
License: LGPL
BuildRoot: %{_tmppath}/%{name}-%{version}-root
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libalsa-devel
@ -19,19 +18,33 @@ BuildRequires: libjack-devel
BuildRequires: libltdl-devel
## AUTOBUILDREQ-END
BuildRequires: libSDL-devel >= 1.2.11
Requires: lib%{name} = %{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
%package devel
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Summary: Development files for mpg123
Group: Development/Libraries
Requires: %{name} = %{version}-%{release}
Requires: lib%{name} = %{version}-%{release}
Provides: mpg123-devel
Obsoletes: mpg123-devel
%description devel
%description -n lib%{name}-devel
mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3 (MPEG 1.0 layer 3 aka MP3 most commonly tested).
This package contains the static libraries and headers for development.
%debug_package
%prep
%setup -q
@ -47,6 +60,14 @@ This package contains the static libraries and headers for development.
%make
%post -n lib%{name}
/sbin/ldconfig
:
%postun -n lib%{name}
/sbin/ldconfig
:
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
@ -59,6 +80,10 @@ This package contains the static libraries and headers for development.
%{_bindir}/mpg123
%{_bindir}/mpg123-id3dump
%{_bindir}/mpg123-strip
%{_mandir}/man1/mpg123.1*
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libmpg123.so.*
%{_libdir}/mpg123/output_dummy.la
%{_libdir}/mpg123/output_dummy.so
@ -70,17 +95,20 @@ This package contains the static libraries and headers for development.
%endif
%{_libdir}/mpg123/output_oss.la
%{_libdir}/mpg123/output_oss.so
%{_mandir}/man1/mpg123.1.gz
%doc AUTHORS COPYING ChangeLog NEWS README
%doc AUTHORS COPYING
%files devel
%files -n lib%{name}-devel
%defattr(-,root,root)
%{_includedir}/mpg123.h
%{_libdir}/libmpg123.la
%{_libdir}/libmpg123.so
%{_libdir}/pkgconfig/libmpg123.pc
%doc ChangeLog NEWS README
%changelog
* Sun May 18 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 1.19.0-2mamba
- add libmpg123 and libmpg123-devel
* Tue Mar 18 2014 Automatic Build System <autodist@mambasoft.it> 1.19.0-1mamba
- automatic version update by autodist