ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/boost.spec
(Generate patch)

Comparing COMP/CMSDIST/boost.spec (file contents):
Revision 1.51 by dsr, Wed Jan 13 21:16:47 2010 UTC vs.
Revision 1.52 by eulisse, Fri Feb 12 09:26:14 2010 UTC

# Line 1 | Line 1
1 < ### RPM external boost 1.40.0
1 > ### RPM external boost 1.42.0
2   %define boostver _%(echo %realversion | tr . _)
3   Source: http://internap.dl.sourceforge.net/sourceforge/%{n}/%{n}%{boostver}.tar.gz
4   %define closingbrace )
# Line 35 | Line 35 | bjam %makeprocesses -s$PR -s$PV -s$BZ2LI
35  
36   %install
37   case $(uname) in Darwin ) so=dylib ;; * ) so=so ;; esac
38 < #no debug libs...
39 < #mkdir -p %i/lib/debug
40 < mkdir %i/lib
41 < #(cd bin/boost; find libs -path "libs/*/debug/*.$so" -exec cp {} %i/lib/debug \;)
42 < (cd stage; find lib -path "lib/*.$so*" -type f -exec cp  {} %i/lib/. \;)
43 <
44 < find boost -name '*.[hi]*' -print |
45 <  while read f; do
46 <    mkdir -p %i/include/$(dirname $f)
47 <    install -c $f %i/include/$f
48 <  done
49 < find libs -name '*.py' -print |
50 <  while read f; do
51 <    mkdir -p %i/lib/$(dirname $f)
52 <    install -c $f %i/lib/$f
53 <  done
54 <
55 < # Do all manipulation with files before creating symbolic links:
56 < perl -p -i -e "s|^#!.*python|/usr/bin/env python|" $(find %{i}/lib %{i}/bin)
57 < #strip %i/lib/*.$so
38 > mkdir -p %i/lib %i/include
39 > # copy files around in their final location.
40 > # We use tar to reduce the number of processes required
41 > # and because we need to build the build hierarchy for
42 > # the files that we are copying.
43 > pushd stage/lib
44 >  find . -name "*.$so*" -type f | tar cf - -T - | (cd %i/lib; tar xfp -)
45 > popd
46 > find boost -name '*.[hi]*' | tar cf - -T - | ( cd %i/include; tar xfp -)
47  
48   for l in `find %i/lib -name "*.$so.*"`
49   do
50    ln -s `basename $l` `echo $l | sed -e "s|[.]$so[.].*|.$so|"`
51   done
52  
53 < (cd %i/lib/libs/python/pyste/install; python setup.py install --prefix=%i)
53 > pushd libs/python/pyste/install
54 >  python setup.py install --prefix=%i
55 > popd
56 >
57 > # Do all manipulation with files before creating symbolic links:
58 > perl -p -i -e "s|^#!.*python|/usr/bin/env python|" $(find %{i}/lib %{i}/bin -type f)
59  
60   getLibName()
61   {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines