13 |
|
BuildRoot: %{_tmppath}/%{name}-root |
14 |
|
Prefix: %{_prefix} |
15 |
|
|
16 |
+ |
Requires: SDL >= 1.1.4 |
17 |
+ |
|
18 |
|
%description |
19 |
|
SIDPlayer is a replayer program for C64 music ("SID tunes"). You can think |
20 |
|
of it as being a stripped-down C64 emulator that only emulates the CPU and |
25 |
|
%setup -q |
26 |
|
|
27 |
|
%build |
28 |
< |
./configure --prefix=%{_prefix} |
28 |
> |
./configure --prefix=%{_prefix} --mandir=%{_mandir} |
29 |
|
if [ -x /usr/bin/getconf ] ; then |
30 |
|
NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN) |
31 |
|
if [ $NCPU -eq 0 ] ; then |
39 |
|
|
40 |
|
%install |
41 |
|
rm -rf ${RPM_BUILD_ROOT} |
42 |
< |
make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install |
42 |
> |
make prefix=%{_prefix} mandir=%{_mandir} DESTDIR=${RPM_BUILD_ROOT} install |
43 |
|
|
44 |
|
%clean |
45 |
|
rm -rf ${RPM_BUILD_ROOT} |