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

Comparing COMP/CMSDIST/seal-tool-conf.spec (file contents):
Revision 1.37 by sashby, Fri Feb 16 13:00:33 2007 UTC vs.
Revision 1.73 by ratnik, Fri Jan 18 21:11:57 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms seal-tool-conf CMS_145
2 < # DO NOT MODIFY. This spec file is automatically generated by executing src/createConfSpecs.sh in the
3 < # main directory. Modify src/toolConfiguration.xsl if needed.
4 <
5 < # We set a special variable TOOLCONF_VERSION which is then used by scram-build.file and scramv1-build.file to
6 < # check out the correct toolbox. Notice that all the *-tool-conf.spec set the same variable so this is
7 < # relevant only for build time and not for runtime.
8 < ## INITENV SET TOOLCONF_VERSION %{v}
9 < Source0: none
1 > ### RPM cms seal-tool-conf CMS_152
2 > %if "%{?use_system_gcc:set}" != "set"
3 > Requires: gcc-toolfile
4 > Requires: gmake
5 > %endif
6  
7 < Requires: gcc
7 > %if "%{?online_release:set}" != "set"
8 > Requires: zlib
9 > Requires: expat
10 > Requires: openssl
11 > Requires: db4
12 > Requires: gdbm
13 > Requires: qt
14 > Requires: castor
15 > Requires: mysql
16 > Requires: libpng
17 > Requires: libjpg
18 > Requires: dcap
19 > Requires: oracle
20 > Requires: oracle-env
21 > Requires: libungif
22 > Requires: libtiff
23 > Requires: cppunit
24 > Requires: systemtools
25 > %else
26 > Requires: onlinesystemtools
27 > %define onlinesystemtoolsroot ${ONLINESYSTEMTOOLS_ROOT}
28 > %endif
29  
30 + Requires: python
31   Requires: pcre
14 Requires: zlib
32   Requires: bz2lib
33   Requires: uuid
17 Requires: python
34   Requires: gccxml
35   Requires: boost
36   Requires: gsl
37   Requires: clhep
38   Requires: root
23 Requires: cppunit
24 %prep
25 %build
26 (echo "ARCHITECTURE:%{cmsplatf}"
27 echo "SCRAM_BASEPATH:%{instroot}/external"
28
29 %if "%{?use_system_gcc:set}" == "set"
30  echo "TOOL:cxxcompiler:"
31       echo "  +GCC_BASE:/none"
32       echo "  +CC:$(which gcc)"
33       echo "  +CXX:$(which c++)"
34       echo "  +PATH:/none"  # useless, toolbox says value=""
35       echo "  +LD_LIBRARY_PATH:/none" # useless, toolbox says value=""
36       echo "TOOL:g77gcc3:"
37       echo "  +FC:$(which g77 | grep -v 'no g77')"
38 %endif
39 %if "%{?use_system_gcc:set}-%{?use_ccache:set}" == "-set"
40 echo "TOOL:cxxcompiler:"
41       echo "  +GCC_BASE:$CCACHE_ROOT"
42 eval        "echo \"  +CC:$CCACHE_ROOT/bin/gcc\""
43 eval        "echo \"  +CXX:$CCACHE_ROOT/bin/c++\""
44       echo "TOOL:g77gcc3:"
45       echo "  +FC:$GCC_ROOT/bin/g77"
46 %endif
47 %if "%{?use_system_gcc:set}-%{?use_ccache:set}" == "-"
48 echo "TOOL:cxxcompiler:"
49       echo "  +GCC_BASE:$GCC_ROOT"
50       echo "TOOL:g77gcc3:"
51       echo "  +FC:$GCC_ROOT/bin/g77"
52 %endif
53
54
55 echo "TOOL:pcre:"
56 eval "echo \"  +PCRE_BASE:\${PCRE_ROOT}\""
57 eval "echo \"  +PATH:\${PCRE_ROOT}/bin\""
58 eval "echo \"  +LIBDIR:\${PCRE_ROOT}/lib\""
59 eval "echo \"  +INCLUDE:\${PCRE_ROOT}/include\""
60
61
62 echo "TOOL:zlib:"
63 eval "echo \"  +ZLIB_BASE:\${ZLIB_ROOT}\""
64 eval "echo \"  +PATH:\${ZLIB_ROOT}/bin\""
65 eval "echo \"  +LIBDIR:\${ZLIB_ROOT}/lib\""
66 eval "echo \"  +INCLUDE:\${ZLIB_ROOT}/include\""
67
68
69 echo "TOOL:bz2lib:"
70 eval "echo \"  +BZ2LIB_BASE:\${BZ2LIB_ROOT}\""
71 eval "echo \"  +PATH:\${BZ2LIB_ROOT}/bin\""
72 eval "echo \"  +LIBDIR:\${BZ2LIB_ROOT}/lib\""
73 eval "echo \"  +INCLUDE:\${BZ2LIB_ROOT}/include\""
74
75
76 echo "TOOL:uuid:"
77 eval "echo \"  +UUID_BASE:\${UUID_ROOT}\""
78 eval "echo \"  +PATH:\${UUID_ROOT}/bin\""
79 eval "echo \"  +LIBDIR:\${UUID_ROOT}/lib\""
80 eval "echo \"  +INCLUDE:\${UUID_ROOT}/include\""
81
82 PYTHON_MAJOR=$(echo $PYTHON_VERSION | sed 's/\.[0-9]*$//')
83 echo "TOOL:python:"
84 echo "  +PYTHON_BASE:$PYTHON_ROOT"
85 echo "  +LIBDIR:$PYTHON_ROOT/lib"
86 echo "  +INCLUDE:$PYTHON_ROOT/include/python$PYTHON_MAJOR"
87 echo "  +PATH:$PYTHON_ROOT/bin"
88
89
90 echo "TOOL:gccxml:"
91 eval "echo \"  +GCCXML_BASE:\${GCCXML_ROOT}\""
92 eval "echo \"  +PATH:\${GCCXML_ROOT}/bin\""
93 eval "echo \"  +LIBDIR:\${GCCXML_ROOT}/lib\""
94 eval "echo \"  +INCLUDE:\${GCCXML_ROOT}/include\""
95
96
97 echo "TOOL:boost:"
98 eval "echo \"  +BOOST_BASE:\${BOOST_ROOT}\""
99 eval "echo \"  +PATH:\${BOOST_ROOT}/bin\""
100 eval "echo \"  +LIBDIR:\${BOOST_ROOT}/lib\""
101 eval "echo \"  +INCLUDE:\${BOOST_ROOT}/include\""
102
103
104 echo "TOOL:gsl:"
105 eval "echo \"  +GSL_BASE:\${GSL_ROOT}\""
106 eval "echo \"  +PATH:\${GSL_ROOT}/bin\""
107 eval "echo \"  +LIBDIR:\${GSL_ROOT}/lib\""
108 eval "echo \"  +INCLUDE:\${GSL_ROOT}/include\""
109
110
111 echo "TOOL:clhep:"
112 eval "echo \"  +CLHEP_BASE:\${CLHEP_ROOT}\""
113 eval "echo \"  +PATH:\${CLHEP_ROOT}/bin\""
114 eval "echo \"  +LIBDIR:\${CLHEP_ROOT}/lib\""
115 eval "echo \"  +INCLUDE:\${CLHEP_ROOT}/include\""
116
117 echo "TOOL:root:"
118 echo "  +ROOT_BASE:$ROOT_ROOT"
119 echo "  +ROOTSYS:$ROOT_ROOT/root"
120
121 echo "TOOL:rootcore:"
122 echo "  +ROOTCORE_BASE:$ROOT_ROOT"
123 echo "  +ROOTSYS:$ROOT_ROOT/root"
124
125 echo "TOOL:rootrflx:"
126 echo "  +ROOTRFLX_BASE:$ROOT_ROOT"
127 echo "  +ROOTSYS:$ROOT_ROOT/root"
128 echo "  +GENREFLEX=$ROOT_ROOT/root/bin/genreflex"
129
39  
40 < echo "TOOL:cppunit:"
41 < eval "echo \"  +CPPUNIT_BASE:\${CPPUNIT_ROOT}\""
133 < eval "echo \"  +PATH:\${CPPUNIT_ROOT}/bin\""
134 < eval "echo \"  +LIBDIR:\${CPPUNIT_ROOT}/lib\""
135 < eval "echo \"  +INCLUDE:\${CPPUNIT_ROOT}/include\""
40 > %define skipreqtools %{nil}
41 > %define skipreqtools jcompiler
42  
43 < ) > tools.conf
138 < %install
139 < mkdir %i/configurations/
140 < cp tools.conf %i/configurations/tools-STANDALONE.conf
141 < %post
142 < %{relocateConfig}configurations/tools-STANDALONE.conf
43 > ## IMPORT scramv1-tool-conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines