ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CMSDIST/bootstrap-driver.spec
Revision: 1.43
Committed: Thu Oct 6 14:53:06 2011 UTC (13 years, 6 months ago) by lat
Branch: MAIN
CVS Tags: bld_1366393047_das_slc5_amd64_gcc461, bld_1366387004_das_slc5_amd64_gcc461, bld_1366383107_das_slc5_amd64_gcc461, bld_1366320846_das_slc5_amd64_gcc461, bld_1366318481_das_slc5_amd64_gcc461, bld_1366310647_das_slc5_amd64_gcc461, bld_1366297091_das_slc5_amd64_gcc461, bld_1366294257_wmagent-dev_slc5_amd64_gcc461, bld_1366231053_das_slc5_amd64_gcc461, bld_1366227545_das_slc5_amd64_gcc461, bld_1366220453_wmagent-dev_slc5_amd64_gcc461, bld_1366217887_das_slc5_amd64_gcc461, bld_1366212554_das_slc5_amd64_gcc461, bld_1366142291_das_slc5_amd64_gcc461, bld_1366137469_das_slc5_amd64_gcc461, bld_1366136287_das_slc5_amd64_gcc461, bld_1366133845_das_slc5_amd64_gcc461, bld_1366130037_das_slc5_amd64_gcc461, bld_1365873495_das_slc5_amd64_gcc461, bld_1365864253_das_slc5_amd64_gcc461, bld_1365813474_das_slc5_amd64_gcc461, bld_1365801108_wmagent-dev_slc5_amd64_gcc461, bld_1365798254_das_slc5_amd64_gcc461, bld_1365756543_cmsweb_slc5_amd64_gcc461, bld_1365755645_cmsweb_slc5_amd64_gcc461, bld_1365754910_das_slc5_amd64_gcc461, HG1304e, bld_1365639925_das_slc5_amd64_gcc461, bld_1365189699_wmagent-dev_slc5_amd64_gcc461, bld_1365145423_cmsweb_slc5_amd64_gcc461, bld_1365144485_cmsweb_slc5_amd64_gcc461, HG1304d, bld_1365103387_wmagent-dev_osx106_amd64_gcc461, bld_1365103080_wmagent-dev_slc5_amd64_gcc461, bld_1365093891_cmsweb_slc5_amd64_gcc461, bld_1365092930_cmsweb_slc5_amd64_gcc461, HG1304c, bld_1365018384_wmagent-dev_slc5_amd64_gcc461, bld_1365016270_reqmon_slc5_amd64_gcc461, bld_1364985624_wmagent-dev_slc5_amd64_gcc461, bld_1364978618_wmagent-dev_slc5_amd64_gcc461, bld_1364915341_reqmgr_slc5_amd64_gcc461, bld_1364898638_wmagent-dev_slc5_amd64_gcc461, bld_1364871746_workqueue_slc5_amd64_gcc461, bld_1364871746_reqmon_slc5_amd64_gcc461, bld_1364855420_wmagent-dev_slc5_amd64_gcc461, bld_1364477498_cmsweb_slc6_amd64_gcc461, bld_1364477047_CmsTC_slc5_amd64_gcc434, bld_1364476037_cmsweb_slc5_amd64_gcc461, HG1304b, bld_1363878515_cmsfomon_slc5_amd64_gcc461, bld_1363813148_das_slc5_amd64_gcc461, bld_1363704737_wmagent-dev_slc5_amd64_gcc461, bld_1363641809_das_slc5_amd64_gcc461, bld_1363625610_cmsweb_slc6_amd64_gcc461, bld_1363624908_wmagent-dev_osx106_amd64_gcc461, bld_1363624533_cmsweb_slc5_amd64_gcc461, HG1304a, bld_1363597235_CmsTC_slc5_amd64_gcc434, bld_1363270485_cmsweb_slc5_amd64_gcc461, bld_1363269753_cmsweb_slc6_amd64_gcc461, bld_1363269703_cmsweb_slc5_amd64_gcc461, HG1303g, bld_1363186195_das_slc5_amd64_gcc461, HG1304a-rc2, HG1304a-rc, bld_1363027772_wmagent-dev_slc5_amd64_gcc461, bld_1362998090_cmsweb_slc5_amd64_gcc461, bld_1362996978_cmsweb_slc5_amd64_gcc461, bld_1362996936_cmsweb_slc6_amd64_gcc461, HG1303f, bld_1362587917_t0_slc5_amd64_gcc461, bld_1362587831_cmsweb_slc5_amd64_gcc461, bld_1362587049_cmsweb_slc6_amd64_gcc461, bld_1362586958_cmsweb_slc5_amd64_gcc461, HG1303e, bld_1362581633_cmsfomon_slc5_amd64_gcc461, bld_1362435765_wmagent-dev_slc5_amd64_gcc461, bld_1362396410_cmsfomon_slc5_amd64_gcc461, bld_1362396027_cmsweb_slc5_amd64_gcc461, bld_1362395773_cmsweb_slc6_amd64_gcc461, bld_1362395102_cmsweb_slc5_amd64_gcc461, bld_1362394999_cmsweb_slc6_amd64_gcc461, HG1303d, bld_1362152615_cmsweb_slc6_amd64_gcc461, bld_1362145756_cmsweb_slc5_amd64_gcc461, bld_1362144996_cmsweb_slc6_amd64_gcc461, bld_1362144848_cmsweb_slc5_amd64_gcc461, HG1303c, bld_1362086646_wmagent-dev_slc5_amd64_gcc461, bld_1362086247_reqmgr_slc5_amd64_gcc461, bld_1362086050_reqmon_slc5_amd64_gcc461, bld_1362084017_reqmgr_slc5_amd64_gcc461, bld_1362083830_reqmon_slc5_amd64_gcc461, bld_1362083383_wmagent-dev_slc5_amd64_gcc461, bld_1362024059_reqmon_slc5_amd64_gcc461, bld_1362024059_reqmgr_slc5_amd64_gcc461, bld_1362004165_wmagent-dev_slc5_amd64_gcc461, TW20130226a, bld_1361806174_wmagent-dev_slc5_amd64_gcc461, bld_1361804419_das_slc5_amd64_gcc461, bld_1361717845_cmsweb_slc6_amd64_gcc461, bld_1361549332_cmsweb_slc5_amd64_gcc461, bld_1361547565_cmsweb_slc6_amd64_gcc461, bld_1361547434_cmsweb_slc5_amd64_gcc461, HG1303b, bld_1361397493_wmagent-dev_slc5_amd64_gcc461, bld_1361396969_reqmon_slc5_amd64_gcc461, bld_1361371766_wmagent-dev_slc5_amd64_gcc461, bld_1361358843_CmsTC_slc5_amd64_gcc434, bld_1361357725_dbs3-combined_slc5_amd64_gcc461, bld_1361302144_wmagent-dev_slc5_amd64_gcc461, bld_1361299482_das_slc5_amd64_gcc461, TW20130219c, bld_1361287535_das_slc5_amd64_gcc461, TW20130219a, bld_1361214804_filemover_slc5_amd64_gcc461, bld_1361213027_filemover_slc5_amd64_gcc461, bld_1361206184_das_slc5_amd64_gcc461, bld_1361127238_das_slc5_amd64_gcc461, bld_1361126134_cmsweb_slc6_amd64_gcc461, bld_1361059173_das_slc5_amd64_gcc461, bld_1360935597_CmsTC_slc5_amd64_gcc434, bld_1360871999_das_slc5_amd64_gcc461, TW20130214a, TW20120214a, TW20130213a, bld_1360761050_cmsweb_slc6_amd64_gcc461, bld_1360754590_cmsweb_slc5_amd64_gcc461, HG1303a, bld_1360703803_das_slc5_amd64_gcc461, bld_1360687341_das_slc5_amd64_gcc461, bld_1360615563_reqmon_slc5_amd64_gcc461, bld_1360609706_das_slc5_amd64_gcc461, bld_1360363549_das_slc5_amd64_gcc461, bld_1360363450_couchskel_slc5_amd64_gcc461, bld_1360360484_das_slc5_amd64_gcc461, bld_1360063178_wmagent-dev_slc5_amd64_gcc461, bld_1359544500_cmsweb_slc5_amd64_gcc461, bld_1359543827_cmsweb_slc5_amd64_gcc461, HG1302c, bld_1359499778_reqmgr_slc5_amd64_gcc461, bld_1359499619_t0_reqmon_slc5_amd64_gcc461, bld_1359499209_wmagent-dev_slc5_amd64_gcc461, bld_1359365022_wmagent-dev_osx106_amd64_gcc461, bld_1359155636_workqueue_slc5_amd64_gcc461, bld_1359155118_workqueue_slc5_amd64_gcc461, bld_1359153985_reqmgr_slc5_amd64_gcc461, bld_1359151331_reqmon_slc5_amd64_gcc461, bld_1359151331_workqueue_slc5_amd64_gcc461, bld_1359151315_t0_reqmon_slc5_amd64_gcc461, bld_1359150370_wmagent-dev_slc5_amd64_gcc461, bld_1359148765_wmagent-dev_slc5_amd64_gcc461, bld_1359023285_cmsweb_slc5_amd64_gcc461, bld_1359021253_cmsweb_slc5_amd64_gcc461, HG1302b, bld_1358971407_t0_reqmon_slc5_amd64_gcc461, bld_1358958881_das_slc5_amd64_gcc461, bld_1358954381_wmagent-dev_slc5_amd64_gcc461, bld_1358942699_CmsTC_slc5_amd64_gcc434, bld_1358853292_CmsTC_slc5_amd64_gcc434, bld_1358742470_t0wmstats_slc5_amd64_gcc461, bld_1355848536_PHEDEX-combined-agents_slc5_amd64_gcc461, bld_1355846563_PHEDEX-combined-agents_slc5_amd64_gcc461, HG1302a, HG1212d, HG1212c, HG1212b, TW20121226a, HG1212a, bld_1352811218_cmsfomon_slc5_amd64_gcc461, HG1211g, bld_1351773793_cmsweb_osx106_amd64_gcc461, bld_1351772993_cmsweb_osx106_amd64_gcc461, HG1211f, HG1211e, TW20121025a, TW20121024a, HG1211d, HG1211c, bld_1350485088_PHEDEX-lifecycle_slc5_amd64_gcc461, TW20121015a, bld_1350043664_T0DataSvc_slc5_amd64_gcc461, HG1211b, HG1211a, HG1210f, HG1210e, HG1210d, HG1211diego, HG1210c, HG1210b, TW20120914a, TW20120913b, TW20120913a, TW20120829b, TW20120829a, HG1210a, T020120827, HG1208e, HG1208d, HG1208c, HG1207d, TW20120727a, TW20120726a, TW20120725a, HG1208a, TW20120724c, TW20120724b, TW20120724a, TW20120720a, TW20120719a, TW20120718a, HG1207c, TW20120704c, TW20120704b, TW20120704a, TW20120702c, TW20120702b, TW20120702a, TW20120621c, TW20120621a, TW20120620a, HG1207b, HG1207a, HG1206d, TW20120607a, TW20120606a, HG1206c, HG1206b, bld_1337784158_cmsweb-analytics_slc5_amd64_gcc461, bld_1337783687_cmsweb-analytics_slc5_amd64_gcc461, HG1206a, HG1205g, HG1205f, HG1205e, HG1205d, bld_1335521675_crabhb_slc5_amd64_gcc461, HG1205c, TW20120428p, TW20120421b, TW20120421a, bld_1334854417_PHEDEX-combined-agents_slc5_amd64_gcc461, HG1205b, bld_1334681121_PHEDEX-combined-agents_slc5_amd64_gcc461, TW20120417a, TW20120416a, HG1205a, TW20120410b, TW20120410a, HG1204h, HG1204g, TW20120327b, TW20120327a, TW20120326a, HG1204f, TW20120322a, HG1203i, HG1204e, TW20120321c, TW20120321b, TW20120321a, HG1204d, TW20120320b, TW20120320a, dieHG1204d, TW20120319k, TW20120319j, TW20120319i, TW20120319h, TW20120319g, TW20120319f, TW20120319e, TW20120319d, TW20120319c, TW20120319b, TW20120319a, HG1204c, TW20120313a, HG1204b, TW20120309h, TW20120309g, TW20120309f, TW20120309e, TW20120309d, TW20120309c, TW20120309b, TW20120309a, HG1204a, TW20120308b, TW20120308a, TW20120307a, HG1203h, TW20120305b, TW20120305a, HG1203g, HG1203f, HG1203e, HG1203d, HG1203c, HG1203b, TW20120217a, TW20120216b, TW20120216a, HG1201d, HG1203a, TW20120210a, TW20120209a, TW20120207b, TW20120207a, HG1201c, bld_1328198772_crab_slc5_amd64_gcc461, TW20120130b, TW20120130a, TW20120127b, TW20120127a, TW20120125a, bld_1327424666_crab-client3_slc5_amd64_gcc461, HG1201b, bld_1327416353_crab-server3_slc5_amd64_gcc461, bld_1327397075_cmsbuilder_slc5_amd64_gcc461, TW20120123a, TW20120120a, TW20120119b, TW20120119a, bld_1326980038_cmsbuild_slc5_amd64_gcc461, TW20120118a, bld_1326280382_cmsBuilder_slc5_amd64_gcc461, bld_1326274893_cmsBuilder_slc5_amd64_gcc461, bld_1326273864_asyncstageout_slc5_amd64_gcc461, bld_1324281658_cmsweb_osx106_amd64_gcc461, HG1201a, HG1112d, bld_1323333807_CmsTC_slc5_amd64_gcc461, HG1112c, TW20111129e, TW20111129d, TW20111129c, TW20111129a, TW20111128c, TW20111128b, TW20111128a, HG1112b, TW20111122a, TW20111120a, TW20111118c, TW20111118b, TW20111118a, HG1111e, bld_1321455789_happyface_slc5_amd64_gcc461, bld_1321454935_happyface_slc5_amd64_gcc461, TW20111115d, TW20111115c, TW20111115b, TW20111115a, HG1112a, TW20111103a, TW20111101e, TW20111101d, TW20111101c, TW20111101b, TW20111101a, TW20111028a, bld_1319551575_PHEDEX-combined-agents_slc5_amd64_gcc461, HG1111d, TW20111017d, TW20111017c, TW20111017b, TW20111017a, TW20111016a, TW20111015a, TW20111014a, bld_1318523430_cmsweb_slc5_amd64_gcc434, HG1111c-gcc434, HG1111c, HG1111c-bootstrap-gcc461, HG1111c-bootstrap-gcc434, LT20111012a-434, LT20111012a-461, LT20111012a, HG1111b, HG1111b-bootstrap-gcc461
Changes since 1.42: +1 -1 lines
Log Message:
Add more platform seeds for SL6. The compat-readline5 and ncurses-libs are needed
for compatibility to install even cms-common (= to bootstrap.sh). This is because
of readline version upgrade, and for library/app split rpm on SL6. Similarly the
perl libraries are now in separately split rpm (perl-libs), and ExtUtils::Embed
which was previously (SL5) included in 'perl' is now separate RPM (needed by p5-*).

File Contents

# User Rev Content
1 fwyzard 1.38 ### RPM external bootstrap-driver 20.0
2 eulisse 1.8 Source: bootstrap
3 muzaffar 1.18 %define closingbrace )
4 elmer 1.31 %define online %(case %cmsplatf in *onl_*_*%closingbrace echo true;; *%closingbrace echo false;; esac)
5 ratnik 1.16
6 fwyzard 1.36 Requires: apt
7 ratnik 1.16
8 dlange 1.13 #danger! cms-common version is now hardwired below (and in bootstrap.file)
9 eulisse 1.1
10     %prep
11     %build
12     %install
13 eulisse 1.3 packageList=""
14     echo requiredtools `echo %{requiredtools} | sed -e's|\s+| |;s|^\s+||'`
15     for tool in `echo %{requiredtools} | sed -e's|\s+| |;s|^\s+||'`
16     do
17     case X$tool in
18     Xdistcc|Xccache )
19     ;;
20     * )
21     toolcap=`echo $tool | tr a-z- A-Z_`
22     toolversion=$(eval echo $`echo ${toolcap}_VERSION`)
23     toolrevision=$(eval echo $`echo ${toolcap}_REVISION`)
24     echo $toolversion $toolrevision
25     packageList="$packageList external+${tool}+${toolversion}-1-${toolrevision}.%cmsplatf.rpm"
26     ;;
27     esac
28     done
29    
30 eulisse 1.1
31     case %cmsplatf in
32 ratnik 1.12 slc*onl* )
33 muzaffar 1.27 ##########################################################
34     # Backward compatible seeds, so that old bootstrap does not suddenly stop working.
35 eulisse 1.1 platformSeeds="glibc coreutils bash tcsh zsh pdksh perl tcl
36 fwyzard 1.36 readline openssl ncurses
37     e2fsprogs krb5-libs freetype fontconfig
38     xorg-x11-deprecated-libs xorg-x11-libs xorg-x11-Mesa-libGLU
39     xorg-x11-Mesa-libGL compat-libstdc++-33 libidn"
40 muzaffar 1.27
41 eulisse 1.1 # ONLINE: seed system compiler (only libraries for runtime)
42     platformSeeds="$platformSeeds libgcc libstdc++"
43 fwyzard 1.36
44 eulisse 1.1 # ONLINE: seed other available system tools:
45     platformSeeds="$platformSeeds curl libpng libtiff libungif openssl qt zlib perl-DBI-1.40-8"
46 fwyzard 1.36
47 eulisse 1.1 # Python tools are commented out due to compatibility problems.
48 muzaffar 1.27 platformSeeds="$platformSeeds python python-elementtree"
49 fwyzard 1.36
50 eulisse 1.1 # ONLINE: seed daq-built tools:
51 fwyzard 1.36 platformSeeds="$platformSeeds daq-cgicc daq-mimetic daq-oracle daq-tinyproxy daq-xerces daq-xdaq"
52    
53     platformSeeds="$platformSeeds daq-config daq-log4cplus daq-logudpappender
54     daq-logxmlappender daq-pt daq-ptfifo daq-pthttp
55 eulisse 1.1 daq-pttcp daq-toolbox daq-xcept daq-xdaq2rc daq-xdata
56 muzaffar 1.20 daq-xgi daq-xoap daq-sentinelutils"
57 muzaffar 1.27
58     ##########################################################
59 fwyzard 1.36 #slc4onl_ia32 Specific
60 muzaffar 1.27 slc4onl_ia32_platformSeeds="glibc coreutils bash tcsh zsh pdksh perl tcl
61 fwyzard 1.36 readline openssl ncurses
62     e2fsprogs krb5-libs freetype fontconfig
63     xorg-x11-deprecated-libs xorg-x11-libs xorg-x11-Mesa-libGLU
64     xorg-x11-Mesa-libGL compat-libstdc++-33 libidn"
65    
66 muzaffar 1.27 # ONLINE: seed system compiler (only libraries for runtime)
67     slc4onl_ia32_platformSeeds="$slc4onl_ia32_platformSeeds libgcc libstdc++"
68 fwyzard 1.36
69 muzaffar 1.27 # ONLINE: seed other available system tools:
70     slc4onl_ia32_platformSeeds="$slc4onl_ia32_platformSeeds curl libpng libtiff libungif openssl qt zlib perl-DBI-1.40-8"
71 fwyzard 1.36
72 muzaffar 1.27 # Python tools are commented out due to compatibility problems.
73     slc4onl_ia32_platformSeeds="$slc4onl_ia32_platformSeeds python python-elementtree"
74 fwyzard 1.36
75 muzaffar 1.27 # ONLINE: seed daq-built tools:
76 fwyzard 1.36 slc4onl_ia32_platformSeeds="$slc4onl_ia32_platformSeeds daq-cgicc daq-mimetic daq-oracle daq-tinyproxy daq-xerces daq-xdaq"
77    
78     slc4onl_ia32_platformSeeds="$slc4onl_ia32_platformSeeds daq-config daq-log4cplus daq-logudpappender
79     daq-logxmlappender daq-pt daq-ptfifo daq-pthttp
80 muzaffar 1.27 daq-pttcp daq-toolbox daq-xcept daq-xdaq2rc daq-xdata
81     daq-xgi daq-xoap daq-sentinelutils"
82 fwyzard 1.36
83 muzaffar 1.27 ##########################################################
84     #slc5onl_ia32 Specific
85 fwyzard 1.34 slc5onl_ia32_platformSeeds="glibc coreutils bash tcsh zsh perl tcl tk readline openssl ncurses e2fsprogs krb5-libs freetype
86 fwyzard 1.36 fontconfig libidn libX11 libXmu libSM libICE libXcursor
87     libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama libXft
88     libXrender libXpm"
89    
90 muzaffar 1.27 # ONLINE: seed system compiler (only libraries for runtime)
91 andreasp 1.29 slc5onl_ia32_platformSeeds="$slc5onl_ia32_platformSeeds libgcc libstdc++ external+gcc+4.3.4"
92 fwyzard 1.36
93 muzaffar 1.27 # ONLINE: seed other available system tools:
94 fwyzard 1.39 slc5onl_ia32_platformSeeds="$slc5onl_ia32_platformSeeds curl curl-devel openssl openssl-devel zlib zlib-devel e2fsprogs-libs e2fsprogs-devel
95     perl-DBI-1.52 libtermcap-2.0.8 libX11-devel-1.0.3 libXpm-devel-3.5.5 libXext-devel-1.0.1 libXft-devel-2.1.10"
96 fwyzard 1.36
97 fwyzard 1.34 # ONLINE: seed daq-built tools:
98 fwyzard 1.36 slc5onl_ia32_platformSeeds="$slc5onl_ia32_platformSeeds daq-log4cplus daq-mimetic daq-oracle daq-sqlite daq-xdaq daq-xerces
99 fwyzard 1.40 daq-appweb daq-asyncresolv daq-cgicc daq-tinyproxy daq-config daq-logudpappender
100     daq-logxmlappender daq-pt daq-ptfifo daq-pthttp daq-pttcp daq-toolbox daq-xalan
101     daq-xcept daq-xdaq2rc daq-xdata daq-xgi daq-xoap daq-sentinelutils"
102 fwyzard 1.34
103     ##########################################################
104     #slc5onl_amd64 Specific
105     slc5onl_amd64_platformSeeds="glibc coreutils bash tcsh zsh perl tcl tk readline openssl ncurses e2fsprogs krb5-libs freetype
106 fwyzard 1.36 fontconfig libidn libX11 libXmu libSM libICE libXcursor
107     libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama libXft
108     libXrender libXpm"
109    
110 fwyzard 1.34 # ONLINE: seed system compiler (only libraries for runtime)
111     slc5onl_amd64_platformSeeds="$slc5onl_amd64_platformSeeds libgcc libstdc++ external+gcc+4.3.4-onl64a"
112 fwyzard 1.36
113 fwyzard 1.34 # ONLINE: seed other available system tools:
114 fwyzard 1.39 slc5onl_amd64_platformSeeds="$slc5onl_amd64_platformSeeds curl curl-devel openssl openssl-devel zlib zlib-devel e2fsprogs-libs e2fsprogs-devel
115     perl-DBI-1.52 libtermcap-2.0.8 libX11-devel-1.0.3 libXpm-devel-3.5.5 libXext-devel-1.0.1 libXft-devel-2.1.10"
116 fwyzard 1.36
117 muzaffar 1.27 # ONLINE: seed daq-built tools:
118 fwyzard 1.36 slc5onl_amd64_platformSeeds="$slc5onl_amd64_platformSeeds daq-log4cplus daq-mimetic daq-oracle daq-sqlite daq-xdaq daq-xerces
119 fwyzard 1.40 daq-appweb daq-asyncresolv daq-cgicc daq-tinyproxy daq-config daq-logudpappender
120     daq-logxmlappender daq-pt daq-ptfifo daq-pthttp daq-pttcp daq-toolbox daq-xalan
121     daq-xcept daq-xdaq2rc daq-xdata daq-xgi daq-xoap daq-sentinelutils"
122 muzaffar 1.27
123 eulisse 1.1 ;;
124 eulisse 1.22 slc*)
125     # Backward compatible seeds, so that old bootstrap does not suddenly stop working.
126     platformSeeds="glibc glibc-32bit coreutils bash tcsh zsh pdksh perl
127 fwyzard 1.36 tcl tk perl-Tk readline openssl ncurses XFree86-libs
128     e2fsprogs krb5-libs freetype fontconfig XFree86-Mesa-libGLU
129     XFree86-Mesa-libGL xorg-x11-deprecated-libs
130     xorg-x11-libs xorg-x11-Mesa-libGLU xorg-x11-Mesa-libGL
131     compat-libstdc++-33 fglrx_6_8_0 libidn"
132 eulisse 1.22 # Platform specific seeds. These are mandatory and the new bootstrap.sh will refuse continuing in the case they are not found.
133 eulisse 1.23 slc4_ia32_platformSeeds="glibc coreutils bash tcsh zsh pdksh perl
134 fwyzard 1.36 tcl tk perl-Tk readline openssl ncurses XFree86-libs
135     e2fsprogs krb5-libs freetype fontconfig XFree86-Mesa-libGLU
136     XFree86-Mesa-libGL xorg-x11-deprecated-libs
137     xorg-x11-libs xorg-x11-Mesa-libGLU xorg-x11-Mesa-libGL
138     compat-libstdc++-33 fglrx_6_8_0 libidn"
139 eulisse 1.23 slc4_amd64_platformSeeds="glibc glibc-32bit coreutils bash tcsh zsh pdksh perl
140 fwyzard 1.36 tcl tk perl-Tk readline openssl ncurses XFree86-libs
141     e2fsprogs krb5-libs freetype fontconfig XFree86-Mesa-libGLU
142     XFree86-Mesa-libGL xorg-x11-deprecated-libs
143     xorg-x11-libs xorg-x11-Mesa-libGLU xorg-x11-Mesa-libGL
144     compat-libstdc++-33 fglrx_6_8_0 libidn"
145 eulisse 1.23 slc5_ia32_platformSeeds="glibc coreutils bash tcsh zsh perl tcl tk readline openssl ncurses e2fsprogs krb5-libs freetype
146 fwyzard 1.36 fontconfig compat-libstdc++-33 libidn libX11 libXmu libSM libICE libXcursor
147     libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama libXft
148     libXrender libXpm"
149 eulisse 1.23 slc5_amd64_platformSeeds="glibc coreutils bash tcsh zsh perl tcl tk readline openssl ncurses e2fsprogs krb5-libs freetype
150 fwyzard 1.36 fontconfig compat-libstdc++-33 libidn libX11 libXmu libSM libICE libXcursor
151     libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama libXft
152     libXrender libXpm"
153 eulisse 1.32
154 lat 1.43 slc6_amd64_platformSeeds="glibc coreutils bash tcsh zsh perl tcl tk readline openssl ncurses e2fsprogs krb5-libs freetype compat-readline5 ncurses-libs perl-libs perl-ExtUtils-Embed
155 eulisse 1.42 fontconfig compat-libstdc++-33 libidn libX11 libXmu libSM libICE libXcursor
156     libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama libXft
157     libXrender libXpm libcom_err"
158    
159 eulisse 1.32 # Add rh5* (not SLC5) as supported distribution.
160     rh5_ia32_platformSeeds=$slc5_ia32_platformSeeds
161     rh5_amd64_platformSeeds=$slc5_amd64_platformSeeds
162    
163     # This bit here is needed in case we are using the old cmsos
164     # which was erroneously only reporting the platform, but not the
165     # architecture.
166     rh5_platformSeeds=$slc5_amd64_platformSeeds
167 eulisse 1.21 ;;
168 eulisse 1.1 esac
169    
170     case $cmsplatf in
171 elmer 1.6 ydl*_ppc64_* )
172     platformSeeds="$platformSeeds gcc libgcc libstdc++"
173     ;;
174     ydl*_ppc_* )
175 eulisse 1.1 platformSeeds="$platformSeeds gcc libgcc libstdc++"
176     ;;
177     esac
178    
179 eulisse 1.25 slc5_compPackages="compat-readline43 libXp libXtst libXt"
180    
181 eulisse 1.22 # Seeds for unsupported platforms. These will not make bootstrap die, if not found.
182 eulisse 1.1 # OpenSuse
183 fwyzard 1.36 unsupportedSeeds="xorg-x11-Mesa compat-readline4 compat-curl2 freetype2
184 fwyzard 1.37 xorg-x11-libX11"
185 eulisse 1.1 # Ubuntu
186     unsupportedSeeds="$unsupportedSeeds libcomerr2 libidn11 libxi6 libxpm4 libxinerama1
187 fwyzard 1.37 libncurses5 libsm6 libice6 libc6 libxcursor1 libxmu6
188     libgl1-mesa-glx libxft2 perl-base xserver-xorg xserver-xorg-core
189     libfreetype6 libfontconfig1 libgl1-mesa libxrandr2 libglu1-mesa
190     libxext6 libx11-6 libxrender1"
191 eulisse 1.1 # Fedora
192 fwyzard 1.36 unsupportedSeeds="$unsupportedSeeds libX11 libXmu libSM libICE libXcursor
193 fwyzard 1.37 libXext libXrandr libXft mesa-libGLU mesa-libGL e2fsprogs-libs libXi libXinerama
194     libXft libXrender libXpm ncurses-libs libc6-i686 compat-readline5"
195 eulisse 1.1
196     # Case statement for additional provides.
197     case %cmsplatf in
198 andreasp 1.30 slc5onl* )
199     additionalProvides="libX11.so.6 libXext.so.6 libXft.so.2 libXpm.so.4"
200     ;;
201 eulisse 1.1 osx* )
202     additionalProvides="AGL ApplicationServices Carbon CoreFoundation
203     CoreServices OpenGL Python QuickTime Tcl Tk
204 lat 1.41 libintl.3.dylib libperl.dylib"
205 andreasp 1.29
206 eulisse 1.1 ;;
207     esac
208    
209 fwyzard 1.36 unsupportedProvides="libtcl8.3.so libtk8.3.so /bin/env libcom_err.so.3
210 fwyzard 1.37 libcrypto.so.4 libgssapi_krb5.so.2 libk5crypto.so.3
211     libkrb5.so.3 libssl.so.4 /bin/csh /bin/tcsh libreadline.so.4
212     libtcl8.4.so libtk8.4.so"
213 eulisse 1.1
214 dlange 1.13 defaultPkgs="cms+cms-common+1.0"
215 eulisse 1.8
216 eulisse 1.1 mkdir -p %{i}/etc/profile.d
217 eulisse 1.22 (echo "rpm_version=$RPM_VERSION"; \
218 eulisse 1.2 echo "apt_version=$APT_VERSION"; \
219 eulisse 1.1 echo "platformSeeds=\"$platformSeeds\""; \
220     echo "unsupportedSeeds=\"$unsupportedSeeds\""; \
221 eulisse 1.23 echo "slc4_amd64_platformSeeds=\"$slc4_amd64_platformSeeds\""; \
222     echo "slc4_ia32_platformSeeds=\"$slc4_ia32_platformSeeds\""; \
223     echo "slc5_ia32_platformSeeds=\"$slc5_ia32_platformSeeds\""; \
224 eulisse 1.24 echo "slc5_amd64_platformSeeds=\"$slc5_amd64_platformSeeds\""; \
225 eulisse 1.42 echo "slc6_amd64_platformSeeds=\"$slc6_amd64_platformSeeds\""; \
226 fwyzard 1.36 echo "slc5onl_ia32_platformSeeds=\"$slc5onl_ia32_platformSeeds\""; \
227     echo "slc5onl_amd64_platformSeeds=\"$slc5onl_amd64_platformSeeds\""; \
228 eulisse 1.32 echo "rh5_ia32_platformSeeds=\"$rh5_ia32_platformSeeds\""; \
229     echo "rh5_amd64_platformSeeds=\"$rh5_amd64_platformSeeds\""; \
230     echo "rh5_platformSeeds=\"$rh5_platformSeeds\""; \
231 eulisse 1.4 echo "packageList=\"`echo $packageList`\""; \
232 eulisse 1.1 echo "additionalProvides=\"$additionalProvides\""; \
233     echo "unsupportedProvides=\"$unsupportedProvides\""; \
234 eulisse 1.8 echo "defaultPkgs=\"$defaultPkgs\""; \
235 eulisse 1.1 ) > %{i}/%{cmsplatf}-driver.txt
236 eulisse 1.25
237     (echo "rpm_version=$RPM_VERSION"; \
238     echo "apt_version=$APT_VERSION"; \
239     echo "platformSeeds=\"$platformSeeds $compPackages\""; \
240     echo "unsupportedSeeds=\"$unsupportedSeeds\""; \
241     echo "slc4_amd64_platformSeeds=\"$slc4_amd64_platformSeeds \""; \
242     echo "slc4_ia32_platformSeeds=\"$slc4_ia32_platformSeeds \""; \
243     echo "slc5_ia32_platformSeeds=\"$slc5_ia32_platformSeeds $slc5_compPackages\""; \
244     echo "slc5_amd64_platformSeeds=\"$slc5_amd64_platformSeeds $slc5_compPackages\""; \
245 eulisse 1.42 echo "slc6_amd64_platformSeeds=\"$slc6_amd64_platformSeeds $slc6_compPackages\""; \
246 fwyzard 1.36 echo "slc5onl_ia32_platformSeeds=\"$slc5onl_ia32_platformSeeds $slc5_compPackages\""; \
247     echo "slc5onl_amd64_platformSeeds=\"$slc5onl_amd64_platformSeeds $slc5_compPackages\""; \
248 eulisse 1.32 echo "rh5_ia32_platformSeeds=\"$rh5_ia32_platformSeeds\""; \
249     echo "rh5_amd64_platformSeeds=\"$rh5_amd64_platformSeeds\""; \
250     echo "rh5_platformSeeds=\"$rh5_platformSeeds\""; \
251 eulisse 1.25 echo "packageList=\"`echo $packageList`\""; \
252     echo "additionalProvides=\"$additionalProvides\""; \
253     echo "unsupportedProvides=\"$unsupportedProvides\""; \
254     echo "defaultPkgs=\"$defaultPkgs\""; \
255     ) > %{i}/%{cmsplatf}-driver-comp.txt
256    
257 eulisse 1.10 # FIXME: Hack to make sure that the cms-common package is named correctly in the driver file.
258     # We should make sure that the $PACKAGE_CATEGORY variable is used (requires changes to cmsBuild.sh which
259     # I don't want to do at this point.
260     perl -p -i -e 's|external[+]cms-common|cms+cms-common|g' %{i}/%{cmsplatf}-driver.txt
261 eulisse 1.26 perl -p -i -e 's|external[+]cms-common|cms+cms-common|g' %{i}/%{cmsplatf}-driver-comp.txt