ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/java-jdk.spec
Revision: 1.15
Committed: Fri Apr 18 13:36:04 2008 UTC (17 years ago) by valya
Branch: MAIN
CVS Tags: forFrontend-3, webconddb173, condapp173, webconddb172, condapp172, webconddb171, condapp171, webconddb170, condapp170, condapp164b, webconddb164b, webconddb164, conapp164, zx20090506, forPHEDEX-web-services-20090423, forPHEDEX-web-services-20090406, forPHEDEX313a, zx20090224, zx20090219, forPHEDEX313, zx20090217, forPHEDEX-web-services-20090216, zx20090216, forPHEDEX312, zx20090114, forPHEDEX311, forPHEDEX310, forPHEDEX310pre2, forPHEDEX-web-services-20081205, forPHEDEX310pre1, ofctest, forPHEDEX307, forFrontend-2, forPHEDEX-web-services-20081008, forPHEDEX-web-services-20081007, forPHEDEX-web302_test1, forPHEDEX306, forPHEDEX-datasvc120_test1, forFrontend-1, forPHEDEX305, WEBTOOLS-APPS_20080909, DBS-APPS_20080908, T0Mon_080905_1, T0Mon_080905_01, WEBTOOLS-APPS_20080903, T0Mon_080902_2, T0Mon_080902_1, WEBTOOLS-APPS_20080826, zx20080825, T0Mon_080824_1, T0Mon_080823_1, WEBTOOLS-APPS_20080822, WEBTOOLS-APPS_20080821, WEBTOOLS-APPS_20080818_1, WEBTOOLS-APPS_20080818, buildset_V2_8, forPHEDEX-web301, WEBTOOLS-APPS_20080725, WEBTOOLS-APPS_20080724, re-deps-20080722, zx20080718, WEBTOOLS-APPS_20080717, WEBTOOLS-APPS_20080716, WEBTOOLS-APPS_20080715_2, WEBTOOLS-APPS_20080715_1, WEBTOOLS-APPS_20080715, zx20080715, nr080714_forCRAB, WEBTOOLS-APPS_20080713, forPHEDEX304, zx20080707, forPHEDEX-web110, re20080627, forPHEDEX-web300, zx20080625, WEBTOOLS-APPS_20080624, forPHEDEX-datasvc110, WEBTOOLS-APPS_20080619_1, WEBTOOLS-APPS_20080619, WEBTOOLS-APPS_20080617, zx20080611, WEBTOOLS-APPS_20080611, zx20080610, WEBTOOLS-APPS_20080609_1, WEBTOOLS-APPS_20080609, zx20080609, SiteDB_030608_1, SiteDB_300508_1, SiteDB_280508_1, WEBTOOLS-APPS_20080527_2, WEBTOOLS-APPS_20080527, WEBTOOLS-APPS_20080523, WEBTOOLS-APPS_20080522, WEBTOOLS-APPS_20080521, WEBTOOLS-APPS_20080520, WEBTOOLS-APPS_20080519, zx20080519, WEBTOOLS-APPS_20080511, zx20080509b, zx20080509, pe20080508-testcvs, WEBTOOLS-APPS_20080507_1, WEBTOOLS-APPS_20080507, WEBTOOLS-APPS_20080506, dl080505, WEBTOOLS-APPS_20080501, zx20080430, dl080425_for21x, WEBTOOLS-APPS_20080422
Branch point for: conddb-branch
Changes since 1.14: +3 -3 lines
Log Message:
Change to new version

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.15 Source0: http://cmsrep.cern.ch/cmssw/jdk-mirror/jdk-%downloadv-linux-i586.bin
28     Source1: http://cmsrep.cern.ch/cmssw/jdk-mirror/jdk-%downloadv-linux-amd64.bin
29 muzaffar 1.11
30 eulisse 1.1 %prep
31 muzaffar 1.11 %if %(uname) != Darwin
32     ls
33 dlange 1.13 %define javadir jdk%(echo %realversion| sed -e "s/.p/_0/")
34 muzaffar 1.11 rm -rf %javadir
35     yes | sh %{_sourcedir}/jdk-%downloadv-linux-%downloadarch.bin
36     cd %javadir
37     %endif
38 eulisse 1.1 %build
39     %install
40 muzaffar 1.11 %if %(uname) != Darwin
41     ls
42     cp -r %javadir/* %i
43     %endif