%define _specver $Id: codeviz.spec,v 1.1 2003年10月26日 19:47:43 mel Exp $%define _name codeviz%define _pkg %{_name}%define _ver 0.13%define _rel 3boz%define _nv %{_name}-%{_ver}%define _namever %{_nv}%define _nameverrel %{_name}-%{_ver}-%{_rel}%define _filelist %{_nameverrel}-filelist# compress man, info and POD pages.%define _brp_compress /usr/lib/rpm/brp-compress%define __brp_compress [ -x %{_brp_compress} ] && %{_brp_compress}Summary: A call graph generation utility for C/C++Name: %{_pkg}Version: %{_ver}Release: %{_rel}Copyright: distributableGroup: Development/ToolsPackager: %{_packager}Source0: http://www.skynet.ie/~mel/projects/codeviz/%{_nv}.tar.gzPatch0: patch.new-optionsBuildRoot: %{_buildtmp}/%{_nameverrel}-buildroot/BuildArch: noarch%descriptionCodeViz provides the ability to generate call graphs to aid the taskof understanding code. It uses a highly modular set of collectionmethods and can be adapted to support any language although only C andC++ are currently supported.build-id ---> %_specver%prep%setup%patch0%build%install{ i="$RPM_BUILD_ROOT"; [ "$i" != "/" ] && rm -rf $i; }gen_filelist(){_d=1ドル;shift_l=1ドル;shiftfind $_d | perl -nl \-e "\$_d='$_d';" \-e 'if ( ! -d ) { $_f=1; undef $_p; }' \-e 'elsif ( m,$_d.*%{_name}, ) { $_f=1; $_p="%dir "; }' \-e 'if ( $_f ) {' \-e ' s,/*$_d/*,/,;' \-e ' printf "%s\n", "$_p$_";' \-e ' undef $_f }' \> $_lif [ ! -f $_l -o ! -s $_l ]thenecho "ERROR: EMPTY FILE LIST"exit -1fi}_r=$RPM_BUILD_ROOTeval "_perl_`perl -V:installsitelib`"%{__mkdir_p} -m 755 $_r/%{_bindir} \$_r/$_perl_installsitelib ]\$_r/%{_docdir}/%{_nv}%{__install} -m 755 bin/* $_r/%{_bindir}%{__cp} -pr lib/* $_r/$_perl_installsitelib%{__cp} -pr CHANGELOG \README \compilers \graphs \$_r/%{_docdir}/%{_nv}gen_filelist $RPM_BUILD_ROOT %{_filelist}%clean#echo The maid is off on `date +%A`.for i in "$RPM_BUILD_ROOT" "$RPM_BUILD_DIR/%{_namever}" "%_buildtmp"; do[ "$i" != "/" ] && rm -rf $idone%files -f %{_filelist}%defattr(-,root,root)%changelog* Fri Oct 17 2003 Robert Lehr <bozzio@the-lehrs.com>- initial revision for private RPM
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。