3 %bcond_with esd # EsounD output support
5 Summary: AdLib music player for the command line
6 Summary(pl.UTF-8): Odtwarzacz muzyki AdLib działający z linii poleceń
11 Group: Applications/Sound
12 Source0: http://downloads.sourceforge.net/adplug/%{name}-%{version}.tar.bz2
13 # Source0-md5: 651b301b21f08a7519ce8ed3742a0081
14 URL: http://adplug.sourceforge.net/
15 BuildRequires: SDL-devel
16 BuildRequires: adplug-devel >= 2.2
17 BuildRequires: alsa-lib-devel >= 0.9.1
18 %{?with_esd:BuildRequires: esound-devel >= 0.2.8}
19 BuildRequires: libao-devel
20 BuildRequires: pkgconfig
21 Requires: adplug >= 2.2
22 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
25 AdPlay/UNIX is AdPlug's UNIX console-based frontend. AdPlug is a free,
26 universal OPL2 audio playback library. AdPlay/UNIX supports the full
27 range of AdPlug's file format playback features. Despite this, at the
28 moment, only emulated OPL2 output is supported by AdPlay/UNIX, but
29 this on a wide range of output devices.
31 %description -l pl.UTF-8
32 AdPlay/UNIX to frontend AdPluga dla uniksowej konsoli. AdPlug to
33 wolnodostępna, uniwersalna biblioteka otwarzania dźwięku OPL2.
34 AdPlay/UNIX obsługuje cały zakres możliwości odtwarzania formatów
35 plików AdPluga. Niezależnie od tego przez AdPlay/UNIX aktualnie
36 obsługiwane jest tylko emulowane wyjście OPL2, ale za to na wielu
37 różnych urządzeniach wyjściowych.
45 %{!?with_esd:--disable-output-esound} \
50 rm -rf $RPM_BUILD_ROOT
53 DESTDIR=$RPM_BUILD_ROOT
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc AUTHORS ChangeLog NEWS README TODO
61 %attr(755,root,root) %{_bindir}/adplay
62 %{_mandir}/man1/adplay.1*