ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/java-jdk.spec
Revision: 1.16
Committed: Wed Sep 10 13:27:39 2008 UTC (16 years, 7 months ago) by valya
Branch: MAIN
CVS Tags: MotT0_1_0_2, MotT0_1_0_1, MotT0_1_0_0, MotT0_100531_1, MotT0_100528_1, T0Mon_100518_1, T0Mon_100503_1, T0Mon_100316_1, T0Mon_100308_2, T0Mon_100308_1, T0Mon_100216_1, T0Mon_100210_1, T0Mon_100204_4, T0Mon_100204_3, T0Mon_100204_1, T0Mon_100127_1, T0Mon_091111_1, T0Mon_090828_1, T0Mon_090822_1, T0Mon_090715_1, T0Mon_090612_1, T0Mon_090611_1, T0Mon_090610_1, T0Mon_090601_1, T0Mon_090527_2, T0Mon_090527_1, T0Mon_090522_1, T0Mon_090519_2, T0Mon_090519_1, T0Mon_090517_1, T0Mon_090516_1, T0Mon_090515_4, T0Mon_090515_3, T0Mon_090515_2, T0Mon_090515_1, T0Mon_090510_1, T0Mon_090406_1, T0Mon_090326_1, T0Mon_090325_1, T0Mon_090318_1, T0Mon_090315_1, T0Mon_090303_1, T0M_0_0_5, zx20090209, WEBTOOLS-APPS_20090206, T0M_0_0_4, T0M_0_0_3, WEBTOOLS-APPS_20090203_1, WEBTOOLS-APPS_20090203, T0M_0_0_2, zx20090201, WEBTOOLS-APPS_20090130, WEBTOOLS-APPS_20090129, PRODAGENT_0_12_10_pre3, PRODAGENT_0_12_10_pre2_20090127_V2, PRODAGENT_0_12_10_20090122, PRODAGENT_0_12_10_pre1_MISC, sw_20090115a, sw_20090115, zx20090115, WEBTOOLS-APPS_20090113, DBS-APPS_20090109, DBS-APPS_20090108, WEBTOOLS-APPS_20090108, DBS-APPS_20090106, DBS-APPS_20090105, FMWS_20090103, FMWS_20081224_1, FMWS_20081224, FMWS_20081222_3, FMWS_20081222_2, FMWS_20081222, DBS-APPS_20081218, FMWS_20081212_1, FMWS_20081212, FMWS_20081211, DBS-APPS_20081211, DBS-APPS_20081210, DBS-APPS_20081209, WEBTOOLS-APPS_20081208, DBS-APPS_20081205, DBS-APPS_20081204, DBS-APPS_200811204, DBS-APPS_20081126_1, DBS-APPS_20081126, DBS-APPS_20081125, testofc, DBS-APPS_20081119, DBS-APPS_20081118, DBS-APPS_20081117, DBS-APPS_20081114_1, DBS-APPS_20081114, DBS-APPS_20081112, DBS-APPS_20081111_1, DBS-APPS_20081110_2, DBS-APPS_20081110_1, WEBTOOLS-APPS_20081110, DBS-APPS_20081110, WEBTOOLS-APPS_20081107_1, WEBTOOLS-APPS_20081107, DBS-APPS_20081107, T0Mon_081107_1, DBS-APPS_20081105, T0Mon_081105_1, DBS-APPS_20081104, WEBTOOLS-APPS_20081031_2, DBS-APPS_20081031_2, DBS-APPS_20081031_1, WEBTOOLS-APPS_20081031_1, WEBTOOLS-APPS_20081031, DBS-APPS_20081024, WEBTOOLS-APPS_20081020_1, WEBTOOLS-APPS_20081020, WEBTOOLS-APPS_20081016_2, WEBTOOLS-APPS_20081016_1, WEBTOOLS-APPS_20081016, WEBTOOLS-APPS_20081015, WEBTOOLS-APPS_20081013_1, WEBTOOLS-APPS_20081013, WEBTOOLS-APPS_20081009, WEBTOOLS-APPS_20081008_1, WEBTOOLS-APPS_20081008, PRODAGENT_0_12_2, T0Mon_080926_1, WEBTOOLS-APPS_20080922, T0Mon_080920_2, T0Mon_080920_1, T0Mon_080916_2, WEBTOOLS-APPS_20080917, WEBTOOLS-APPS_20080916, WEBTOOLS-APPS_20080915, DBS-APPS_20080910_1, WEBTOOLS-APPS_20080910_1, WEBTOOLS-APPS_20080910, DBS-APPS_20080910
Changes since 1.15: +4 -0 lines
Log Message:
Added slc4_amd64

File Contents

# User Rev Content
1 valya 1.15 ### RPM external java-jdk 1.5.0_15
2 muzaffar 1.11 ## 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 dlange 1.12 %define downloadv %(echo %realversion | tr '.p' '_0')
11 muzaffar 1.11
12     %define tmpArch %(echo %cmsplatf | cut -d_ -f 1,2)
13    
14     %if "%{tmpArch}" == "slc3_ia32"
15     %define downloadarch i586
16     %endif
17    
18     # A hack? Probably won't work for slc4 but...
19     %if "%{tmpArch}" == "slc4_ia32"
20     %define downloadarch i586
21     %endif
22    
23     %if "%{tmpArch}" == "slc3_amd64"
24     %define downloadarch amd64
25     %endif
26    
27 valya 1.16 %if "%{tmpArch}" == "slc4_amd64"
28     %define downloadarch amd64
29     %endif
30    
31 valya 1.15 Source0: http://cmsrep.cern.ch/cmssw/jdk-mirror/jdk-%downloadv-linux-i586.bin
32     Source1: http://cmsrep.cern.ch/cmssw/jdk-mirror/jdk-%downloadv-linux-amd64.bin
33 muzaffar 1.11
34 eulisse 1.1 %prep
35 muzaffar 1.11 %if %(uname) != Darwin
36     ls
37 dlange 1.13 %define javadir jdk%(echo %realversion| sed -e "s/.p/_0/")
38 muzaffar 1.11 rm -rf %javadir
39     yes | sh %{_sourcedir}/jdk-%downloadv-linux-%downloadarch.bin
40     cd %javadir
41     %endif
42 eulisse 1.1 %build
43     %install
44 muzaffar 1.11 %if %(uname) != Darwin
45     ls
46     cp -r %javadir/* %i
47     %endif