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

Comparing COMP/CMSDIST/systemtools.spec (file contents):
Revision 1.5 by ratnik, Tue Oct 16 05:21:58 2007 UTC vs.
Revision 1.15 by muzaffar, Thu Jun 18 16:02:47 2009 UTC

# Line 1 | Line 1
1 < ### RPM external systemtools 1.0-onl
1 > ### RPM external systemtools 19
2   Source: none
3  
4   %if "%{?use_system_gcc:set}" == "set"
# Line 7 | Line 7 | Source: none
7   %define compilertools %jcompiler
8   %endif
9  
10 < %if "%{?online_release:set}" == "set"
11 < #%define onlinetools curl libpng libtiff libungif mimetic mysql openssl oracle python elementtree qt xdaq xerces zlib
12 < %define onlinetools zlib curl oracle mysql openssl xerces-c xdaq mimetic
13 < # Define variables used in non-scram-managed tools, that would be
14 < # normally defined in package's init.sh/csh scrips.
15 < # Set all versions as currently found on the system.
16 < %define compiler_version                3.4.6
17 < ## INITENV SET CXXCOMPILER_VERSION      %compiler_version
18 < ## INITENV SET CCOMPILER_VERSION        %compiler_version
19 < ## INITENV SET F77COMPILER_VERSION      %compiler_version
20 < %define curl_version                    7.12.1
21 < ## INITENV SET CURL_VERSION             %curl_version
22 < %define zlib_version                    1.2.1.2
23 < ## INITENV SET ZLIB_VERSION             %zlib_version
24 < %define oracle_version                  10.2.1
25 < ## INITENV SET ORACLE_VERSION           %oracle_version
26 < ## INITENV SET ORACLE_ROOT              /opt/xdaq
27 < %define mysql_version                   4.1.20
28 < ## INITENV SET MYSQL_VERSION            %mysql_version
29 < %define openssl_version                 0.9.7a
30 < ## INITENV SET OPENSSL_VERSION          %openssl_version
31 < %define xerces_version                  2.7.0
32 < ## INITENV SET XERCES_C_VERSION         %xerces_version
33 < ## INITENV SET XERCES_C_ROOT            /opt/xdaq
34 < %define xdaq_version                    3.13.0
35 < ## INITENV SET XDAQ_VERSION             %xdaq_version
36 < ## INITENV SET XDAQ_ROOT                /opt/xdaq
37 < %define mimetic_version                 0.9.1
38 < ## INITENV SET MIMETIC_VERSION          %mimetic_version
39 < %else
40 < %define onlinetools %{nil}
41 < %endif
42 <
43 < %define systemtools                     sockets opengl x11 %compilertools %onlinetools
10 > %define systemtools                     sockets opengl x11 %compilertools
11   %define sockets_version                 1.0
12   %define opengl_version                  XFree4.2
13   %define x11_version                     R6
14   ### why oh why is this hardwired??
15 < %define jcompiler_version               1.5.0.p6-CMS8
15 > %define jcompiler_version               1.5.0.p6-CMS18
16  
17   ## INITENV SET SOCKETS_VERSION          %sockets_version
18   ## INITENV SET OPENGL_VERSION           %opengl_version
# Line 62 | Line 29 | mkdir -p %i/etc/scram.d
29   # Sockets
30   cat << \EOF_TOOLFILE >%i/etc/scram.d/sockets
31   <doc type=BuildSystem::ToolDoc version=1.1>
32 < <Tool name=Sockets version=%sockets_version>
32 > <Tool name=sockets version=%sockets_version>
33   EOF_TOOLFILE
34   case %cmsplatf in
35 < slc3_* | slc4_* | slc4onl_* )
35 > slc3_* | slc4_* | slc4onl_* | slc5_* )
36   cat << \EOF_TOOLFILE >>%i/etc/scram.d/sockets
37   <lib name=nsl>
38   <lib name=crypt>
# Line 83 | Line 50 | echo "</Tool>" >>%i/etc/scram.d/sockets
50   # OpenGL
51   cat << \EOF_TOOLFILE >%i/etc/scram.d/opengl
52   <doc type=BuildSystem::ToolDoc version=1.1>
53 < <Tool name=OpenGL version=%opengl_version>
53 > <Tool name=opengl version=%opengl_version>
54   <use name=X11>
55   <lib name=GL>
56   <lib name=GLU>
# Line 104 | Line 71 | echo "</Tool>" >>%i/etc/scram.d/opengl
71   # X11
72   cat << \EOF_TOOLFILE >%i/etc/scram.d/x11
73   <doc type=BuildSystem::ToolDoc version=1.1>
74 < <Tool name=X11 version=%x11_version>
74 > <Tool name=x11 version=%x11_version>
75   EOF_TOOLFILE
76   case %cmsplatf in
77   slc3_* )
# Line 218 | Line 185 | EOF_TOOLFILE
185   # curl
186   cat << \EOF_TOOLFILE >%i/etc/scram.d/curl
187   <doc type=BuildSystem::ToolDoc version=1.0>
188 < <Tool name=Curl version=%curl_version>
188 > <Tool name=curl version=%curl_version>
189   <lib name=curl>
190   <client>
191   <Environment name=CURL_BASE default="/usr/"></Environment>
# Line 266 | Line 233 | cat << \EOF_TOOLFILE >%i/etc/scram.d/ora
233   </Tool>
234   EOF_TOOLFILE
235  
269 #mysql
270 cat << \EOF_TOOLFILE >%i/etc/scram.d/mysql
271 <doc type=BuildSystem::ToolDoc version=1.0>
272 <Tool name=mysql version=%mysql_version>
273 <Lib name=mysqlclient>
274 <Client>
275 <Environment name=MYSQL_BASE default="/usr"></Environment>
276 <Environment name=LIBDIR default="$MYSQL_BASE/lib/mysql"></Environment>
277 <Environment name=MYSQL_BINDIR default="$MYSQL_BASE/bin"></Environment>
278 <Environment name=INCLUDE default="$MYSQL_BASE/include/mysql"></Environment>
279 </Client>
280 <Runtime name=PATH value="$MYSQL_BINDIR" type=path>
281 </Tool>
282 EOF_TOOLFILE
283
236   #openssl
237   cat << \EOF_TOOLFILE >%i/etc/scram.d/openssl
238   <doc type=BuildSystem::ToolDoc version=1.0>
# Line 312 | Line 264 | EOF_TOOLFILE
264   #xdaq
265   cat << \EOF_TOOLFILE >%i/etc/scram.d/xdaq
266   <doc type=BuildSystem::ToolDoc version=1.0>
267 < <Tool name=XDAQ version=%xdaq_version>
267 > <Tool name=xdaq version=%xdaq_version>
268   <info url=http://home.cern.ch/xdaq></info>
269   <lib name=toolbox>
270   <lib name=xdaq>
# Line 373 | Line 325 | EOF_TOOLFILE
325   %{relocateConfig}etc/scram.d/opengl
326   %{relocateConfig}etc/scram.d/x11
327   %{relocateConfig}etc/scram.d/jcompiler
376
377 %if "%{?online_release:set}" == "set"
378 %{relocateConfig}etc/scram.d/cxxcompiler
379 %{relocateConfig}etc/scram.d/ccompiler
380 %{relocateConfig}etc/scram.d/f77compiler
381 %{relocateConfig}etc/scram.d/curl
382 %{relocateConfig}etc/scram.d/zlib
383 %{relocateConfig}etc/scram.d/oracle
384 %{relocateConfig}etc/scram.d/mysql
385 %{relocateConfig}etc/scram.d/openssl
386 %{relocateConfig}etc/scram.d/xerces-c
387 %{relocateConfig}etc/scram.d/xdaq
388 %{relocateConfig}etc/scram.d/mimetic
389
390 %endif
391

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines