]> git.pld-linux.org Git - packages/xmp.git/blob - xmp.spec
- use more macros, some cosmetics, added missing "rm -f missing" and use new %doc
[packages/xmp.git] / xmp.spec
1 Summary:        Extended Module Player
2 Summary(pl):    Rozszerzony odtwarzacz modu³ów
3 Name:           xmp
4 Version:        2.0.3
5 Release:        2
6 License:        GPL
7 Group:          Applications/Sound
8 Source0:        http://xmp.helllabs.org/pkg/%{version}/%{name}-%{version}.tar.bz2
9 URL:            http://xmp.helllabs.org/
10 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
11 BuildRequires:  autoconf
12 BuildRequires:  automake
13 BuildRequires:  XFree86-devel
14
15 %define         _xbindir        /usr/X11R6/bin
16 %define         _xmandir        /usr/X11R6/man
17
18 %description
19 xmp is a multi-format module player for UNIX. In machines with GUS or
20 AWE cards xmp takes advantage of the OSS sequencer to play modules
21 with virtually no system load. Using software mixing, xmp plays at
22 sampling rates up to 48kHz in mono or stereo, 8 or 16 bits, signed or
23 unsigned, little or big endian samples with 32 bit linear
24 interpolation.
25
26 %description -l pl
27 xmp jest odtwarzaczem modu³ów w wielu formatach. Potrafi obs³u¿yæ
28 karty GUS i AWE, korzystaj±c z sekwencera OSS, aby nie obci±¿aæ
29 systemu. U¿ywaj±c programowego miksowania, mo¿e odgrywaæ z
30 czêstotliwo¶ci± próbkowania do 48kHz mono lub stereo, 8 lub 16 bitów,
31 próbki ze znakiem lub bez, little- lub big-endian z 32-bitow±
32 interpolacj±.
33
34 %prep
35 %setup -q
36
37 %build
38 %{__aclocal}
39 %{__autoconf}
40 %configure
41 %{__make}
42
43 %install
44 rm -rf $RPM_BUILD_ROOT
45 install -d $RPM_BUILD_ROOT{%{_sysconfdir},%{_bindir},%{_xbindir},{%{_mandir},%{_xmandir}}/man1}
46 install etc/xmp-modules.conf etc/xmp.conf $RPM_BUILD_ROOT%{_sysconfdir}
47 install src/main/xmp $RPM_BUILD_ROOT%{_bindir}
48 install src/main/xxmp $RPM_BUILD_ROOT%{_xbindir}
49 install docs/xmp.1 $RPM_BUILD_ROOT%{_mandir}/man1
50 install docs/xxmp.1 $RPM_BUILD_ROOT%{_xmandir}/man1
51
52 gzip -9nf README docs/{CREDITS,ChangeLog,README.fixloop,README.trackers,README.unsqsh} etc/magic
53
54 %clean
55 rm -rf $RPM_BUILD_ROOT
56
57 %files
58 %defattr(644,root,root,755)
59 %doc *.gz docs/*.gz etc/*.gz
60 %config %{_sysconfdir}/*
61 %attr(755,root,root) %{_bindir}/xmp
62 %attr(755,root,root) %{_xbindir}/xxmp
63 %{_mandir}/man1/*
64 %{_xmandir}/man1/*
This page took 0.478867 seconds and 4 git commands to generate.