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

Comparing COMP/CMSDIST/cppunit.spec (file contents):
Revision 1.19 by elmer, Mon Apr 6 12:33:37 2009 UTC vs.
Revision 1.22 by eulisse, Thu Aug 12 10:12:50 2010 UTC

# Line 7 | Line 7 | Source1: http://spi.cvs.cern.ch:8180/cgi
7  
8   %build
9   case %cmsplatf in
10 <    osx105* ) perl -p -i -e 's|rm(.*)conftest|rm -fr $1 conftest|g' configure \
11 <                                                                    aclocal.m4 \
12 <                                                                                                                    libtool \
13 <                                                                                                                    config/ltmain.sh
10 >    osx* ) perl -p -i -e 's|rm(.*)conftest|rm -fr $1 conftest|g' configure \
11 >                                                                 aclocal.m4 \
12 >                                                                 libtool \
13 >                                                                 config/ltmain.sh
14      ;;
15 < esac
16 < case $(uname) in
17 <    Linux )
15 >    slc* )
16         # Ugly hack to force -ldl to be linked, which for some reason is
17         # not currently happening via configure
18         perl -p -i -e 's|LIBS.*LIBS.*lm|LIBS="$LIBS -lm -ldl|' configure
# Line 26 | Line 24 | make %makeprocesses
24   make install
25   cp %_sourcedir/CppUnit_testdriver.cpp* %i/include/CppUnit_testdriver.cpp
26  
29 # SCRAM ToolBox toolfile
30 mkdir -p %i/etc/scram.d
31 cat << \EOF_TOOLFILE >%i/etc/scram.d/%n
32 <doc type=BuildSystem::ToolDoc version=1.0>
33 <Tool name=%n version=%v>
34 <lib name=cppunit>
35 <Client>
36 <Environment name=CPPUNIT_BASE default="%i"></Environment>
37 <Environment name=LIBDIR default="$CPPUNIT_BASE/lib"></Environment>
38 <Environment name=INCLUDE default="$CPPUNIT_BASE/include"></Environment>
39 </Client>
40 <use name=sockets>
41 </Tool>
42 EOF_TOOLFILE
43
27   %post
28   %{relocateConfig}/bin/cppunit-config
29   %{relocateConfig}/lib/libcppunit.la
47 %{relocateConfig}etc/scram.d/%n

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines