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.2 by eulisse, Mon Apr 24 16:24:43 2006 UTC vs.
Revision 1.7 by eulisse, Mon Aug 21 08:19:18 2006 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  
3 < Requires: expat
3 > Requires: expat zlib libjpg libpng
4 > Patch0: graphviz
5  
6   %prep
7   %setup -n %{n}-%{v}
8 + %patch0 -p1
9  
10   %build
11 < ./configure --with-expatlibdir=$EXPAT_ROOT/lib --with-expatincludedir=$EXPAT_ROOT/include --without-x --prefix=%{i}
11 > ./configure \
12 >  --with-expatlibdir=$EXPAT_ROOT/lib \
13 >  --with-expatincludedir=$EXPAT_ROOT/include \
14 >  --with-zincludedir=$ZLIB_ROOT/include \
15 >  --with-zlibdir=$ZLIB_ROOT/lib \
16 >  --with-pngincludedir=$LIBJPG_ROOT/include \
17 >  --with-pnglibdir=$LIBJPG_ROOT/lib \
18 >  --with-jpegincludedir=$LIBPNG_ROOT/include \
19 >  --with-jpeglibdir=$LIBPNG_ROOT/lib \
20 >  --without-x \
21 >  --without-tcl \
22 >  --without-tk \
23 >  --prefix=%{i}
24 >
25   make
26 + %post
27 + 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`

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines