]> git.pld-linux.org Git - packages/adplay.git/blob - adplay.spec
- added lib64 workaround
[packages/adplay.git] / adplay.spec
1 #
2 # Conditional build:
3 %bcond_with     esd     # EsounD output support
4 #
5 Summary:        AdLib music player for the command line
6 Summary(pl.UTF-8):      Odtwarzacz muzyki AdLib działający z linii poleceń
7 Name:           adplay
8 Version:        1.7
9 Release:        2
10 License:        GPL v2+
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)
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
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.
38
39 %prep
40 %setup -q
41
42 %build
43 %configure \
44         --libdir=%{_libdir} \
45         %{!?with_esd:--disable-output-esound} \
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*
This page took 0.10015 seconds and 3 git commands to generate.