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.16 by elmer, Thu Dec 27 20:28:33 2007 UTC vs.
Revision 1.18 by eulisse, Mon Jan 21 12:53:28 2008 UTC

# Line 1 | Line 1
1 < ### RPM external graphviz 1.9-CMS19
2 < Source: http://service-spi.web.cern.ch/service-spi/external/tarFiles/%{n}-%{realversion}.tar.gz  
1 > ### RPM external graphviz 2.16.1-CMS19
2 > Source: http://www.graphviz.org/pub/%{n}/ARCHIVE/%{n}-%{realversion}.tar.gz  
3   Requires: expat zlib libjpg libpng
4 Patch0: graphviz
4  
5   %prep
6   %setup -n %{n}-%{realversion}
8 %patch0 -p1
7  
8   %build
9 + case %cmsplatf in
10 +    *_ia32_*)
11 +        export LD_LIBRARY_PATH=`echo $LD_LIBRARY_PATH | sed -e 's|lib64|lib|g'`
12 +    ;;
13 + esac
14   ./configure \
15    --with-expatlibdir=$EXPAT_ROOT/lib \
16    --with-expatincludedir=$EXPAT_ROOT/include \
# Line 20 | Line 23 | Patch0: graphviz
23    --without-x \
24    --without-tclsh \
25    --without-tcl \
26 +  --without-fontconfig \
27    --without-tk \
28 +  --without-perl \
29 +  --without-python \
30 +  --without-ruby \
31 +  --disable-ruby \
32 +  --disable-perl \
33 +  --without-pangocairo \
34 +  --without-freetype \
35 +  --without-fontconfig \
36 +  --without-gdk-pixbuf \
37 +  --disable-sharp \
38 +  --disable-guile \
39 +  --disable-java \
40 +  --disable-lua \
41 +  --disable-ocaml \
42 +  --disable-perl \
43 +  --disable-php \
44 +  --disable-python \
45    --prefix=%{i}
46   # This is a workaround for the fact that sort from coreutils 5.96 doesn't
47   # like "sort +0 -1", not really something specific to ppc64/ydl5.0
# Line 28 | Line 49 | if [ "$(uname -m)" == "ppc64" ]
49   then
50   perl -p -i -e "s|\+0 \-1|-k1,1|g" dotneato/common/Makefile
51   fi
52 + # Probably the configure should just be remade on Darwin, but it builds
53 + # as-is with this small cleanup
54 + %ifos darwin
55 + perl -p -i -e "s|-lexpat||g" configure
56 + %endif
57   make
58  
59   %install
# Line 52 | Line 78 | cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
78   EOF_TOOLFILE
79  
80   %post
81 < %{relocateConfig}bin/dotneato-config `find $RPM_INSTALL_PREFIX/%pkgrel/lib/graphviz -name *.la`
81 > # It appears one needs to list at least one explicitly as the macro adds
82 > # the prefix, but then the find can add it and the others (also with the
83 > # prefix)
84 > %{relocateConfig}/lib/libgraph.la `find $RPM_INSTALL_PREFIX/%pkgrel/lib -name *.la`
85   %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines