1 |
< |
### RPM cms webtools 0.9.0 |
2 |
< |
Requires: gcc-wrapper |
1 |
> |
### RPM cms webtools 1.0.0 |
2 |
|
## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages |
3 |
|
%define moduleName WEBTOOLS |
4 |
|
%define exportName WEBTOOLS |
5 |
< |
%define cvstag V00-09-07 |
5 |
> |
%define cvstag V01-00-06 |
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=/%{moduleName}.tar.gz |
8 |
< |
Requires: python cherrypy py2-cheetah yui sqlite zlib py2-pysqlite expat openssl bz2lib db4 gdbm py2-cx-oracle py2-formencode py2-pycrypto |
8 |
> |
Requires: python cherrypy py2-cheetah yui sqlite zlib py2-pysqlite expat openssl bz2lib db4 gdbm py2-cx-oracle py2-formencode py2-pycrypto oracle |
9 |
|
Provides: perl(CGI) |
10 |
|
Provides: perl(Crypt::CBC) |
11 |
|
Provides: perl(SecurityModule) |
14 |
|
%prep |
15 |
|
%setup -n %{moduleName} |
16 |
|
%build |
18 |
– |
## IMPORT gcc-wrapper |
17 |
|
|
18 |
|
rm -rf %i/etc/profile.d |
19 |
|
mkdir -p %i/etc/profile.d/ |
20 |
|
dependenciesRoots="$PYTHON_ROOT $SQLITE_ROOT $PY2_PYSQLITE_ROOT $CHERRYPY_ROOT $YUI_ROOT \ |
21 |
|
$ZLIB_ROOT $EXPAT_ROOT $OPENSSEL_ROOT $BZ2LIB_ROOT $DB4_ROOT $GDBM_ROOT $PY2_FORMENCODE_ROOT \ |
22 |
< |
$PY2_CHEETAH_ROOT $PY2_PYCRYPTO_ROOT $PY2_CX_ORACLE_ROOT" |
22 |
> |
$PY2_CHEETAH_ROOT $PY2_PYCRYPTO_ROOT $PY2_CX_ORACLE_ROOT $ORACLE_ROOT" |
23 |
|
touch %i/etc/profile.d/dependencies-setup.csh |
24 |
|
for pkg in $dependenciesRoots |
25 |
|
do |