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.5 by eulisse, Tue Dec 19 09:00:56 2006 UTC vs.
Revision 1.12 by ratnik, Wed Apr 18 23:46:02 2007 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.2.1
2 > Requires: gcc-wrapper
3 > %define realv %v
4 > Source: http://switch.dl.sourceforge.net/sourceforge/yui/yui_%realv.zip
5  
6   %prep
7 < %setup -n yui
7 > rm -rf %{_builddir}/yui
8 > mkdir -p %{_builddir}/yui
9 > cd %{_builddir}
10 > unzip %{_sourcedir}/yui_%realv.zip
11   %build
12 + ## IMPORT gcc-wrapper
13   %install
14 < cp -r * %i
14 > pwd
15 > cp -r yui/* %i
16   mkdir %i/etc
17   cat << \EOF_CHERRYPY_CONF > %i/etc/cherrypy.conf
18   # Serve a complete directory
19   [/]
20 < static_filter.on = True
21 < static_filter.dir = %i/build
20 > tools.staticdir.on = True
21 > tools.staticdir.dir = %i/build
22   EOF_CHERRYPY_CONF
23   %post
24   %{relocateConfig}etc/cherrypy.conf

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines