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

Comparing COMP/CMSDIST/crab.spec (file contents):
Revision 1.1 by eulisse, Tue Mar 14 13:59:54 2006 UTC vs.
Revision 1.18 by afanfani, Fri Jan 11 15:50:24 2008 UTC

# Line 1 | Line 1
1 < ### RPM cms crab 1.0.4
1 > ### RPM cms crab CRAB_2_1_0_pre1
2   ## INITENV +PATH PYTHONPATH %i/python
3 < ## INITENV +PATH PATH %i/scripts
4 < ## INITENV +PATH CRABDIR %i
5 < ## INITENV +PATH CRABSCRIPT %i
6 <
7 < %define downloadn CRAB
8 < %define downloadv %(echo %v | tr '.' '_')
9 < %define cvstag CRAB_%{downloadv}
3 > ## INITENV +PATH PYTHONPATH %i/PsetCode
4 > ## INITENV +PATH PATH %i/python
5 > ## INITENV SET CRABPYTHON %i/python
6 > ## INITENV SET CRABDIR %i
7 > ## INITENV SET CRABSCRIPT %i/script
8 > #
9 > %define cvstag %v
10   Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=CRAB&export=CRAB&&tag=-r%{cvstag}&output=/CRAB.tar.gz
11 < Requires: boss
12 <
11 > Requires: python dbs-client dls-client prodcommon sqlite py2-pysqlite
12 > Provides: libgridsite.so.1.1
13   %prep
14   %setup -n CRAB
15   %build
16 + %install
17 + rm -r script/dbDirectUpdatorMySQL
18   rm -rf %i
19   mkdir -p %i
20   cp -r ./* %i
21 < %install
21 > mkdir -p %{i}/etc/profile.d
22 >
23 > (echo "#!/bin/sh"; \
24 > echo "source $PYTHON_ROOT/etc/profile.d/init.sh"; \
25 > echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.sh"; \
26 > echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.sh"; \
27 > echo "source $PRODCOMMON_ROOT/etc/profile.d/init.sh"; \
28 > echo "source $SQLITE_ROOT/etc/profile.d/init.sh"; \
29 > echo "source $PY2_PYSQLITE_ROOT/etc/profile.d/init.sh"; ) > %{i}/etc/profile.d/dependencies-setup.sh
30 >
31 > (echo "#!/bin/tcsh"; \
32 > echo "source $PYTHON_ROOT/etc/profile.d/init.csh"; \
33 > echo "source $DBS_CLIENT_ROOT/etc/profile.d/init.csh"; \
34 > echo "source $DLS_CLIENT_ROOT/etc/profile.d/init.csh"; \
35 > echo "source $PRODCOMMON_ROOT/etc/profile.d/init.csh"; \
36 > echo "source $BOSS_ROOT/etc/profile.d/init.csh"; \
37 > echo "source $SQLITE_ROOT/etc/profile.d/init.csh"; \
38 > echo "source $PY2_PYSQLITE_ROOT/etc/profile.d/init.csh"; ) > %{i}/etc/profile.d/dependencies-setup.csh
39 >
40 > %post
41 > %{relocateConfig}etc/profile.d/dependencies-setup.sh
42 > %{relocateConfig}etc/profile.d/dependencies-setup.csh
43 >
44 >

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines