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.41 by elmer, Sun Apr 22 22:25:45 2007 UTC vs.
Revision 1.52 by muzaffar, Mon Sep 3 15:28:45 2007 UTC

# Line 1 | Line 1
1 < ### RPM cms seal-tool-conf CMS_147a
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_149a2
2  
3   Requires: gcc
12
4   Requires: pcre
5   Requires: zlib
6   Requires: bz2lib
7   Requires: uuid
8   Requires: python
9 + Requires: expat
10 + Requires: openssl
11 + Requires: db4
12 + Requires: gdbm
13   Requires: gccxml
14   Requires: boost
15   Requires: gsl
16   Requires: clhep
17   Requires: root
18 + Requires: qt
19 + Requires: castor
20 + Requires: mysql
21 + Requires: libpng
22 + Requires: libjpg
23 + Requires: dcap
24 + Requires: oracle
25 + Requires: oracle-env
26 + Requires: libungif
27 + Requires: libtiff
28   Requires: cppunit
29 < %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 < %if "%{?use_system_gcc:set}" == "set"
55 <  echo "TOOL:ccompiler:"
56 <       echo "  +GCC_BASE:/none"
57 <       echo "  +CC:$(which gcc)"
58 <       echo "  +CXX:$(which c++)"
59 <       echo "  +PATH:/none"  # useless, toolbox says value=""
60 <       echo "  +LD_LIBRARY_PATH:/none" # useless, toolbox says value=""
61 <       echo "TOOL:g77gcc3:"
62 <       echo "  +FC:$(which g77 | grep -v 'no g77')"
63 < %endif
64 < %if "%{?use_system_gcc:set}-%{?use_ccache:set}" == "-set"
65 < echo "TOOL:ccompiler:"
66 <       echo "  +GCC_BASE:$CCACHE_ROOT"
67 < eval        "echo \"  +CC:$CCACHE_ROOT/bin/gcc\""
68 < eval        "echo \"  +CXX:$CCACHE_ROOT/bin/c++\""
69 <       echo "TOOL:g77gcc3:"
70 <       echo "  +FC:$GCC_ROOT/bin/g77"
71 < %endif
72 < %if "%{?use_system_gcc:set}-%{?use_ccache:set}" == "-"
73 < echo "TOOL:ccompiler:"
74 <       echo "  +GCC_BASE:$GCC_ROOT"
75 <       echo "TOOL:g77gcc3:"
76 <       echo "  +FC:$GCC_ROOT/bin/g77"
77 < %endif
78 <
79 < echo "TOOL:pcre:"
80 < eval "echo \"  +PCRE_BASE:\${PCRE_ROOT}\""
81 < eval "echo \"  +PATH:\${PCRE_ROOT}/bin\""
82 < eval "echo \"  +LIBDIR:\${PCRE_ROOT}/lib\""
83 < eval "echo \"  +INCLUDE:\${PCRE_ROOT}/include\""
84 <
85 <
86 < echo "TOOL:zlib:"
87 < eval "echo \"  +ZLIB_BASE:\${ZLIB_ROOT}\""
88 < eval "echo \"  +PATH:\${ZLIB_ROOT}/bin\""
89 < eval "echo \"  +LIBDIR:\${ZLIB_ROOT}/lib\""
90 < eval "echo \"  +INCLUDE:\${ZLIB_ROOT}/include\""
91 <
92 <
93 < echo "TOOL:bz2lib:"
94 < eval "echo \"  +BZ2LIB_BASE:\${BZ2LIB_ROOT}\""
95 < eval "echo \"  +PATH:\${BZ2LIB_ROOT}/bin\""
96 < eval "echo \"  +LIBDIR:\${BZ2LIB_ROOT}/lib\""
97 < eval "echo \"  +INCLUDE:\${BZ2LIB_ROOT}/include\""
98 <
99 <
100 < echo "TOOL:uuid:"
101 < eval "echo \"  +UUID_BASE:\${UUID_ROOT}\""
102 < eval "echo \"  +PATH:\${UUID_ROOT}/bin\""
103 < eval "echo \"  +LIBDIR:\${UUID_ROOT}/lib\""
104 < eval "echo \"  +INCLUDE:\${UUID_ROOT}/include\""
105 <
106 < PYTHON_MAJOR=$(echo $PYTHON_VERSION | sed 's/\.[0-9]*$//')
107 < echo "TOOL:python:"
108 < echo "  +PYTHON_BASE:$PYTHON_ROOT"
109 < echo "  +LIBDIR:$PYTHON_ROOT/lib"
110 < echo "  +INCLUDE:$PYTHON_ROOT/include/python$PYTHON_MAJOR"
111 < echo "  +PATH:$PYTHON_ROOT/bin"
112 <
113 <
114 < echo "TOOL:gccxml:"
115 < eval "echo \"  +GCCXML_BASE:\${GCCXML_ROOT}\""
116 < eval "echo \"  +PATH:\${GCCXML_ROOT}/bin\""
117 < eval "echo \"  +LIBDIR:\${GCCXML_ROOT}/lib\""
118 < eval "echo \"  +INCLUDE:\${GCCXML_ROOT}/include\""
119 <
120 <
121 < echo "TOOL:boost:"
122 < eval "echo \"  +BOOST_BASE:\${BOOST_ROOT}\""
123 < eval "echo \"  +PATH:\${BOOST_ROOT}/bin\""
124 < eval "echo \"  +LIBDIR:\${BOOST_ROOT}/lib\""
125 < eval "echo \"  +INCLUDE:\${BOOST_ROOT}/include\""
126 <
127 <
128 < echo "TOOL:gsl:"
129 < eval "echo \"  +GSL_BASE:\${GSL_ROOT}\""
130 < eval "echo \"  +PATH:\${GSL_ROOT}/bin\""
131 < eval "echo \"  +LIBDIR:\${GSL_ROOT}/lib\""
132 < eval "echo \"  +INCLUDE:\${GSL_ROOT}/include\""
133 <
134 <
135 < echo "TOOL:clhep:"
136 < eval "echo \"  +CLHEP_BASE:\${CLHEP_ROOT}\""
137 < eval "echo \"  +PATH:\${CLHEP_ROOT}/bin\""
138 < eval "echo \"  +LIBDIR:\${CLHEP_ROOT}/lib\""
139 < eval "echo \"  +INCLUDE:\${CLHEP_ROOT}/include\""
140 <
141 < echo "TOOL:root:"
142 < echo "  +ROOT_BASE:$ROOT_ROOT"
143 < echo "  +ROOTSYS:$ROOT_ROOT/root"
144 <
145 < echo "TOOL:rootcore:"
146 < echo "  +ROOTCORE_BASE:$ROOT_ROOT"
147 < echo "  +ROOTSYS:$ROOT_ROOT/root"
148 <
149 < echo "TOOL:rootrflx:"
150 < echo "  +ROOTRFLX_BASE:$ROOT_ROOT"
151 < echo "  +ROOTSYS:$ROOT_ROOT/root"
152 < echo "  +GENREFLEX=$ROOT_ROOT/root/bin/genreflex"
153 <
29 > Requires: systemtools
30  
31 < echo "TOOL:cppunit:"
156 < eval "echo \"  +CPPUNIT_BASE:\${CPPUNIT_ROOT}\""
157 < eval "echo \"  +PATH:\${CPPUNIT_ROOT}/bin\""
158 < eval "echo \"  +LIBDIR:\${CPPUNIT_ROOT}/lib\""
159 < eval "echo \"  +INCLUDE:\${CPPUNIT_ROOT}/include\""
31 > %define skipreqtools %{nil}
32  
33 < ) > tools.conf
162 < %install
163 < mkdir %i/configurations/
164 < cp tools.conf %i/configurations/tools-STANDALONE.conf
165 < %post
166 < %{relocateConfig}configurations/tools-STANDALONE.conf
33 > ## IMPORT scramv1-tool-conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines