]>
Commit | Line | Data |
---|---|---|
820246e7 JB |
1 | # |
2 | # Conditional build: | |
3 | %bcond_with esd # EsounD output support | |
4 | # | |
fe35945c | 5 | Summary: AdLib music player for the command line |
29831ff7 | 6 | Summary(pl.UTF-8): Odtwarzacz muzyki AdLib działający z linii poleceń |
fe35945c | 7 | Name: adplay |
820246e7 | 8 | Version: 1.7 |
bd0bba5e | 9 | Release: 2 |
820246e7 | 10 | License: GPL v2+ |
fe35945c | 11 | Group: Applications/Sound |
820246e7 JB |
12 | Source0: http://downloads.sourceforge.net/adplug/%{name}-%{version}.tar.bz2 |
13 | # Source0-md5: 651b301b21f08a7519ce8ed3742a0081 | |
fe35945c | 14 | URL: http://adplug.sourceforge.net/ |
bd0bba5e | 15 | BuildRequires: SDL-devel |
820246e7 | 16 | BuildRequires: adplug-devel >= 2.2 |
fe35945c | 17 | BuildRequires: alsa-lib-devel >= 0.9.1 |
820246e7 | 18 | %{?with_esd:BuildRequires: esound-devel >= 0.2.8} |
f53c3838 | 19 | BuildRequires: libao-devel |
fe35945c | 20 | BuildRequires: pkgconfig |
820246e7 | 21 | Requires: adplug >= 2.2 |
fe35945c JB |
22 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
23 | ||
24 | %description | |
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. | |
30 | ||
b50529cd | 31 | %description -l pl.UTF-8 |
fe35945c | 32 | AdPlay/UNIX to frontend AdPluga dla uniksowej konsoli. AdPlug to |
b50529cd JR |
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. | |
fe35945c JB |
38 | |
39 | %prep | |
40 | %setup -q | |
41 | ||
42 | %build | |
43 | %configure \ | |
bd0bba5e | 44 | --libdir=%{_libdir} \ |
820246e7 | 45 | %{!?with_esd:--disable-output-esound} \ |
fe35945c JB |
46 | --disable-output-qsa |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %files | |
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* |