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: adplug-devel >= 2.2
16 BuildRequires: alsa-lib-devel >= 0.9.1
17 %{?with_esd:BuildRequires: esound-devel >= 0.2.8}
18 BuildRequires: libao-devel
19 BuildRequires: pkgconfig
20 Requires: adplug >= 2.2
21 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
24 AdPlay/UNIX is AdPlug's UNIX console-based frontend. AdPlug is a free,
25 universal OPL2 audio playback library. AdPlay/UNIX supports the full
26 range of AdPlug's file format playback features. Despite this, at the
27 moment, only emulated OPL2 output is supported by AdPlay/UNIX, but
28 this on a wide range of output devices.
30 %description -l pl.UTF-8
31 AdPlay/UNIX to frontend AdPluga dla uniksowej konsoli. AdPlug to
32 wolnodostępna, uniwersalna biblioteka otwarzania dźwięku OPL2.
33 AdPlay/UNIX obsługuje cały zakres możliwości odtwarzania formatów
34 plików AdPluga. Niezależnie od tego przez AdPlay/UNIX aktualnie
35 obsługiwane jest tylko emulowane wyjście OPL2, ale za to na wielu
36 różnych urządzeniach wyjściowych.
43 %{!?with_esd:--disable-output-esound} \
44 --disable-output-sdl \
49 rm -rf $RPM_BUILD_ROOT
52 DESTDIR=$RPM_BUILD_ROOT
55 rm -rf $RPM_BUILD_ROOT
58 %defattr(644,root,root,755)
59 %doc AUTHORS ChangeLog NEWS README TODO
60 %attr(755,root,root) %{_bindir}/adplay
61 %{_mandir}/man1/adplay.1*