CBEm4.spec
changeset 10 a65a967018ee
parent 9 6b2dd986c0ad
child 48 7279c3f9140d
equal deleted inserted replaced
9:6b2dd986c0ad 10:a65a967018ee
    18 Source:			ftp://ftp.gnu.org/pub/gnu/m4/m4-%{version}.tar.gz
    18 Source:			ftp://ftp.gnu.org/pub/gnu/m4/m4-%{version}.tar.gz
    19 URL:			http://www.gnu.org/
    19 URL:			http://www.gnu.org/
    20 BuildRoot:		%{_tmppath}/%{name}-%{version}-build
    20 BuildRoot:		%{_tmppath}/%{name}-%{version}-build
    21 SUNW_BaseDir:		%{_prefix}
    21 SUNW_BaseDir:		%{_prefix}
    22 SUNW_Category:          CBE,KDE,JDS,application
    22 SUNW_Category:          CBE,KDE,JDS,application
    23 SUNW_Rev:               @CBE_VERSION@
    23 SUNW_Rev:		%{?cbe_version}%{?!cbe_version:0.0}
    24 %include default-depend.inc
    24 %include default-depend.inc
       
    25 BuildRequires: %make_dep
    25 
    26 
    26 %description
    27 %description
    27 GNU m4 for the Desktop build environment
    28 GNU m4 for the Desktop build environment
    28 
    29 
    29 %prep
    30 %prep
    35   CPUS=1
    36   CPUS=1
    36 fi
    37 fi
    37 CFLAGS="$RPM_OPT_FLAGS"			\
    38 CFLAGS="$RPM_OPT_FLAGS"			\
    38 ./configure --prefix=%{_prefix}         \
    39 ./configure --prefix=%{_prefix}         \
    39     --infodir=%{_infodir}
    40     --infodir=%{_infodir}
    40 make -j$CPUS
    41 gmake -j$CPUS
    41 
    42 
    42 %install
    43 %install
    43 rm -rf $RPM_BUILD_ROOT
    44 rm -rf $RPM_BUILD_ROOT
    44 make install \
    45 gmake install \
    45     prefix=$RPM_BUILD_ROOT%{_prefix} \
    46     prefix=$RPM_BUILD_ROOT%{_prefix} \
    46     infodir=$RPM_BUILD_ROOT%{_infodir}
    47     infodir=$RPM_BUILD_ROOT%{_infodir}
    47 rm -rf $RPM_BUILD_ROOT%{_infodir}
    48 rm -rf $RPM_BUILD_ROOT%{_infodir}
    48 rm -rf $RPM_BUILD_ROOT%{_libdir}
    49 rm -rf $RPM_BUILD_ROOT%{_libdir}
    49 
    50 
    56 %{_bindir}/*
    57 %{_bindir}/*
    57 %dir %attr (0755, root, sys) %{_datadir}
    58 %dir %attr (0755, root, sys) %{_datadir}
    58 %{_mandir}/man1
    59 %{_mandir}/man1
    59 
    60 
    60 %changelog
    61 %changelog
       
    62 * Wed Jun 11 2008  <[email protected]>
       
    63 - update rev, make depedency
    61 * Tue May 27 2008  <[email protected]>
    64 * Tue May 27 2008  <[email protected]>
    62 - bump to 1.4.9
    65 - bump to 1.4.9
    63 - remove ${_libdir} files from install
    66 - remove ${_libdir} files from install
    64 * Tue Aug 22 2006  <[email protected]>
    67 * Tue Aug 22 2006  <[email protected]>
    65 - fix %files attributes
    68 - fix %files attributes