13 |
|
BuildRoot: %{_tmppath}/%{name}-root |
14 |
|
Prefix: %{_prefix} |
15 |
|
|
16 |
– |
Requires: SDL >= 1.1.4 |
17 |
– |
|
16 |
|
%description |
17 |
|
"mon" is an interactive command-driven file manipulation tool that is |
18 |
|
inspired by the "Amiga Monitor" by Timo Rossi <trossi@jyu.fi>. It has |
24 |
|
%setup -q |
25 |
|
|
26 |
|
%build |
27 |
< |
./configure --prefix=%{_prefix} |
27 |
> |
./configure --prefix=%{_prefix} --mandir=%{_mandir} |
28 |
|
if [ -x /usr/bin/getconf ] ; then |
29 |
|
NCPU=$(/usr/bin/getconf _NPROCESSORS_ONLN) |
30 |
|
if [ $NCPU -eq 0 ] ; then |
38 |
|
|
39 |
|
%install |
40 |
|
rm -rf ${RPM_BUILD_ROOT} |
41 |
< |
make prefix=%{_prefix} DESTDIR=${RPM_BUILD_ROOT} install |
41 |
> |
make prefix=%{_prefix} mandir=%{_mandir} DESTDIR=${RPM_BUILD_ROOT} install |
42 |
|
|
43 |
|
%clean |
44 |
|
rm -rf ${RPM_BUILD_ROOT} |