ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/mon/cxmon.spec.in
(Generate patch)

Comparing mon/cxmon.spec.in (file contents):
Revision 1.5 by cebix, 2007-01-14T14:03:42Z vs.
Revision 1.6 by cebix, 2007-01-21T17:15:15Z

# Line 6 | Line 6 | Summary: Command-line file manipulation
6   Name: %{name}
7   Version: %{version}
8   Release: %{release}
9 < Copyright: GPL
9 > License: GPL
10   Group: Utilities/File
11 < Source: %{name}-%{version}.tar.gz
11 > Source0: %{name}-%{version}.tar.gz
12   URL: http://cxmon.cebix.net/
13 < BuildRoot: %{_tmppath}/%{name}-root
13 > BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
14   Prefix: %{_prefix}
15  
16   %description
# Line 25 | Line 25 | MacOS code.
25   %setup -q
26  
27   %build
28 < CFLAGS=${RPM_OPT_FLAGS} CXXFLAGS=${RPM_OPT_FLAGS} ./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
32 <    NCPU=1
33 <  fi
34 < else  
35 <  NCPU=1
36 < fi
37 < PARL=$[ $NCPU + 1 ]
38 < make -j $PARL
28 > %configure
29 > make
30  
31   %install
32   rm -rf ${RPM_BUILD_ROOT}
33 < make DESTDIR=${RPM_BUILD_ROOT} install-strip
33 > %makeinstall
34  
35   %clean
36   rm -rf ${RPM_BUILD_ROOT}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines