summaryrefslogtreecommitdiff
path: root/madplay.spec
blob: e62b1fb42843b5df095b78a8e462b2125654b13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Summary:	MPEG audio decoder and player
Summary(pl):	Dekoder i odtwarzacz audio w formacie MPEG
Name:		madplay
Version:	0.15.0b
Release:	0.9
License:	GPL
Group:		Applications/Sound
Source0:	ftp://ftp.mars.org/pub/mpeg/%{name}-%{version}.tar.gz
URL:		http://www.underbit.com/products/mad/
BuildRequires:	alsa-lib-devel
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

%build
rm -f missing
%configure --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/*