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.26 by elmer, Fri Oct 30 14:58:16 2009 UTC vs.
Revision 1.29 by eulisse, Wed Oct 6 16:25:15 2010 UTC

# Line 9 | Line 9 | Requires: expat zlib libjpg libpng
9   which gcc
10   LIB64_SUFFIX=
11   case %cmsplatf in
12 <    *_ia32_* )
12 >    slc*_ia32_* )
13          export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -e 's|lib64|lib|g'`
14          ADDITIONAL_OPTIONS="--with-freetype2=no --disable-shared --enable-static --disable-libtdl"
15      ;;
16 <    *_amd64_* )
16 >    slc*_amd64_* )
17          LIB64_SUFFIX=64
18          ADDITIONAL_OPTIONS="--with-freetype2=no --disable-shared --enable-static --disable-ltdl"
19      ;;
# Line 70 | Line 70 | make
70   make install
71   # To match configure options above
72   case %cmsplatf in
73 <    *_ia32_* | *_amd64_*)
73 >    slc*_ia32_* | slc*_amd64_*)
74          ln -s dot_static %i/bin/dot
75      ;;
76   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>
94 </Tool>
95 EOF_TOOLFILE
96
78   %post
79 < # It appears one needs to list at least one explicitly as the macro adds
99 < # the prefix, but then the find can add it and the others (also with the
100 < # prefix)
101 < %{relocateConfig}/lib/libgraph.la `find $RPM_INSTALL_PREFIX/%pkgrel/lib -name *.la`
102 < %{relocateConfig}etc/scram.d/%n
79 > %{relocateCmsFiles} `find $RPM_INSTALL_PREFIX/%pkgrel/lib -name *.la`

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines