3 %bcond_without pulseaudio # PulseAudio audio output driver
5 Summary: Extended Module Player
6 Summary(pl.UTF-8): Extended Module Player - rozszerzony odtwarzacz modułów
11 Group: Applications/Sound
12 Source0: https://downloads.sourceforge.net/xmp/%{name}-%{version}.tar.gz
13 # Source0-md5: db41dd01ec0919091c322b1d74bf56e7
14 URL: https://xmp.sourceforge.net/
15 BuildRequires: alsa-lib-devel
16 BuildRequires: autoconf >= 2.50
17 BuildRequires: automake
18 BuildRequires: libxmp-devel >= 4.4
19 BuildRequires: pkgconfig
20 %{?with_pulseaudio:BuildRequires: pulseaudio-devel}
21 Requires: libxmp >= 4.4
22 Obsoletes: xmp-X11 < 2.7
23 Obsoletes: xmp-output-arts < 2.7
24 Obsoletes: xmp-output-esd < 2.7
25 Obsoletes: xmp-output-nas < 2.7
26 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29 This is the Extended Module Player, a portable module player that
30 plays over 90 mainstream and obscure module formats, including
31 Protracker MOD, Fasttracker II XM, Scream Tracker 3 S3M and Impulse
34 %description -l pl.UTF-8
35 XMP (Extended Module Player - rozszerzony odtwarzacz modułów) to
36 przenośny odtwarzacz modułów muzycznych, znający ponad 90 głównych i
37 mniej znanych formatów, w tym: Protracker (MOD), Scream Tracker 3
38 (S3M), Fast Tracker II (XM) oraz Impulse Tracker (IT).
48 %{!?with_pulseaudio:--disable-pulseaudio} \
49 --disable-silent-rules
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_sysconfdir}
58 DESTDIR=$RPM_BUILD_ROOT
61 rm -rf $RPM_BUILD_ROOT
63 %post -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
67 %defattr(644,root,root,755)
68 %doc CREDITS Changelog README
69 %dir %{_sysconfdir}/xmp
70 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xmp/modules.conf
71 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/xmp/xmp.conf
72 %attr(755,root,root) %{_bindir}/xmp
73 %{_mandir}/man1/xmp.1*