4 |
|
%define cvstag %{v} |
5 |
|
%define cvsserver cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e |
6 |
|
Source: %cvsserver&strategy=checkout&module=%{moduleName}&nocache=true&export=%{exportName}&tag=-r%{cvstag}&output=/PRODREQUEST.tar.gz |
7 |
+ |
Requires: python sqlobject py2-pysqlite py2-cherrypy py2-cheetah yui sqlite |
8 |
|
|
9 |
|
%prep |
10 |
|
%setup PRODREQUEST |
11 |
|
%build |
12 |
+ |
( echo source $PYTHON_ROOT/etc/profile.d/init.sh ; \ |
13 |
+ |
echo source $SQLITE_ROOT/etc/profile.d/init.sh ; \ |
14 |
+ |
echo source $SQLOBJECT_ROOT/etc/profile.d/init.sh ; \ |
15 |
+ |
echo source $PY2_PYSQLITE_ROOT/etc/profile.d/init.sh ; \ |
16 |
+ |
echo source $PY2_CHERRYPY_ROOT/etc/profile.d/init.sh ; \ |
17 |
+ |
echo source $PY2_CHEETAH_ROOT/etc/profile.d/init.sh ; \ |
18 |
+ |
echo source $YUI_ROOT/etc/profile.d/init.sh ) > %i/etc/profile.d/dependencies-setup.sh |
19 |
|
%install |
20 |
|
cp -r * %i/ |