# $Revision: 1.8 $, $Date: 2004/07/26 09:15:23 $ # # Conditional build: %bcond_without alsa # without ALSA support # Summary: MPEG audio decoder and player Summary(pl): Dekoder i odtwarzacz audio w formacie MPEG Name: madplay Version: 0.15.2b Release: 2 License: GPL Group: Applications/Sound Source0: ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz # Source0-md5: 6814b47ceaa99880c754c5195aa1aac1 Patch0: %{name}-locale_names.patch URL: http://www.underbit.com/products/mad/ %{?with_alsa:BuildRequires: alsa-lib-devel >= 0.9.0} BuildRequires: automake BuildRequires: esound-devel BuildRequires: libmad-devel BuildRequires: libid3tag-devel Obsoletes: mad BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) %description Madplay is a command-line MPEG audio decoder and player based on the MAD library (libmad). For details about MAD, see the libmad package distributed separately. %description -l pl Madplay to dzia³aj±cy w oparciu o wiersz poleceñ odtwarzacz plików MPEG audio (m.in. mp3). Jest on oparty na bibliotece dekoduj±cej MAD (libmad). %prep %setup -q %patch0 -p1 mv -f po/{no,nb}.po %build cp -f /usr/share/automake/config.* . %configure \ %{?with_alsa:--with-alsa} %{__make} %install rm -rf $RPM_BUILD_ROOT %{__make} install \ DESTDIR=$RPM_BUILD_ROOT %find_lang %{name} %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(644,root,root,755) %doc CHANGES README CREDITS TODO %attr(755,root,root) %{_bindir}/* %{_mandir}/man1/* %define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) %changelog * %{date} PLD Team <feedback@pld-linux.org> All persons listed below can be reached at <cvs_login>@pld-linux.org $Log: madplay.spec,v $ Revision 1.8 2004/07/26 09:15:23 ankry - no -> nb (-locale_names patch), rel. 2 Revision 1.7 2004/02/29 21:13:51 qboosh - updated to 0.15.2b Revision 1.6 2004/02/20 00:17:56 qboosh - updated to 0.15.1b Revision 1.5 2004/01/28 13:09:17 qboosh - fixed build with alsa 1.0.x (using 0.9 compat layer) Revision 1.4 2004/01/28 00:14:50 qboosh - new-style bcond, refresh config.sub for amd64, release 1 Revision 1.3 2003/06/26 22:47:54 qboosh - added _without_alsa bcond Revision 1.2 2003/06/21 22:58:25 migo - ye magick distfiles stuff' Revision 1.1 2003/06/21 22:49:40 migo - initial release