Blob Blame History Raw
# This is a generic spec file that should "just work" with rpmbuild on any distro.
# Make sure you have appropriate -devel packes installed:
# - devel packages for alsa, sdl, etc... to build the respective output modules.
Summary:	The fast console mpeg audio decoder/player.
Release:	1
License:	GPL
Group:		Applications/Multimedia
Packager:	Michael Ryzhykh <>
BuildRoot:	%_tmppath/%name-%version
Prefix: 	/usr

This is a console based decoder/player for mono/stereo mpeg audio files,
probably more familiar as MP3 or MP2 files. It's focus is speed.
It can play MPEG1.0/2.0/2.5 layer I, II, II (1, 2, 3;-) files
(VBR files are fine, too) and produce output on a number of different ways:
raw data to stdout and different sound systems depending on your platform.

%package devel
Summary:	Files needed for development with libmpg123 or libout123
Group:		Development/Libraries

%description devel
Libraries and header files for development with mpg123.

%setup -q -n %name-%version

%configure --enable-shared --enable-static

%{__rm} -rf %{buildroot}

%{__rm} -rf %{buildroot}

%doc %{_mandir}/*/mpg123.1.gz
%doc %{_mandir}/*/out123.1.gz

%files devel
%exclude %{_libdir}/mpg123/output_*.a

* 2017-02-27 Thomas Orgis <>
- libltdl and module .la files gone
* Sat Sep  3 2016 Srikanth Rao <>
- remove junk added in last edit, add out123 manpage
* Much later Thomas Orgis <>
- some blind update
* Tue Jan  1 2008 Michael Ryzhykh <>
- Initial Version.