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

Comparing COMP/CMSDIST/yui.spec (file contents):
Revision 1.4 by eulisse, Tue Dec 19 08:58:31 2006 UTC vs.
Revision 1.16 by xiezhen, Thu Jan 10 10:33:51 2008 UTC

# Line 1 | Line 1
1 < ### RPM external yui 0.12.1
2 < Source: http://switch.dl.sourceforge.net/sourceforge/yui/yui_%v.zip
1 > ### RPM external yui 2.4.1
2 > Source: http://switch.dl.sourceforge.net/sourceforge/yui/yui_%realversion.zip
3  
4   %prep
5 < %setup -n yui
5 > rm -rf %{_builddir}/yui
6 > mkdir -p %{_builddir}/yui
7 > cd %{_builddir}
8 > unzip %{_sourcedir}/yui_%realversion.zip
9   %build
10   %install
11 < cp -r * %i
11 > pwd
12 > cp -r yui/* %i
13   mkdir %i/etc
14   cat << \EOF_CHERRYPY_CONF > %i/etc/cherrypy.conf
15   # Serve a complete directory
16   [/]
17 < static_filter.on = True
18 < static_filter.dir = %i/build
17 > tools.staticdir.on = True
18 > tools.staticdir.dir = %i/build
19   EOF_CHERRYPY_CONF
20   %post
21 < %{relocateConfigi}etc/cherrypy.conf
21 > %{relocateConfig}etc/cherrypy.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines