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

Comparing COMP/CMSDIST/java-jdk.spec (file contents):
Revision 1.3 by eulisse, Wed May 17 12:55:21 2006 UTC vs.
Revision 1.5 by eulisse, Mon Jul 3 17:54:28 2006 UTC

# Line 1 | Line 1
1   ### RPM external java-jdk 1.5.0.p6
2 < ## BUILDIF [ $(uname) != Darwin ]
2 > ## BUILDIF [ "$(uname)" != "Darwin" ]
3 >
4 > Provides: libasound.so.2
5 > Provides: libasound.so.2(ALSA_0.9)
6 > Provides: libjava_crw_demo_g.so
7 > Provides: libodbc.so
8 > Provides: libodbcinst.so
9 >
10   %define downloadv %(echo %v | tr '.p' '_0')
11  
12   %define tmpArch %(echo %cmsplatf | cut -d_ -f 1,2)
# Line 12 | Line 19
19   %define downloadarch amd64
20   %endif
21  
22 < %if "%{?downloadarch:set}" != "set"
23 < %error Unsupported architecture.
17 < %endif
22 > Source0: http://eulisse.web.cern.ch/eulisse/jdk-%downloadv-linux-i586.bin
23 > Source1: http://eulisse.web.cern.ch/eulisse/jdk-%downloadv-linux-amd64.bin
24  
19 Source: http://eulisse.web.cern.ch/eulisse/jdk-%downloadv-linux-%downloadarch.bin
25   %prep
26 + %if %(uname) != Darwin
27   ls
28   %define javadir jdk%(echo %v| sed -e "s/.p/_0/")
29   rm -rf %javadir
30   yes | sh %{_sourcedir}/jdk-%downloadv-linux-%downloadarch.bin
31   cd %javadir
32 + %endif
33   %build
34   %install
35 + %if %(uname) != Darwin
36   ls
37   cp -r %javadir/* %i
38 + %endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines