ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/graphviz.spec
(Generate patch)

Comparing COMP/CMSDIST/graphviz.spec (file contents):
Revision 1.22 by elmer, Wed Jan 23 21:56:09 2008 UTC vs.
Revision 1.27 by muzaffar, Tue Jul 6 08:34:43 2010 UTC

# Line 1 | Line 1
1 < ### RPM external graphviz 2.16.1-CMS19
1 > ### RPM external graphviz 2.16.1
2   Source: http://www.graphviz.org/pub/%{n}/ARCHIVE/%{n}-%{realversion}.tar.gz  
3   Requires: expat zlib libjpg libpng
4  
# Line 26 | Line 26 | esac
26    --with-expatincludedir=$EXPAT_ROOT/include \
27    --with-zincludedir=$ZLIB_ROOT/include \
28    --with-zlibdir=$ZLIB_ROOT/lib \
29 <  --with-pngincludedir=$LIBJPG_ROOT/include \
30 <  --with-pnglibdir=$LIBJPG_ROOT/lib \
31 <  --with-jpegincludedir=$LIBPNG_ROOT/include \
32 <  --with-jpeglibdir=$LIBPNG_ROOT/lib \
29 >  --with-pngincludedir=$LIBPNG_ROOT/include \
30 >  --with-pnglibdir=$LIBPNG_ROOT/lib \
31 >  --with-jpegincludedir=$LIBJPG_ROOT/include \
32 >  --with-jpeglibdir=$LIBJPG_ROOT/lib \
33    --without-x \
34    --without-tclsh \
35    --without-tcl \
# Line 63 | Line 63 | fi
63   # Probably the configure should just be remade on Darwin, but it builds
64   # as-is with this small cleanup
65   perl -p -i -e "s|-lexpat||g" configure
66 < make %makeprocesses
66 > # make %makeprocesses
67 > make
68  
69   %install
70   make install
# Line 76 | Line 77 | esac
77  
78   # SCRAM ToolBox toolfile
79   mkdir -p %i/etc/scram.d
80 < cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
81 < <doc type=BuildSystem::ToolDoc version=1.0>
82 < <Tool name=%n version=%v>
83 < <info url="http://www.research.att.com/sw/tools/graphviz/"></info>
84 < <Client>
85 < <Environment name=GRAPHVIZ_BASE default="%i"></Environment>
86 < <Environment name=GRAPHVIZ_BINDIR default="$GRAPHVIZ_BASE/bin"></Environment>
87 < <Environment name=LIBDIR default="$GRAPHVIZ_BASE/lib/graphviz"></Environment>
88 < </Client>
89 < <Runtime name=PATH value="$GRAPHVIZ_BINDIR" type=path>
90 < <Use name=expat>
91 < <Use name=zlib>
92 < <Use name=libjpg>
93 < <use name=libpng>
93 < </Tool>
80 > cat << \EOF_TOOLFILE >%i/etc/scram.d/%n.xml
81 >  <tool name="%n" version="%v">
82 >    <info url="http://www.research.att.com/sw/tools/graphviz/"/>
83 >    <client>
84 >      <environment name="GRAPHVIZ_BASE" default="%i"/>
85 >      <environment name="GRAPHVIZ_BINDIR" default="$GRAPHVIZ_BASE/bin"/>
86 >      <environment name="LIBDIR" default="$GRAPHVIZ_BASE/lib/graphviz"/>
87 >    </client>
88 >    <runtime name="PATH" value="$GRAPHVIZ_BINDIR" type="path"/>
89 >    <use name="expat"/>
90 >    <use name="zlib"/>
91 >    <use name="libjpg"/>
92 >    <use name="libpng"/>
93 >  </tool>
94   EOF_TOOLFILE
95  
96   %post
# Line 98 | Line 98 | EOF_TOOLFILE
98   # the prefix, but then the find can add it and the others (also with the
99   # prefix)
100   %{relocateConfig}/lib/libgraph.la `find $RPM_INSTALL_PREFIX/%pkgrel/lib -name *.la`
101 < %{relocateConfig}etc/scram.d/%n
101 > %{relocateConfig}etc/scram.d/%n.xml

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines