]> git.pld-linux.org Git - packages/xmp.git/blob - xmp.spec
- updated to 4.2.0
[packages/xmp.git] / xmp.spec
1 #
2 # Conditional build:
3 %bcond_without  pulseaudio      # PulseAudio audio output driver
4 #
5 Summary:        Extended Module Player
6 Summary(pl.UTF-8):      Extended Module Player - rozszerzony odtwarzacz modułów
7 Name:           xmp
8 Version:        4.2.0
9 Release:        1
10 License:        GPL v2+
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)
27
28 %description
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
32 Tracker IT files.
33
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).
39
40 %prep
41 %setup -q
42
43 %build
44 %{__aclocal}
45 %{__autoconf}
46 %{__automake}
47 %configure \
48         %{!?with_pulseaudio:--disable-pulseaudio} \
49         --disable-silent-rules
50
51 %{__make}
52
53 %install
54 rm -rf $RPM_BUILD_ROOT
55 install -d $RPM_BUILD_ROOT%{_sysconfdir}
56
57 %{__make} install \
58         DESTDIR=$RPM_BUILD_ROOT
59
60 %clean
61 rm -rf $RPM_BUILD_ROOT
62
63 %post   -p /sbin/ldconfig
64 %postun -p /sbin/ldconfig
65
66 %files
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*
This page took 0.126936 seconds and 4 git commands to generate.