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.49 by elmer, Mon Jul 24 19:53:06 2006 UTC vs.
Revision 1.244 by spiga, Thu Nov 27 17:40:36 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms prodagent PRODAGENT_0_0_33
1 > ### RPM cms prodagent PRODAGENT_0_12_7_CRAB_3
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 dls boss
9 > Requires: webtools mysql py2-mysqldb dbs-client prodcommon py2-pyxml PHEDEX-micro py2-numpy py2-matplotlib py2-pil py2-pyopenssl wmcore dls-client boss
10  
11   %prep
12   %setup -n PRODAGENT
# Line 12 | Line 15 | Requires: python mysql py2-mysqldb dbs d
15   make PREFIX=%i install
16   mkdir -p %i/bin
17   cp bin/prod* %{i}/bin
18 + mkdir -p %i/test
19 + cp -R test/* %i/test/
20 + mkdir -p %i/util
21 + cp -R util/* %i/util/
22   mkdir -p %{i}/etc/profile.d
23   mkdir -p %i/workdir
24  
25   (echo "#!/bin/sh"; \
19 echo "source $PYTHON_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 $DBS_ROOT/etc/profile.d/init.sh"; \
29 < echo "source $DLS_ROOT/etc/profile.d/init.sh"; \
30 < echo "source $BOSS_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh
28 > echo "source $PY2_PYXML_ROOT/etc/profile.d/init.sh"; \
29 > echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \
30 > echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \
31 > echo "source $BOSS_ROOT/etc/profile.d/init.sh"; \
32 > echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \
33 > echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.sh"; \
34 > echo "source $PY2_NUMPY_ROOT/etc/profile.d/init.sh"; \
35 > echo "source $PY2_MATPLOTLIB_ROOT/etc/profile.d/init.sh"; \
36 > echo "source $PY2_PIL_ROOT/etc/profile.d/init.sh"; \
37 > echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.sh"; \
38 > echo "source $WEBTOOLS_ROOT/etc/profile.d/init.sh"; \
39 > echo "source $WMCORE_ROOT/etc/profile.d/init.sh" ) > %{i}/etc/profile.d/dependencies-setup.sh
40  
41   (echo "#!/bin/tcsh"; \
27 echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
42   echo "source $MYSQL_ROOT/etc/profile.d/init.csh"; \
43   echo "source $PY2_MYSQLDB_ROOT/etc/profile.d/init.csh"; \
44 < echo "source $DBS_ROOT/etc/profile.d/init.csh"; \
45 < echo "source $DLS_ROOT/etc/profile.d/init.csh"; \
46 < echo "source $BOSS_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
44 > echo "source $PY2_PYXML_ROOT/etc/profile.d/init.csh"; \
45 > echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \
46 > echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \
47 > echo "source $BOSS_ROOT/etc/profile.d/init.csh"; \
48 > echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \
49 > echo "source $PHEDEX_MICRO_ROOT/etc/profile.d/init.csh"; \
50 > echo "source $PY2_NUMPY_ROOT/etc/profile.d/init.csh"; \
51 > echo "source $PY2_MATPLOTLIB_ROOT/etc/profile.d/init.csh"; \
52 > echo "source $PY2_PIL_ROOT/etc/profile.d/init.csh"; \
53 > echo "source $PY2_PYOPENSSL_ROOT/etc/profile.d/init.csh"; \
54 > echo "source $WEBTOOLS_ROOT/etc/profile.d/init.csh"; \
55 > echo "source $WMCORE_ROOT/etc/profile.d/init.csh" ) > %{i}/etc/profile.d/dependencies-setup.csh
56 >
57  
58   %post
59   %{relocateConfig}etc/profile.d/dependencies-setup.sh
60   %{relocateConfig}etc/profile.d/dependencies-setup.csh
61 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines