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

Comparing COMP/CMSDIST/webtools.spec (file contents):
Revision 1.12 by eulisse, Tue Apr 3 13:43:19 2007 UTC vs.
Revision 1.16 by eulisse, Tue Apr 10 08:58:52 2007 UTC

# Line 2 | Line 2
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-06
5 > %define cvstag V00-09-07
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
# Line 28 | Line 28 | do
28   done
29  
30   python Applications/SiteDB/Utilities/CreateSiteDB.py -p `pwd`/Applications/SiteDB/
31 mv sitedb.ini Applications/SiteDB
31  
32   %install
33   mkdir -p %i/etc
# Line 70 | Line 69 | cat << \EOF_APACHE2_FOOTER > %i/etc/apac
69   RewriteRule ^/cms/services/webtools/Common(.*)$ %i/Common$1
70   RewriteRule ^/cms/services/webtools/Templates(.*)$ %i/Templates$1
71   EOF_APACHE2_FOOTER
72 <
72 > %define pythonv %(echo $PYTHON_ROOT | cut -d. -f1,2)
73   %post
74   %{relocateConfig}etc/cherrypy.conf
75   %{relocateConfig}etc/apache2.conf
# Line 78 | Line 77 | EOF_APACHE2_FOOTER
77   %{relocateConfig}etc/apache2-footer.conf
78   %{relocateConfig}etc/profile.d/dependencies-setup.sh
79   %{relocateConfig}etc/profile.d/dependencies-setup.csh
80 < %{relocateConfig}etc/lib/python`echo $PYTHON_ROOT | cut -d. -f1,2`/site-packages/Applications/SiteDB/sitedb.ini
81 < perl -p -i -e "s!\@RPM_INSTALL_PREFIX\@!$RPM_INSTALL_PREFIX/%pkgrel!" $RPM_INSTALL_PREFIX/%pkgrel/cmsWeb
80 > %{relocateConfig}lib/python2.4/site-packages/Applications/SiteDB/sitedb.ini
81 > perl -p -i -e "s!\@RPM_INSTALL_PREFIX\@!$RPM_INSTALL_PREFIX/%pkgrel!" $RPM_INSTALL_PREFIX/%pkgrel/bin/cmsWeb

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines