Revision: | 1.80 |
Committed: | Mon Jun 4 10:33:07 2007 UTC (17 years, 10 months ago) by eulisse |
Branch: | MAIN |
CVS Tags: | CMSSW_1_6_0_pre1, pe20070729b-160p2, pe20070729b-160p1, pe20070729a-160p2, pe20070729a-160p1, pe20070629a-ports, pe20070628e-ports, pe20070628d-ports, pe20070628c-ports, pe20070628b-ports, pe20070628a-ports, pe20070627b-ports, pe20070627a-ports, pe20070626c-ports, ge20070625, pe20070626b-ports, sm20070626a-ports, pe20070626a-ports, pe20070625b-ports, pe20070625a-ports, pe20070624a-ports, ge20070622, WEBTOOLS_CONFIG_1_pre2, WEBTOOLS_CONFIG_1_pre1, pe20070607a-ports |
Changes since 1.79: | +1 -1 lines |
Log Message: | * updated to V00-06-05. |
# | Content |
---|---|
1 | ### RPM cms prodrequest 0.6.0 |
2 | ## INITENV +PATH PYTHONPATH %i |
3 | %define moduleName PRODREQUEST |
4 | %define exportName PRODREQUEST |
5 | %define cvstag V00-06-05 |
6 | %define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e |
7 | Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/PRODREQUEST.tar.gz |
8 | Requires: python py2-sqlobject py2-pysqlite cherrypy py2-cheetah yui sqlite py2-formencode zlib expat openssl bz2lib db4 gdbm prodcommon webtools dbs-client dls mysql py2-mysqldb py2-pycrypto |
9 | #Requires: prodagent boss |
10 | |
11 | |
12 | %prep |
13 | %setup -n PRODREQUEST |
14 | %build |
15 | rm -rf %i/etc/profile.d |
16 | mkdir -p %i/etc/profile.d/ |
17 | dependenciesRoots="$PYTHON_ROOT $SQLITE_ROOT $PY2_SQLOBJECT_ROOT $PY2_PYSQLITE_ROOT $CHERRYPY_ROOT $YUI_ROOT \ |
18 | $ZLIB_ROOT $EXPAT_ROOT $OPENSSL_ROOT $BZ2LIB_ROOT $DB4_ROOT $GDBM_ROOT $PY2_FORMENCODE_ROOT \ |
19 | $PY2_CHEETAH_ROOT $PRODCOMMON_ROOT $WEBTOOLS_ROOT $DBS_CLIENT_ROOT $DLS_ROOT $BOSS_ROOT \ |
20 | $PY2_MYSQLDB_ROOT $MYSQL_ROOT $PY2_PYCRYPTO_ROOT" |
21 | |
22 | touch %i/etc/profile.d/dependencies-setup.sh |
23 | touch %i/etc/profile.d/dependencies-setup.csh |
24 | |
25 | for pkg in $dependenciesRoots |
26 | do |
27 | echo $pkg |
28 | echo source $pkg/etc/profile.d/init.sh >> %i/etc/profile.d/dependencies-setup.sh |
29 | echo source $pkg/etc/profile.d/init.csh >> %i/etc/profile.d/dependencies-setup.csh |
30 | done |
31 | |
32 | %install |
33 | cp -r * %i/ |
34 | %post |
35 | %{relocateConfig}etc/profile.d/dependencies-setup.sh |
36 | %{relocateConfig}etc/profile.d/dependencies-setup.csh |