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.9 by elmer, Wed Apr 11 12:08:02 2007 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 29 | Line 29 | 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 < perl -p -i -e "s|%instroot|$RPM_INSTALL_PREFIX|" $RPM_INSTALL_PREFIX/%pkgrel/bin/dotneato-config `find $RPM_INSTALL_PREFIX/%pkgrel/lib/graphviz -name *.la`
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