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.4 by ratnik, Fri Aug 4 16:32:55 2006 UTC vs.
Revision 1.16 by elmer, Thu Dec 27 20:28:33 2007 UTC

# Line 1 | Line 1
1 < ### RPM external graphviz 1.9
2 < Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%{n}-%{v}.tar.gz  
1 > ### RPM external graphviz 1.9-CMS19
2 > Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%{n}-%{realversion}.tar.gz  
3   Requires: expat zlib libjpg libpng
4   Patch0: graphviz
5  
6   %prep
7 < %setup -n %{n}-%{v}
7 > %setup -n %{n}-%{realversion}
8   %patch0 -p1
9  
10   %build
# Line 18 | Line 18 | Patch0: graphviz
18    --with-jpegincludedir=$LIBPNG_ROOT/include \
19    --with-jpeglibdir=$LIBPNG_ROOT/lib \
20    --without-x \
21 +  --without-tclsh \
22 +  --without-tcl \
23 +  --without-tk \
24    --prefix=%{i}
25 <
25 > # This is a workaround for the fact that sort from coreutils 5.96 doesn't
26 > # like "sort +0 -1", not really something specific to ppc64/ydl5.0
27 > if [ "$(uname -m)" == "ppc64" ]
28 > then
29 > perl -p -i -e "s|\+0 \-1|-k1,1|g" dotneato/common/Makefile
30 > fi
31   make
32 +
33 + %install
34 + make install
35 + # SCRAM ToolBox toolfile
36 + mkdir -p %i/etc/scram.d
37 + cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
38 + <doc type=BuildSystem::ToolDoc version=1.0>
39 + <Tool name=%n version=%v>
40 + <info url="http://www.research.att.com/sw/tools/graphviz/"></info>
41 + <Client>
42 + <Environment name=GRAPHVIZ_BASE default="%i"></Environment>
43 + <Environment name=GRAPHVIZ_BINDIR default="$GRAPHVIZ_BASE/bin"></Environment>
44 + <Environment name=LIBDIR default="$GRAPHVIZ_BASE/lib/graphviz"></Environment>
45 + </Client>
46 + <Runtime name=PATH value="$GRAPHVIZ_BINDIR" type=path>
47 + <Use name=expat>
48 + <Use name=zlib>
49 + <Use name=libjpg>
50 + <use name=libpng>
51 + </Tool>
52 + EOF_TOOLFILE
53 +
54 + %post
55 + %{relocateConfig}bin/dotneato-config `find $RPM_INSTALL_PREFIX/%pkgrel/lib/graphviz -name *.la`
56 + %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines