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.8 by elmer, Tue Nov 13 14:16:42 2007 UTC vs.
Revision 1.15 by muzaffar, Thu Jun 18 16:02:47 2009 UTC

# Line 1 | Line 1
1 < ### RPM external systemtools 18
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 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 openssl_version                 0.9.7a
28 < ## INITENV SET OPENSSL_VERSION          %openssl_version
29 < %define xerces_version                  2.7.0
30 < ## INITENV SET XERCES_C_VERSION         %xerces_version
31 < ## INITENV SET XERCES_C_ROOT            /opt/xdaq
32 < %define xdaq_version                    3.13.0
33 < ## INITENV SET XDAQ_VERSION             %xdaq_version
34 < ## INITENV SET XDAQ_ROOT                /opt/xdaq
35 < %define mimetic_version                 0.9.1
36 < ## INITENV SET MIMETIC_VERSION          %mimetic_version
37 < %else
38 < %define onlinetools %{nil}
39 < %endif
40 <
41 < %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
# Line 60 | 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 81 | 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 102 | 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 216 | 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 295 | 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 356 | Line 325 | EOF_TOOLFILE
325   %{relocateConfig}etc/scram.d/opengl
326   %{relocateConfig}etc/scram.d/x11
327   %{relocateConfig}etc/scram.d/jcompiler
359
360 %if "%{?online_release:set}" == "set"
361 %{relocateConfig}etc/scram.d/cxxcompiler
362 %{relocateConfig}etc/scram.d/ccompiler
363 %{relocateConfig}etc/scram.d/f77compiler
364 %{relocateConfig}etc/scram.d/curl
365 %{relocateConfig}etc/scram.d/zlib
366 %{relocateConfig}etc/scram.d/oracle
367 %{relocateConfig}etc/scram.d/openssl
368 %{relocateConfig}etc/scram.d/xerces-c
369 %{relocateConfig}etc/scram.d/xdaq
370 %{relocateConfig}etc/scram.d/mimetic
371
372 %endif
373

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines