%define name vcg %define version 1.30 %define release 3mdk Summary: The VCG visualization tool for compiler graphs Name: %name Version: %version Release: %release License: GPL Group: Graphics URL: http://www.cs.uni-sb.de/RW/users/sander/html/gsvcg1.html Source: ftp://ftp.cs.uni-sb.de/pub/graphics/vcg/vcg.tar.bz2 Patch: vcg.1.30-fix-build.patch.bz2 BuildRoot: %{_tmppath}/%{name}-buildroot %description The VCG tool reads a textual and readable specification of a graph and visualizes the graph. If not all positions of nodes are fixed, the tool layouts the graph using several heuristics as reducing the number of crossings, minimizing the size of edges, centering of nodes. The specification language of the VCG tool is nearly compatible to GRL, the language of the edge tool, but contains many extensions. The VCG tool allows folding of dynamically or statically specified regions of the graph. It uses colors and runs on X11. %prep %setup -q -n %{name}.%{version} %patch0 -p1 -z .pix %build %make xvcg_gcc_noxmkmf xvcg CFLAGS="-c %{optflags}" %install rm -rf %buildroot install -d %buildroot/{%{_bindir},%{_mandir}/manl} make SED=sed BINDIR=%buildroot/%{_bindir} MANDIR=%buildroot/%{_mandir}/manl install cp -f demo/demo.csh expl chmod 644 expl/cfg.vcg %files %defattr(-,root,root) %doc COPYING README expl %{_bindir}/* %{_mandir}/*/* %changelog * Fri Oct 19 2001 Pixel <pixel@mandrakesoft.com> 1.30-3mdk - make rpmlint happy * Thu Oct 18 2001 Lenny Cartier <lenny@mandrakesoft.com> 1.30-2mdk - rebuild * Thu Dec 28 2000 Pixel <pixel@mandrakesoft.com> 1.30-1mdk - initial spec