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

Comparing COMP/CMSDIST/dbs-web.spec (file contents):
Revision 1.24 by valya, Wed May 9 18:33:28 2007 UTC vs.
Revision 1.26 by valya, Tue May 22 14:15:38 2007 UTC

# Line 1 | Line 1
1 < ### RPM cms dbs-web V03_04_14
2 < ## INITENV +PATH PYTHONPATH %i/lib
1 > ### RPM cms dbs-web V03_04_16
2 > ## INITENV +PATH PYTHONPATH %i/lib/python`echo $PYTHON_VERSION | cut -d. -f 1,2`/site-packages
3  
4   %define cvstag %v
5 < Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Web/DataDiscovery&export=DBS/Web/DataDiscovery&tag=-r%{cvstag}&output=/dbs-web.tar.gz
5 > #Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Web/DataDiscovery&export=DBS/Web/DataDiscovery&tag=-r%{cvstag}&output=/dbs-web.tar.gz
6 > Source: cvs://:pserver:anonymous@cmscvs.cern.ch:2401/cvs_server/repositories/CMSSW?passwd=AA_:yZZ3e&module=DBS/Web/DataDiscovery&tag=-r%{cvstag}&output=/dbs-web.tar.gz
7   Requires: python dls py2-sqlalchemy cherrypy mysql py2-mysqldb oracle py2-cx-oracle sqlite py2-pysqlite py2-cheetah webtools yui elementtree
8  
9   %prep
10 < %setup -n DBS
10 > %setup -n DBS/Web/DataDiscovery
11   %build
11 (make DDHOME=%_builddir/DBS/Web/DataDiscovery )
12  
13   %install
14   mkdir -p %{i}/bin
15   mkdir -p %{i}/etc/profile.d
16 < mkdir -p %{i}/lib/Web/DataDiscovery
17 < cp -r Web/DataDiscovery/* %{i}/lib/
16 > mkdir -p %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
17 > cp -r Web/DataDiscovery/* %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
18  
19 < #ln -s $WEBTOOLS_ROOT %{i}/lib/Web/DataDiscovery/WEBTOOLS
20 < cd %{i}/lib/Web/DataDiscovery
19 > cd %i/lib/python`echo $PYTHON_VERSION | cut -d. -f1,2`/site-packages
20   ln -s $YUI_ROOT/build YUI
21 + #ln -s $WEBTOOLS_ROOT/lib/python2.4/site-packages/Controllers/Common Common
22 + #ln -s $WEBTOOLS_ROOT/lib/python2.4/site-packages/Controllers/SecurityModule SecurityModule
23 +
24  
25   # here I use octal code \044 for $ sign since I want "$NAME" to be appear in
26   # init.sh file, instead of interpreting it here.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines