24 |
|
%setup -q |
25 |
|
|
26 |
|
%build |
27 |
< |
./configure --prefix=%{_prefix} |
27 |
> |
CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./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 DESTDIR=${RPM_BUILD_ROOT} install-strip |
42 |
|
|
43 |
|
%clean |
44 |
|
rm -rf ${RPM_BUILD_ROOT} |
48 |
|
%doc AUTHORS ChangeLog COPYING README |
49 |
|
%{_bindir}/* |
50 |
|
%{_mandir}/man1/* |
51 |
– |
|
52 |
– |
%changelog |