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

Comparing COMP/CMSDIST/prodagent.spec (file contents):
Revision 1.107 by afanfani, Tue Jul 24 17:23:29 2007 UTC vs.
Revision 1.221 by fvlingen, Thu Aug 28 08:23:40 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms prodagent PRODAGENT_0_4_0_pre3
1 > ### RPM cms prodagent PRODAGENT_0_12_0_pre3
2   ## INITENV +PATH PYTHONPATH %i/lib
3 <
3 > ## INITENV +PATH PYTHONPATH $WEBTOOLS_ROOT/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/Tools/GraphTool/src
4 > ## INITENV +PATH PYTHONPATH $PY2_PIL_ROOT/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages/PIL
5 > #
6 > #
7   %define cvstag %v
8   Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=PRODAGENT&export=PRODAGENT&&tag=-r%{cvstag}&output=/PRODAGENT.tar.gz
9 < Requires: python mysql py2-mysqldb dbs-client dls boss prodcommon openssl cherrypy PHEDEX-micro
9 > Requires: webtools mysql py2-mysqldb dbs-client boss prodcommon py2-pyxml PHEDEX-micro py2-numpy py2-matplotlib py2-pil py2-pyopenssl wmcore
10  
11   %prep
12   %setup -n PRODAGENT
# Line 19 | Line 22 | cp -R util/* %i/util/
22   mkdir -p %{i}/etc/profile.d
23   mkdir -p %i/workdir
24  
22
25   (echo "#!/bin/sh"; \
24 echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
25 echo "source $OPENSSL_ROOT/etc/profile.d/init.sh"; \
26   echo "source $MYSQL_ROOT/etc/profile.d/init.sh"; \
27   echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.sh"; \
28 + echo "source $PY2_PYXML_ROOT/etc/profile.d/init.sh"; \
29   echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \
29 echo "source $DLS_ROOT/etc/profile.d/init.sh"; \
30   echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \
31 echo "source $CHERRYPY_ROOT/etc/profile.d/init.sh"; \
31   echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.sh"; \
32 + echo "source $PY2_NUMPY_ROOT/etc/profile.d/init.sh"; \
33 + echo "source $PY2_MATPLOTLIB_ROOT/etc/profile.d/init.sh"; \
34 + echo "source $PY2_PIL_ROOT/etc/profile.d/init.sh"; \
35 + echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.sh"; \
36 + echo "source $WEBTOOLS_ROOT/etc/profile.d/init.sh"; \
37 + echo "source $WMCORE_ROOT/etc/profile.d/init.sh"; \
38   echo "source $BOSS_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh
39  
40   (echo "#!/bin/tcsh"; \
36 echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
37 echo "source $OPENSSL_ROOT/etc/profile.d/init.csh"; \
41   echo "source $MYSQL_ROOT/etc/profile.d/init.csh"; \
42   echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.csh"; \
43 + echo "source $PY2_PYXML_ROOT/etc/profile.d/init.csh"; \
44   echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \
41 echo "source $DLS_ROOT/etc/profile.d/init.csh"; \
45   echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \
43 echo "source $CHERRYPY_ROOT/etc/profile.d/init.csh"; \
46   echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.csh"; \
47 + echo "source $PY2_NUMPY_ROOT/etc/profile.d/init.csh"; \
48 + echo "source $PY2_MATPLOTLIB_ROOT/etc/profile.d/init.csh"; \
49 + echo "source $PY2_PIL_ROOT/etc/profile.d/init.csh"; \
50 + echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.csh"; \
51 + echo "source $WEBTOOLS_ROOT/etc/profile.d/init.csh"; \
52 + echo "source $WMCORE_ROOT/etc/profile.d/init.csh"; \
53   echo "source $BOSS_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
54  
55 +
56   %post
57   %{relocateConfig}etc/profile.d/dependencies-setup.sh
58   %{relocateConfig}etc/profile.d/dependencies-setup.csh
59 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines