java-1.7.0-openjdk-vl.spec 46 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539
  1. # If gcjbootstrap is 1 OpenJDK is bootstrapped against
  2. # java-1.5.0-gcj-devel. If gcjbootstrap is 0 OpenJDK is built against
  3. # java-devel >= 1.6.0
  4. %global gcjbootstrap 0
  5. # If debug is 1, OpenJDK is built with all debug info present.
  6. %global debug 0
  7. # If runtests is 0 test suites will not be run.
  8. %global runtests 0
  9. %global icedtea_version 2.2.1
  10. %global hg_tag icedtea-{icedtea_version}
  11. %global accessmajorver 1.23
  12. %global accessminorver 0
  13. %global accessver %{accessmajorver}.%{accessminorver}
  14. %global accessurl http://ftp.gnome.org/pub/GNOME/sources/java-access-bridge/
  15. %global mauvedate 2008-10-22
  16. %global multilib_arches ppc64 sparc64 x86_64
  17. %global jit_arches %{ix86} x86_64 sparcv9 sparc64
  18. %ifarch x86_64
  19. %global archbuild amd64
  20. %global archinstall amd64
  21. %endif
  22. %ifarch ppc
  23. %global archbuild ppc
  24. %global archinstall ppc
  25. %global archdef PPC
  26. %endif
  27. %ifarch ppc64
  28. %global archbuild ppc64
  29. %global archinstall ppc64
  30. %global archdef PPC
  31. %endif
  32. %ifarch %{ix86}
  33. %global archbuild i586
  34. %global archinstall i386
  35. %endif
  36. %ifarch ia64
  37. %global archbuild ia64
  38. %global archinstall ia64
  39. %endif
  40. %ifarch s390
  41. %global archbuild s390
  42. %global archinstall s390
  43. %global archdef S390
  44. %endif
  45. %ifarch s390x
  46. %global archbuild s390x
  47. %global archinstall s390x
  48. %global archdef S390
  49. %endif
  50. %ifarch %{arm}
  51. %global archbuild arm
  52. %global archinstall arm
  53. %global archdef ARM
  54. %endif
  55. # 32 bit sparc, optimized for v9
  56. %ifarch sparcv9
  57. %global archbuild sparc
  58. %global archinstall sparc
  59. %endif
  60. # 64 bit sparc
  61. %ifarch sparc64
  62. %global archbuild sparcv9
  63. %global archinstall sparcv9
  64. %endif
  65. %ifnarch %{jit_arches}
  66. %global archbuild %{_arch}
  67. %global archinstall %{_arch}
  68. %endif
  69. %if %{debug}
  70. %global debugbuild debug_build
  71. %else
  72. %global debugbuild %{nil}
  73. %endif
  74. %global buildoutputdir openjdk/build/linux-%{archbuild}
  75. %global with_pulseaudio 1
  76. %ifarch %{jit_arches}
  77. %global with_systemtap 0
  78. %else
  79. %global with_systemtap 0
  80. %endif
  81. # Convert an absolute path to a relative path. Each symbolic link is
  82. # specified relative to the directory in which it is installed so that
  83. # it will resolve properly within chrooted installations.
  84. %global script 'use File::Spec; print File::Spec->abs2rel($ARGV[0], $ARGV[1])'
  85. %global abs2rel %{__perl} -e %{script}
  86. # Hard-code libdir on 64-bit architectures to make the 64-bit JDK
  87. # simply be another alternative.
  88. %ifarch %{multilib_arches}
  89. %global syslibdir %{_prefix}/lib64
  90. %global _libdir %{_prefix}/lib
  91. %global archname %{name}.%{_arch}
  92. %else
  93. %global syslibdir %{_libdir}
  94. %global archname %{name}
  95. %endif
  96. # Standard JPackage naming and versioning defines.
  97. %global origin openjdk
  98. %global buildver 5
  99. # Keep priority on 5digits in case buildver>9
  100. %global priority 1700%{buildver}
  101. %global javaver 1.7.0
  102. # Standard JPackage directories and symbolic links.
  103. # Make 64-bit JDKs just another alternative on 64-bit architectures.
  104. %ifarch %{multilib_arches}
  105. %global sdklnk java-%{javaver}-%{origin}.%{_arch}
  106. %global jrelnk jre-%{javaver}-%{origin}.%{_arch}
  107. %global sdkdir %{name}-%{version}.%{_arch}
  108. %else
  109. %global sdklnk java-%{javaver}-%{origin}
  110. %global jrelnk jre-%{javaver}-%{origin}
  111. %global sdkdir %{name}-%{version}
  112. %endif
  113. %global jredir %{sdkdir}/jre
  114. %global sdkbindir %{_jvmdir}/%{sdklnk}/bin
  115. %global jrebindir %{_jvmdir}/%{jrelnk}/bin
  116. %ifarch %{multilib_arches}
  117. %global jvmjardir %{_jvmjardir}/%{name}-%{version}.%{_arch}
  118. %else
  119. %global jvmjardir %{_jvmjardir}/%{name}-%{version}
  120. %endif
  121. %if %{with_systemtap}
  122. # Where to install systemtap tapset (links)
  123. # We would like these to be in a package specific subdir,
  124. # but currently systemtap doesn't support that, so we have to
  125. # use the root tapset dir for now. To distinquish between 64
  126. # and 32 bit architectures we place the tapsets under the arch
  127. # specific dir (note that systemtap will only pickup the tapset
  128. # for the primary arch for now). Systemtap uses the machine name
  129. # aka build_cpu as architecture specific directory name.
  130. %global tapsetroot /usr/share/systemtap
  131. %global tapsetdir %{tapsetroot}/tapset/%{_build_cpu}
  132. %endif
  133. # Prevent brp-java-repack-jars from being run.
  134. %global __jar_repack 0
  135. Name: java-%{javaver}-%{origin}
  136. Version: %{javaver}.%{buildver}
  137. Release: %{icedtea_version}.1%{?_dist_release}
  138. Summary: OpenJDK Runtime Environment
  139. Summary(ja): OpenJDK ランタイム環境
  140. Group: Development/Languages
  141. License: ASL 1.1 and ASL 2.0 and GPL+ and GPLv2 and GPLv2 with exceptions and LGPL+ and LGPLv2 and MPLv1.0 and MPLv1.1 and Public Domain and W3C
  142. URL: http://openjdk.java.net/
  143. #head
  144. #REPO=http://icedtea.classpath.org/hg/icedtea7-forest
  145. #current release
  146. #REPO=http://icedtea.classpath.org/hg/release/icedtea7-forest-2.2
  147. # hg clone $REPO/ openjdk -r %{hg_tag}
  148. # hg clone $REPO/corba/ openjdk/corba -r %{hg_tag}
  149. # hg clone $REPO/hotspot/ openjdk/hotspot -r %{hg_tag}
  150. # hg clone $REPO/jaxp/ openjdk/jaxp -r %{hg_tag}
  151. # hg clone $REPO/jaxws/ openjdk/jaxws -r %{hg_tag}
  152. # hg clone $REPO/jdk/ openjdk/jdk -r %{hg_tag}
  153. # hg clone $REPO/langtools/ openjdk/langtools -r %{hg_tag}
  154. # find openjdk -name ".hg" -exec rm -rf '{}' \;
  155. # find openjdk -name ".hgtags" -exec rm -rf '{}' \;
  156. # tar czf openjdk-icedtea-%{icedtea_version}.tar.gz openjdk
  157. Source0: openjdk-icedtea-%{icedtea_version}.tar.gz
  158. # Gnome access bridge
  159. Source1: %{accessurl}%{accessmajorver}/java-access-bridge-%{accessver}.tar.bz2
  160. # README file
  161. Source2: README.src
  162. # Mauve test suite
  163. # FIXME: Is this applicable for 7?
  164. Source3: mauve-%{mauvedate}.tar.gz
  165. Source4: mauve_tests
  166. # javac wrapper (used during bootstrap to strip what ecj doesn't support)
  167. Source5: javac-wrapper
  168. # Auto-generated files (used only in bootstrap)
  169. # To reproduce:
  170. # build OpenJDK7 tarball above with any JDK
  171. # mv generated.build generated
  172. # tar czf generated-files.tar.gz generated
  173. Source6: generated-files.tar.gz
  174. # Class rewrite to rewrite rhino hierarchy
  175. Source7: class-rewriter.tar.gz
  176. # Systemtap tapsets. Zipped up to keep it small.
  177. Source8: systemtap-tapset.tar.gz
  178. # .desktop files. Zipped up to keep it small.
  179. Source9: desktop-files.tar.gz
  180. # nss configuration file
  181. Source10: nss.cfg
  182. # FIXME: Taken from IcedTea snapshot 877ad5f00f69, but needs to be moved out
  183. # hg clone -r 877ad5f00f69 http://icedtea.classpath.org/hg/icedtea7
  184. Source11: pulseaudio.tar.gz
  185. # Removed libraries that we link instead
  186. Source12: remove-intree-libraries.sh
  187. # For primary arches, build latest and for secondary, use hs22
  188. # base (icedtea-2.2.1 tag)
  189. # http://icedtea.classpath.org/hg/release/icedtea7-forest-2.1
  190. # hg tag: icedtea-2.1.1
  191. Source100: openjdk-icedtea-2.1.1.tar.gz
  192. # RPM/distribution specific patches
  193. # Allow TCK to pass with access bridge wired in
  194. Patch1: java-1.7.0-openjdk-java-access-bridge-tck.patch
  195. # Adjust idlj compilation switches to match what system idlj supports
  196. Patch2: java-1.7.0-openjdk-java-access-bridge-idlj.patch
  197. # Disable access to access-bridge packages by untrusted apps
  198. Patch3: java-1.7.0-openjdk-java-access-bridge-security.patch
  199. # Ignore AWTError when assistive technologies are loaded
  200. Patch4: java-1.7.0-openjdk-accessible-toolkit.patch
  201. # Build docs even in debug
  202. Patch5: java-1.7.0-openjdk-debugdocs.patch
  203. # Add debuginfo where missing
  204. Patch6: %{name}-debuginfo.patch
  205. #
  206. # OpenJDK specific patches
  207. #
  208. # Add rhino support
  209. Patch100: rhino.patch
  210. # Type fixing for s390
  211. Patch101: %{name}-bitmap.patch
  212. Patch102: %{name}-size_t.patch
  213. # Patches for Arm
  214. Patch103: %{name}-arm-fixes.patch
  215. # Patch for PPC/PPC64
  216. Patch104: %{name}-ppc-zero-jdk.patch
  217. Patch105: %{name}-ppc-zero-hotspot.patch
  218. #
  219. # Bootstrap patches (code with this is never shipped)
  220. #
  221. # Explicitly set javac, so that the bootstrap version is used
  222. Patch200: bootstrap-ant-javac.patch
  223. # Adjusted generated sources path to use prebuilt ones
  224. Patch201: bootstrap-corba-defs.patch
  225. # Do not use idlj to generate sources, as we use prebuilt ones
  226. Patch202: bootstrap-corba-idlj.patch
  227. # Disable decending into sources dir for generation
  228. Patch203: bootstrap-corba-no-gen.patch
  229. # Explicitly compile ORB.java
  230. Patch204: bootstrap-corba-orb.patch
  231. # Don't build demos in bootstrap
  232. Patch205: bootstrap-demos.patch
  233. # Change hex constants to be numbers instead of 0x... so that ecj can compile them right
  234. Patch206: bootstrap-ecj-fphexconstants.patch
  235. # Adjust opt flags to remove what ecj doesn't support
  236. Patch207: bootstrap-ecj-opts.patch
  237. # use pre-generated font config files
  238. Patch208: bootstrap-fontconfig.patch
  239. # Don't write auto-generation message in bootstrap
  240. Patch209: bootstrap-generated-comments.patch
  241. # Adjust bootclasspath to match what ecj has
  242. Patch210: bootstrap-xbootclasspath.patch
  243. # Wire in icedtea rt.jar (FIXME: name needs update, kept same for now to match icedtea name)
  244. Patch211: bootstrap-icedteart.patch
  245. # Wire in custom compiles rt classes
  246. Patch212: bootstrap-jar.patch
  247. # Compile inner opengl class explicitly
  248. Patch213: bootstrap-javah.patch
  249. # Disable ct.sym creation for bootstrap
  250. Patch214: bootstrap-symbols.patch
  251. # Disable icon generation for bootstrap
  252. Patch215: bootstrap-tobin.patch
  253. # Don't run test_gamma
  254. Patch216: bootstrap-test_gamma.patch
  255. # Disable requirement of module_lib path which bootstrap java_home doesn't have
  256. Patch217: bootstrap-tools.jar.patch
  257. # Allow -J opts to jar only if jar knows of them
  258. Patch218: bootstrap-jopt.patch
  259. # Explicitly add jaxp classes to classpath
  260. Patch219: bootstrap-jaxp-dependency.patch
  261. # Don't fork when generating stubs
  262. Patch220: bootstrap-genstubs-nofork.patch
  263. # Remove dependency on ProcessBuilder which is package private to Oracle implementation
  264. Patch221: bootstrap-break-processbuilder-dependency.patch
  265. # Allow to build with 1.5
  266. Patch222: bootstrap-revert-6973616.patch
  267. # Avoid trying to load system zone info provider and failing
  268. Patch223: bootstrap-revert-6941137.patch
  269. # Replace usage of string switch with if/elseif/else
  270. Patch224: bootstrap-ecj-stringswitch.patch
  271. # Allow langtools to use older jdk
  272. Patch225: bootstrap-langtools-force-old-jdk.patch
  273. # Access JDK sources and classes from langtools build
  274. Patch226: bootstrap-corba-dependencies.patch
  275. # Access langtools classes for Javadoc
  276. Patch227: bootstrap-jaxws-langtools-dependency.patch
  277. # Access JDK sources for com.sun.net.httpserver
  278. Patch228: bootstrap-jaxws-jdk-dependency.patch
  279. # Access JDK and generated sources to build servicability agent
  280. Patch229: bootstrap-hotspot-jdk-dependency.patch
  281. # Remove use of multi-catch and replace with regular multi-level catch
  282. Patch230: bootstrap-ecj-multicatch.patch
  283. # Remove use of try-with-resources and replace with manual close
  284. Patch231: bootstrap-ecj-trywithresources.patch
  285. # Disable auto-boxing and manally cast
  286. Patch232: bootstrap-ecj-autoboxing.patch
  287. # Use custom xslt processor
  288. Patch233: bootstrap-xsltproc.patch
  289. # Use constants from interface rather than impl
  290. Patch234: bootstrap-pr40188.patch
  291. # Remove use of diamond operator and replace with manual
  292. Patch235: bootstrap-ecj-diamond.patch
  293. # Adjust javah switches to only use what bootstrap version supports
  294. Patch236: bootstrap-javah-xbootclasspath.patch
  295. #
  296. # Optional component packages
  297. #
  298. # Make the ALSA based mixer the default when building with the pulseaudio based
  299. # mixer
  300. Patch300: pulse-soundproperties.patch
  301. # SystemTap support
  302. # Workaround for RH613824
  303. Patch302: systemtap.patch
  304. #
  305. # IcedTea 2.1.1/hs22 specific patches
  306. #
  307. # Rhino support
  308. Patch400: rhino-icedtea-2.1.1.patch
  309. BuildRequires: autoconf
  310. BuildRequires: automake
  311. BuildRequires: alsa-lib-devel
  312. BuildRequires: cups-devel
  313. BuildRequires: desktop-file-utils
  314. BuildRequires: giflib-devel
  315. BuildRequires: lcms2-devel
  316. BuildRequires: libX11-devel
  317. BuildRequires: libXi-devel
  318. BuildRequires: libXp-devel
  319. BuildRequires: libXt-devel
  320. BuildRequires: libXtst-devel
  321. BuildRequires: libjpeg-turbo-devel
  322. BuildRequires: libpng-devel
  323. BuildRequires: wget
  324. BuildRequires: libxslt
  325. BuildRequires: xorg-x11-proto-devel
  326. BuildRequires: mercurial
  327. BuildRequires: ant
  328. BuildRequires: libXinerama-devel
  329. BuildRequires: rhino
  330. BuildRequires: lsb
  331. BuildRequires: zip
  332. %if %{gcjbootstrap}
  333. BuildRequires: java-1.5.0-gcj-devel
  334. %else
  335. BuildRequires: java-devel >= 1.6.0
  336. %endif
  337. # Mauve build requirements.
  338. BuildRequires: xorg-x11-server-Xvfb
  339. BuildRequires: xorg-x11-fonts-Type1
  340. BuildRequires: xorg-x11-fonts-misc
  341. BuildRequires: freetype2-devel >= 2.3.0
  342. BuildRequires: fontconfig
  343. BuildRequires: ecj
  344. # Java Access Bridge for GNOME build requirements.
  345. BuildRequires: at-spi-devel
  346. BuildRequires: gawk
  347. BuildRequires: libbonobo-devel
  348. BuildRequires: pkgconfig >= 0.9.0
  349. BuildRequires: xorg-x11-utils
  350. # PulseAudio build requirements.
  351. %if %{with_pulseaudio}
  352. BuildRequires: pulseaudio-libs-devel >= 0.9.11
  353. BuildRequires: pulseaudio >= 0.9.11
  354. %endif
  355. # Zero-assembler build requirement.
  356. %ifnarch %{jit_arches}
  357. BuildRequires: libffi-devel >= 3.0.10
  358. %endif
  359. # cacerts build requirement.
  360. BuildRequires: openssl
  361. # execstack build requirement.
  362. # no prelink on ARM yet
  363. %ifnarch %{arm}
  364. BuildRequires: prelink
  365. %endif
  366. %if %{with_systemtap}
  367. #systemtap build requirement.
  368. BuildRequires: systemtap-sdt-devel
  369. %endif
  370. Requires: rhino
  371. Requires: lcms2
  372. Requires: libjpeg-turbo
  373. # Require /etc/pki/java/cacerts.
  374. Requires: ca-certificates
  375. # Require jpackage-utils for ant.
  376. Requires: jpackage-utils
  377. # Require zoneinfo data provided by tzdata-java subpackage.
  378. Requires: tzdata-java
  379. # Post requires alternatives to install tool alternatives.
  380. Requires(post): alternatives
  381. # Postun requires alternatives to uninstall tool alternatives.
  382. Requires(postun): alternatives
  383. # Standard JPackage base provides.
  384. Provides: jre-%{javaver}-%{origin} = %{version}-%{release}
  385. Provides: jre-%{origin} = %{version}-%{release}
  386. Provides: jre-%{javaver} = %{version}-%{release}
  387. Provides: java-%{javaver} = %{version}-%{release}
  388. Provides: jre = %{javaver}
  389. Provides: java-%{origin} = %{version}-%{release}
  390. Provides: java = %{javaver}
  391. # Standard JPackage extensions provides.
  392. Provides: jndi = %{version}
  393. Provides: jndi-ldap = %{version}
  394. Provides: jndi-cos = %{version}
  395. Provides: jndi-rmi = %{version}
  396. Provides: jndi-dns = %{version}
  397. Provides: jaas = %{version}
  398. Provides: jsse = %{version}
  399. Provides: jce = %{version}
  400. Provides: jdbc-stdext = 4.1
  401. Provides: java-sasl = %{version}
  402. Provides: java-fonts = %{version}
  403. # Obsolete older 1.6 packages as it cannot use the new bytecode
  404. Obsoletes: java-1.6.0-openjdk
  405. Obsoletes: java-1.6.0-openjdk-demo
  406. Obsoletes: java-1.6.0-openjdk-devel
  407. Obsoletes: java-1.6.0-openjdk-javadoc
  408. Obsoletes: java-1.6.0-openjdk-src
  409. %description
  410. The OpenJDK runtime environment.
  411. %package devel
  412. Summary: OpenJDK Development Environment
  413. Summary(ja): OpenJDK 開発環境
  414. Group: Development/Tools
  415. # Require base package.
  416. Requires: %{name} = %{version}-%{release}
  417. # Post requires alternatives to install tool alternatives.
  418. Requires(post): alternatives
  419. # Postun requires alternatives to uninstall tool alternatives.
  420. Requires(postun): alternatives
  421. # Standard JPackage devel provides.
  422. Provides: java-sdk-%{javaver}-%{origin} = %{version}
  423. Provides: java-sdk-%{javaver} = %{version}
  424. Provides: java-sdk-%{origin} = %{version}
  425. Provides: java-sdk = %{javaver}
  426. Provides: java-%{javaver}-devel = %{version}
  427. Provides: java-devel-%{origin} = %{version}
  428. Provides: java-devel = %{javaver}
  429. %description devel
  430. The OpenJDK development tools.
  431. %package demo
  432. Summary: OpenJDK Demos
  433. Summary(ja): OpenJDK デモ
  434. Group: Development/Languages
  435. Requires: %{name} = %{version}-%{release}
  436. %description demo
  437. The OpenJDK demos.
  438. %package src
  439. Summary: OpenJDK Source Bundle
  440. Summary(ja): OpenJDK ソースバンドル
  441. Group: Development/Languages
  442. Requires: %{name} = %{version}-%{release}
  443. %description src
  444. The OpenJDK source bundle.
  445. %package javadoc
  446. Summary: OpenJDK API Documentation
  447. Summary(ja): OpenJDK API ドキュメント
  448. Group: Documentation
  449. Requires: jpackage-utils
  450. BuildArch: noarch
  451. # Post requires alternatives to install javadoc alternative.
  452. Requires(post): alternatives
  453. # Postun requires alternatives to uninstall javadoc alternative.
  454. Requires(postun): alternatives
  455. # Standard JPackage javadoc provides.
  456. Provides: java-javadoc = %{version}-%{release}
  457. Provides: java-%{javaver}-javadoc = %{version}-%{release}
  458. %description javadoc
  459. The OpenJDK API documentation.
  460. %prep
  461. %ifarch %{jit_arches}
  462. %global source_num 0
  463. %else
  464. %global source_num 100
  465. %endif
  466. %setup -q -c -n %{name} -T -a %{source_num}
  467. %setup -q -n %{name} -T -D -a 3
  468. %setup -q -n %{name} -T -D -a 1
  469. cp %{SOURCE2} .
  470. cp %{SOURCE4} .
  471. # OpenJDK patches
  472. # Rhino patch -- one default version (100) and one specific to 2.1.1 (400)
  473. %ifarch %{jit_arches}
  474. %patch100
  475. %else
  476. %patch400
  477. %endif
  478. # pulseaudio support
  479. %if %{with_pulseaudio}
  480. %patch300
  481. %endif
  482. # Add systemtap patches if enabled
  483. %if %{with_systemtap}
  484. %patch302
  485. %endif
  486. # Remove libraries that are linked
  487. sh %{SOURCE12}
  488. # Copy jaxp, jaf and jaxws drops
  489. mkdir drops/
  490. # Extract the generated files
  491. tar xzf %{SOURCE6}
  492. # Extract the rewriter (to rewrite rhino classes)
  493. tar xzf %{SOURCE7}
  494. # Extract systemtap tapsets
  495. %if %{with_systemtap}
  496. tar xzf %{SOURCE8}
  497. for file in tapset/*.in; do
  498. OUTPUT_FILE=`echo $file | sed -e s:\.in$::g`
  499. sed -e s:@ABS_SERVER_LIBJVM_SO@:%{_jvmdir}/%{sdkdir}/jre/lib/amd64/server/libjvm.so:g $file > $OUTPUT_FILE
  500. sed -i -e '/@ABS_CLIENT_LIBJVM_SO@/d' $OUTPUT_FILE
  501. sed -i -e s:@ABS_JAVA_HOME_DIR@:%{_jvmdir}/%{sdkdir}:g $OUTPUT_FILE
  502. sed -i -e s:@INSTALL_ARCH_DIR@:%{archinstall}:g $OUTPUT_FILE
  503. done
  504. %endif
  505. # Pulseaudio
  506. %if %{with_pulseaudio}
  507. tar xzf %{SOURCE11}
  508. %endif
  509. # Extract desktop files
  510. tar xzf %{SOURCE9}
  511. # If bootstrapping, apply additional patches
  512. %if %{gcjbootstrap}
  513. cp -a openjdk openjdk-boot
  514. # Add bootstrap patches
  515. %patch200
  516. %patch201
  517. %patch202
  518. %patch203
  519. %patch204
  520. %patch205
  521. %patch206
  522. %patch207
  523. %patch208
  524. %patch209
  525. %patch210
  526. %patch211
  527. %patch212
  528. %patch213
  529. %patch214
  530. %patch215
  531. %patch216
  532. %patch217
  533. %patch218
  534. %patch219
  535. %patch220
  536. %patch221
  537. %patch222
  538. %patch223
  539. %patch224
  540. %patch225
  541. %patch226
  542. %patch227
  543. %patch228
  544. %patch229
  545. %patch230
  546. %patch231
  547. %patch232
  548. %patch233
  549. %patch234
  550. %patch235
  551. %patch236
  552. %endif
  553. %build
  554. # How many cpu's do we have?
  555. export NUM_PROC=`/usr/bin/getconf _NPROCESSORS_ONLN 2> /dev/null || :`
  556. export NUM_PROC=${NUM_PROC:-1}
  557. # Build IcedTea and OpenJDK.
  558. %ifarch s390x sparc64 alpha ppc64
  559. export ARCH_DATA_MODEL=64
  560. %endif
  561. %ifarch alpha
  562. export CFLAGS="$CFLAGS -mieee"
  563. %endif
  564. patch -l -p0 < %{PATCH3}
  565. patch -l -p0 < %{PATCH4}
  566. %if %{debug}
  567. patch -l -p0 < %{PATCH5}
  568. patch -l -p0 < %{PATCH6}
  569. %endif
  570. # Type fixes for s390
  571. %ifarch s390 s390x
  572. patch -l -p0 < %{PATCH101}
  573. patch -l -p0 < %{PATCH102}
  574. %endif
  575. # Arm fixes
  576. %ifarch %{arm}
  577. patch -l -p0 < %{PATCH103}
  578. %endif
  579. %ifarch ppc ppc64
  580. # PPC fixes
  581. patch -l -p0 < %{PATCH104}
  582. patch -l -p0 < %{PATCH105}
  583. %endif
  584. # Add a "-icedtea" tag to the version
  585. sed -i "s#BUILD_VARIANT_RELEASE)#BUILD_VARIANT_RELEASE)-icedtea#" openjdk/jdk/make/common/shared/Defs.gmk
  586. # Build the re-written rhino jar
  587. mkdir -p rhino/{old,new}
  588. # Compile the rewriter
  589. (cd rewriter
  590. javac com/redhat/rewriter/ClassRewriter.java
  591. )
  592. # Extract rhino.jar contents and rewrite
  593. (cd rhino/old
  594. jar xf /usr/share/java/rhino.jar
  595. )
  596. java -cp rewriter com.redhat.rewriter.ClassRewriter \
  597. $PWD/rhino/old \
  598. $PWD/rhino/new \
  599. org.mozilla \
  600. sun.org.mozilla
  601. (cd rhino/old
  602. for file in `find -type f -not -name '*.class'` ; do
  603. new_file=../new/`echo $file | sed -e 's#org#sun/org#'`
  604. mkdir -pv `dirname $new_file`
  605. cp -v $file $new_file
  606. sed -ie 's#org\.mozilla#sun.org.mozilla#g' $new_file
  607. done
  608. )
  609. (cd rhino/new
  610. jar cfm ../rhino.jar META-INF/MANIFEST.MF sun
  611. )
  612. %if %{gcjbootstrap}
  613. mkdir -p bootstrap/boot
  614. # Copy over JAVA_HOME from /usr/lib/jvm/java-gcj/
  615. cp -aL %{_jvmdir}/java-gcj/* bootstrap/boot/ || : # broken symlinks can be non-fatal but may cause this to fail
  616. # Replace javac with a wrapper that does some magic
  617. cp -af %{SOURCE5} bootstrap/boot/bin/javac
  618. chmod u+x bootstrap/boot/bin/javac # SOURCE5 may not be +x
  619. sed -i -e s:@RT_JAR@:$PWD/bootstrap/boot/jre/lib/rt.jar:g bootstrap/boot/bin/javac
  620. # Link the native2ascii binary
  621. ln -sf /usr/bin/gnative2ascii bootstrap/boot/bin/native2ascii
  622. # We don't need a disassebler, fake it
  623. echo "#!/bin/sh
  624. exit 0" > bootstrap/boot/bin/javap
  625. chmod u+rx bootstrap/boot/bin/javap # We need to run this during build
  626. # Modules directory
  627. mkdir -p bootstrap/boot/lib/modules
  628. # jdk1.6.0 link
  629. rm -f bootstrap/jdk1.6.0
  630. ln -sf boot bootstrap/jdk1.6.0
  631. # Update rt.jar with newer classes
  632. # Extra classes to compile for reasons like
  633. # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42003
  634. echo "openjdk-boot/jdk/src/share/classes/java/util/regex/Matcher.java
  635. openjdk-boot/jdk/src/share/classes/javax/management/remote/JMXServiceURL.java
  636. openjdk-boot/jdk/src/share/classes/javax/management/modelmbean/ModelMBeanInfo.java
  637. openjdk-boot/jdk/src/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java
  638. openjdk-boot/langtools/src/share/classes/javax/tools/JavaFileManager.java" > rt-source-files
  639. mkdir -p rt
  640. bootstrap/jdk1.6.0/bin/javac -g -encoding utf-8 -source 6 -target 6 -d rt \
  641. -classpath %{_jvmdir}/java-gcj/jre/lib/rt.jar \
  642. -sourcepath 'generated:openjdk-boot/jdk/src/share/classes:openjdk-boot/jdk/src/solaris/classes:openjdk-boot/langtools/src/share/classes:openjdk-boot/corba/src/share/classes' \
  643. -bootclasspath "\'\'" @rt-source-files
  644. pushd rt
  645. zip -qur ../bootstrap/jdk1.6.0/jre/lib/rt.jar *
  646. popd
  647. # clean up
  648. rm -f rt-source-files
  649. rm -rf rt
  650. # Build it
  651. pushd openjdk-boot
  652. cp -a ../generated generated.build
  653. chmod u+rwx generated.build
  654. export ALT_DROPS_DIR=$PWD/../drops
  655. export ALT_JDK_IMPORT_PATH="$PWD/../bootstrap/jdk1.6.0"
  656. # Set generic profile
  657. source jdk/make/jdk_generic_profile.sh
  658. make \
  659. ANT="/usr/bin/ant" \
  660. ALT_BOOTDIR="$PWD/../bootstrap/jdk1.6.0" \
  661. ICEDTEA_RT="$PWD/../bootstrap/jdk1.6.0/jre/lib/rt.jar" \
  662. HOTSPOT_BUILD_JOBS="$NUM_PROC" \
  663. NO_DOCS="true" \
  664. RHINO_JAR="$PWD/../rhino/rhino.jar" \
  665. GENSRCDIR="$PWD/generated.build" \
  666. DISABLE_NIMBUS="true" \
  667. XSLT="/usr/bin/xsltproc" \
  668. FT2_CFLAGS="-I/usr/include/freetype2 " \
  669. FT2_LIBS="-lfreetype " \
  670. %ifnarch %{jit_arches}
  671. LIBFFI_CFLAGS="`pkg-config --cflags libffi` " \
  672. LIBFFI_LIBS="-lffi " \
  673. ZERO_BUILD="true" \
  674. ZERO_LIBARCH="%{archbuild}" \
  675. ZERO_ARCHDEF="%{archdef}" \
  676. %ifarch ppc ppc64 s390 s390x
  677. ZERO_ENDIANNESS="big" \
  678. %else
  679. ZERO_ENDIANNESS="little" \
  680. %endif
  681. %endif
  682. %{nil}
  683. export JDK_TO_BUILD_WITH=$PWD/build/linux-%{archbuild}/j2sdk-image
  684. popd
  685. %else
  686. export JDK_TO_BUILD_WITH=/usr/lib/jvm/java-openjdk
  687. %endif
  688. pushd openjdk >& /dev/null
  689. export ALT_DROPS_DIR=$PWD/../drops
  690. export ALT_BOOTDIR="$JDK_TO_BUILD_WITH"
  691. # Save old umask as jdk_generic_profile overwrites it
  692. oldumask=`umask`
  693. # Set generic profile
  694. source jdk/make/jdk_generic_profile.sh
  695. # Restore old umask
  696. umask $oldumask
  697. make \
  698. ANT="/usr/bin/ant" \
  699. DISTRO_NAME="Fedora" \
  700. DISTRO_PACKAGE_VERSION="fedora-%{release}-%{_arch}" \
  701. %ifarch %{jit_arches}
  702. JDK_UPDATE_VERSION=`printf "%02d" %{buildver}` \
  703. %else
  704. JDK_UPDATE_VERSION="03" \
  705. %endif
  706. MILESTONE="fcs" \
  707. HOTSPOT_BUILD_JOBS="$NUM_PROC" \
  708. STATIC_CXX="false" \
  709. RHINO_JAR="$PWD/../rhino/rhino.jar" \
  710. GENSRCDIR="$PWD/generated.build" \
  711. FT2_CFLAGS="-I/usr/include/freetype2 " \
  712. FT2_LIBS="-lfreetype " \
  713. DEBUG_CLASSFILES="true" \
  714. DEBUG_BINARIES="true" \
  715. ALT_STRIP_POLICY="no_strip" \
  716. %ifnarch %{jit_arches}
  717. LIBFFI_CFLAGS="`pkg-config --cflags libffi` " \
  718. LIBFFI_LIBS="-lffi " \
  719. ZERO_BUILD="true" \
  720. ZERO_LIBARCH="%{archbuild}" \
  721. ZERO_ARCHDEF="%{archdef}" \
  722. %ifarch ppc ppc64 s390 s390x
  723. ZERO_ENDIANNESS="big" \
  724. %else
  725. ZERO_ENDIANNESS="little" \
  726. %endif
  727. %endif
  728. %{debugbuild}
  729. popd >& /dev/null
  730. export JAVA_HOME=$(pwd)/%{buildoutputdir}/j2sdk-image
  731. # Build pulseaudio and install it to JDK build location
  732. %if %{with_pulseaudio}
  733. pushd pulseaudio
  734. make JAVA_HOME=$JAVA_HOME -f Makefile.pulseaudio
  735. cp -pPRf build/native/libpulse-java.so $JAVA_HOME/jre/lib/%{archinstall}/
  736. cp -pPRf build/pulse-java.jar $JAVA_HOME/jre/lib/ext/
  737. popd
  738. %endif
  739. # Build Java Access Bridge for GNOME.
  740. pushd java-access-bridge-%{accessver}
  741. patch -l -p1 < %{PATCH1}
  742. patch -l -p1 < %{PATCH2}
  743. OLD_PATH=$PATH
  744. export PATH=$JAVA_HOME/bin:$OLD_PATH
  745. ./configure
  746. make
  747. export PATH=$OLD_PATH
  748. cp -a bridge/accessibility.properties $JAVA_HOME/jre/lib
  749. chmod 644 gnome-java-bridge.jar
  750. cp -a gnome-java-bridge.jar $JAVA_HOME/jre/lib/ext
  751. popd
  752. # Copy tz.properties
  753. echo "sun.zoneinfo.dir=/usr/share/javazi" >> $JAVA_HOME/jre/lib/tz.properties
  754. %if %{runtests}
  755. # Run jtreg test suite.
  756. {
  757. echo ====================JTREG TESTING========================
  758. export DISPLAY=:20
  759. Xvfb :20 -screen 0 1x1x24 -ac&
  760. echo $! > Xvfb.pid
  761. make jtregcheck -k
  762. kill -9 `cat Xvfb.pid`
  763. unset DISPLAY
  764. rm -f Xvfb.pid
  765. echo ====================JTREG TESTING END====================
  766. } || :
  767. # Run Mauve test suite.
  768. {
  769. pushd mauve-%{mauvedate}
  770. ./configure
  771. make
  772. echo ====================MAUVE TESTING========================
  773. export DISPLAY=:20
  774. Xvfb :20 -screen 0 1x1x24 -ac&
  775. echo $! > Xvfb.pid
  776. $JAVA_HOME/bin/java Harness -vm $JAVA_HOME/bin/java \
  777. -file %{SOURCE4} -timeout 30000 2>&1 | tee mauve_output
  778. kill -9 `cat Xvfb.pid`
  779. unset DISPLAY
  780. rm -f Xvfb.pid
  781. echo ====================MAUVE TESTING END====================
  782. popd
  783. } || :
  784. %endif
  785. %install
  786. rm -rf $RPM_BUILD_ROOT
  787. STRIP_KEEP_SYMTAB=libjvm*
  788. pushd %{buildoutputdir}/j2sdk-image
  789. # Install main files.
  790. install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
  791. cp -a bin include lib src.zip $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
  792. install -d -m 755 $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
  793. cp -a jre/bin jre/lib $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}
  794. %if %{with_systemtap}
  795. # Install systemtap support files.
  796. install -dm 755 $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset
  797. cp -a $RPM_BUILD_DIR/%{name}/tapset/*.stp $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/tapset/
  798. install -d -m 755 $RPM_BUILD_ROOT%{tapsetdir}
  799. pushd $RPM_BUILD_ROOT%{tapsetdir}
  800. RELATIVE=$(%{abs2rel} %{_jvmdir}/%{sdkdir}/tapset %{tapsetdir})
  801. ln -sf $RELATIVE/*.stp .
  802. popd
  803. %endif
  804. # Install cacerts symlink.
  805. rm -f $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/cacerts
  806. pushd $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security
  807. RELATIVE=$(%{abs2rel} %{_sysconfdir}/pki/java \
  808. %{_jvmdir}/%{jredir}/lib/security)
  809. ln -sf $RELATIVE/cacerts .
  810. popd
  811. # Install extension symlinks.
  812. install -d -m 755 $RPM_BUILD_ROOT%{jvmjardir}
  813. pushd $RPM_BUILD_ROOT%{jvmjardir}
  814. RELATIVE=$(%{abs2rel} %{_jvmdir}/%{jredir}/lib %{jvmjardir})
  815. ln -sf $RELATIVE/jsse.jar jsse-%{version}.jar
  816. ln -sf $RELATIVE/jce.jar jce-%{version}.jar
  817. ln -sf $RELATIVE/rt.jar jndi-%{version}.jar
  818. ln -sf $RELATIVE/rt.jar jndi-ldap-%{version}.jar
  819. ln -sf $RELATIVE/rt.jar jndi-cos-%{version}.jar
  820. ln -sf $RELATIVE/rt.jar jndi-rmi-%{version}.jar
  821. ln -sf $RELATIVE/rt.jar jaas-%{version}.jar
  822. ln -sf $RELATIVE/rt.jar jdbc-stdext-%{version}.jar
  823. ln -sf jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar
  824. ln -sf $RELATIVE/rt.jar sasl-%{version}.jar
  825. for jar in *-%{version}.jar
  826. do
  827. if [ x%{version} != x%{javaver} ]
  828. then
  829. ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|-%{javaver}.jar|g")
  830. fi
  831. ln -sf $jar $(echo $jar | sed "s|-%{version}.jar|.jar|g")
  832. done
  833. popd
  834. # Install JCE policy symlinks.
  835. install -d -m 755 $RPM_BUILD_ROOT%{_jvmprivdir}/%{archname}/jce/vanilla
  836. # Install versionless symlinks.
  837. pushd $RPM_BUILD_ROOT%{_jvmdir}
  838. ln -sf %{jredir} %{jrelnk}
  839. ln -sf %{sdkdir} %{sdklnk}
  840. popd
  841. pushd $RPM_BUILD_ROOT%{_jvmjardir}
  842. ln -sf %{sdkdir} %{jrelnk}
  843. ln -sf %{sdkdir} %{sdklnk}
  844. popd
  845. # Remove javaws man page
  846. rm -f man/man1/javaws*
  847. # Install man pages.
  848. install -d -m 755 $RPM_BUILD_ROOT%{_mandir}/man1
  849. for manpage in man/man1/*
  850. do
  851. # Convert man pages to UTF8 encoding.
  852. iconv -f ISO_8859-1 -t UTF8 $manpage -o $manpage.tmp
  853. mv -f $manpage.tmp $manpage
  854. install -m 644 -p $manpage $RPM_BUILD_ROOT%{_mandir}/man1/$(basename \
  855. $manpage .1)-%{name}.1
  856. done
  857. # Install demos and samples.
  858. cp -a demo $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
  859. mkdir -p sample/rmi
  860. mv bin/java-rmi.cgi sample/rmi
  861. cp -a sample $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}
  862. popd
  863. # Install nss.cfg
  864. install -m 644 %{SOURCE10} $RPM_BUILD_ROOT%{_jvmdir}/%{jredir}/lib/security/
  865. # Install Javadoc documentation.
  866. install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}
  867. cp -a %{buildoutputdir}/docs $RPM_BUILD_ROOT%{_javadocdir}/%{name}
  868. # Install icons and menu entries.
  869. for s in 16 24 32 48 ; do
  870. install -D -p -m 644 \
  871. openjdk/jdk/src/solaris/classes/sun/awt/X11/java-icon${s}.png \
  872. $RPM_BUILD_ROOT%{_datadir}/icons/hicolor/${s}x${s}/apps/java-%{javaver}.png
  873. done
  874. # Install desktop files.
  875. install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/{applications,pixmaps}
  876. for e in jconsole policytool ; do
  877. desktop-file-install --vendor=%{name} --mode=644 \
  878. --dir=$RPM_BUILD_ROOT%{_datadir}/applications $e.desktop
  879. done
  880. # Find JRE directories.
  881. find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type d \
  882. | grep -v jre/lib/security \
  883. | sed 's|'$RPM_BUILD_ROOT'|%dir |' \
  884. > %{name}.files
  885. # Find JRE files.
  886. find $RPM_BUILD_ROOT%{_jvmdir}/%{jredir} -type f -o -type l \
  887. | grep -v jre/lib/security \
  888. | sed 's|'$RPM_BUILD_ROOT'||' \
  889. >> %{name}.files
  890. # Find demo directories.
  891. find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
  892. $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample -type d \
  893. | sed 's|'$RPM_BUILD_ROOT'|%dir |' \
  894. > %{name}-demo.files
  895. # FIXME: remove SONAME entries from demo DSOs. See
  896. # https://bugzilla.redhat.com/show_bug.cgi?id=436497
  897. # Find non-documentation demo files.
  898. find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
  899. $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
  900. -type f -o -type l | sort \
  901. | grep -v README \
  902. | sed 's|'$RPM_BUILD_ROOT'||' \
  903. >> %{name}-demo.files
  904. # Find documentation demo files.
  905. find $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/demo \
  906. $RPM_BUILD_ROOT%{_jvmdir}/%{sdkdir}/sample \
  907. -type f -o -type l | sort \
  908. | grep README \
  909. | sed 's|'$RPM_BUILD_ROOT'||' \
  910. | sed 's|^|%doc |' \
  911. >> %{name}-demo.files
  912. # FIXME: identical binaries are copied, not linked. This needs to be
  913. # fixed upstream.
  914. %post
  915. ext=.gz
  916. alternatives \
  917. --install %{_bindir}/java java %{jrebindir}/java %{priority} \
  918. --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \
  919. --slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} \
  920. --slave %{_bindir}/keytool keytool %{jrebindir}/keytool \
  921. --slave %{_bindir}/orbd orbd %{jrebindir}/orbd \
  922. --slave %{_bindir}/pack200 pack200 %{jrebindir}/pack200 \
  923. --slave %{_bindir}/rmid rmid %{jrebindir}/rmid \
  924. --slave %{_bindir}/rmiregistry rmiregistry %{jrebindir}/rmiregistry \
  925. --slave %{_bindir}/servertool servertool %{jrebindir}/servertool \
  926. --slave %{_bindir}/tnameserv tnameserv %{jrebindir}/tnameserv \
  927. --slave %{_bindir}/unpack200 unpack200 %{jrebindir}/unpack200 \
  928. --slave %{_mandir}/man1/java.1$ext java.1$ext \
  929. %{_mandir}/man1/java-%{name}.1$ext \
  930. --slave %{_mandir}/man1/keytool.1$ext keytool.1$ext \
  931. %{_mandir}/man1/keytool-%{name}.1$ext \
  932. --slave %{_mandir}/man1/orbd.1$ext orbd.1$ext \
  933. %{_mandir}/man1/orbd-%{name}.1$ext \
  934. --slave %{_mandir}/man1/pack200.1$ext pack200.1$ext \
  935. %{_mandir}/man1/pack200-%{name}.1$ext \
  936. --slave %{_mandir}/man1/rmid.1$ext rmid.1$ext \
  937. %{_mandir}/man1/rmid-%{name}.1$ext \
  938. --slave %{_mandir}/man1/rmiregistry.1$ext rmiregistry.1$ext \
  939. %{_mandir}/man1/rmiregistry-%{name}.1$ext \
  940. --slave %{_mandir}/man1/servertool.1$ext servertool.1$ext \
  941. %{_mandir}/man1/servertool-%{name}.1$ext \
  942. --slave %{_mandir}/man1/tnameserv.1$ext tnameserv.1$ext \
  943. %{_mandir}/man1/tnameserv-%{name}.1$ext \
  944. --slave %{_mandir}/man1/unpack200.1$ext unpack200.1$ext \
  945. %{_mandir}/man1/unpack200-%{name}.1$ext
  946. alternatives \
  947. --install %{_jvmdir}/jre-%{origin} \
  948. jre_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \
  949. --slave %{_jvmjardir}/jre-%{origin} \
  950. jre_%{origin}_exports %{_jvmjardir}/%{jrelnk}
  951. alternatives \
  952. --install %{_jvmdir}/jre-%{javaver} \
  953. jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority} \
  954. --slave %{_jvmjardir}/jre-%{javaver} \
  955. jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk}
  956. update-desktop-database %{_datadir}/applications &> /dev/null || :
  957. touch --no-create %{_datadir}/icons/hicolor
  958. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  959. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  960. fi
  961. exit 0
  962. %postun
  963. if [ $1 -eq 0 ]
  964. then
  965. alternatives --remove java %{jrebindir}/java
  966. alternatives --remove jre_%{origin} %{_jvmdir}/%{jrelnk}
  967. alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk}
  968. fi
  969. update-desktop-database %{_datadir}/applications &> /dev/null || :
  970. touch --no-create %{_datadir}/icons/hicolor
  971. if [ -x %{_bindir}/gtk-update-icon-cache ] ; then
  972. %{_bindir}/gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor
  973. fi
  974. exit 0
  975. %post devel
  976. ext=.gz
  977. alternatives \
  978. --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority} \
  979. --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \
  980. --slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdklnk} \
  981. --slave %{_bindir}/appletviewer appletviewer %{sdkbindir}/appletviewer \
  982. --slave %{_bindir}/apt apt %{sdkbindir}/apt \
  983. --slave %{_bindir}/extcheck extcheck %{sdkbindir}/extcheck \
  984. --slave %{_bindir}/jar jar %{sdkbindir}/jar \
  985. --slave %{_bindir}/jarsigner jarsigner %{sdkbindir}/jarsigner \
  986. --slave %{_bindir}/javadoc javadoc %{sdkbindir}/javadoc \
  987. --slave %{_bindir}/javah javah %{sdkbindir}/javah \
  988. --slave %{_bindir}/javap javap %{sdkbindir}/javap \
  989. --slave %{_bindir}/jconsole jconsole %{sdkbindir}/jconsole \
  990. --slave %{_bindir}/jdb jdb %{sdkbindir}/jdb \
  991. --slave %{_bindir}/jhat jhat %{sdkbindir}/jhat \
  992. --slave %{_bindir}/jinfo jinfo %{sdkbindir}/jinfo \
  993. --slave %{_bindir}/jmap jmap %{sdkbindir}/jmap \
  994. --slave %{_bindir}/jps jps %{sdkbindir}/jps \
  995. --slave %{_bindir}/jrunscript jrunscript %{sdkbindir}/jrunscript \
  996. --slave %{_bindir}/jsadebugd jsadebugd %{sdkbindir}/jsadebugd \
  997. --slave %{_bindir}/jstack jstack %{sdkbindir}/jstack \
  998. --slave %{_bindir}/jstat jstat %{sdkbindir}/jstat \
  999. --slave %{_bindir}/jstatd jstatd %{sdkbindir}/jstatd \
  1000. --slave %{_bindir}/native2ascii native2ascii %{sdkbindir}/native2ascii \
  1001. --slave %{_bindir}/policytool policytool %{sdkbindir}/policytool \
  1002. --slave %{_bindir}/rmic rmic %{sdkbindir}/rmic \
  1003. --slave %{_bindir}/schemagen schemagen %{sdkbindir}/schemagen \
  1004. --slave %{_bindir}/serialver serialver %{sdkbindir}/serialver \
  1005. --slave %{_bindir}/wsgen wsgen %{sdkbindir}/wsgen \
  1006. --slave %{_bindir}/wsimport wsimport %{sdkbindir}/wsimport \
  1007. --slave %{_bindir}/xjc xjc %{sdkbindir}/xjc \
  1008. --slave %{_mandir}/man1/appletviewer.1$ext appletviewer.1$ext \
  1009. %{_mandir}/man1/appletviewer-%{name}.1$ext \
  1010. --slave %{_mandir}/man1/apt.1$ext apt.1$ext \
  1011. %{_mandir}/man1/apt-%{name}.1$ext \
  1012. --slave %{_mandir}/man1/extcheck.1$ext extcheck.1$ext \
  1013. %{_mandir}/man1/extcheck-%{name}.1$ext \
  1014. --slave %{_mandir}/man1/jar.1$ext jar.1$ext \
  1015. %{_mandir}/man1/jar-%{name}.1$ext \
  1016. --slave %{_mandir}/man1/jarsigner.1$ext jarsigner.1$ext \
  1017. %{_mandir}/man1/jarsigner-%{name}.1$ext \
  1018. --slave %{_mandir}/man1/javac.1$ext javac.1$ext \
  1019. %{_mandir}/man1/javac-%{name}.1$ext \
  1020. --slave %{_mandir}/man1/javadoc.1$ext javadoc.1$ext \
  1021. %{_mandir}/man1/javadoc-%{name}.1$ext \
  1022. --slave %{_mandir}/man1/javah.1$ext javah.1$ext \
  1023. %{_mandir}/man1/javah-%{name}.1$ext \
  1024. --slave %{_mandir}/man1/javap.1$ext javap.1$ext \
  1025. %{_mandir}/man1/javap-%{name}.1$ext \
  1026. --slave %{_mandir}/man1/jconsole.1$ext jconsole.1$ext \
  1027. %{_mandir}/man1/jconsole-%{name}.1$ext \
  1028. --slave %{_mandir}/man1/jdb.1$ext jdb.1$ext \
  1029. %{_mandir}/man1/jdb-%{name}.1$ext \
  1030. --slave %{_mandir}/man1/jhat.1$ext jhat.1$ext \
  1031. %{_mandir}/man1/jhat-%{name}.1$ext \
  1032. --slave %{_mandir}/man1/jinfo.1$ext jinfo.1$ext \
  1033. %{_mandir}/man1/jinfo-%{name}.1$ext \
  1034. --slave %{_mandir}/man1/jmap.1$ext jmap.1$ext \
  1035. %{_mandir}/man1/jmap-%{name}.1$ext \
  1036. --slave %{_mandir}/man1/jps.1$ext jps.1$ext \
  1037. %{_mandir}/man1/jps-%{name}.1$ext \
  1038. --slave %{_mandir}/man1/jrunscript.1$ext jrunscript.1$ext \
  1039. %{_mandir}/man1/jrunscript-%{name}.1$ext \
  1040. --slave %{_mandir}/man1/jsadebugd.1$ext jsadebugd.1$ext \
  1041. %{_mandir}/man1/jsadebugd-%{name}.1$ext \
  1042. --slave %{_mandir}/man1/jstack.1$ext jstack.1$ext \
  1043. %{_mandir}/man1/jstack-%{name}.1$ext \
  1044. --slave %{_mandir}/man1/jstat.1$ext jstat.1$ext \
  1045. %{_mandir}/man1/jstat-%{name}.1$ext \
  1046. --slave %{_mandir}/man1/jstatd.1$ext jstatd.1$ext \
  1047. %{_mandir}/man1/jstatd-%{name}.1$ext \
  1048. --slave %{_mandir}/man1/native2ascii.1$ext native2ascii.1$ext \
  1049. %{_mandir}/man1/native2ascii-%{name}.1$ext \
  1050. --slave %{_mandir}/man1/policytool.1$ext policytool.1$ext \
  1051. %{_mandir}/man1/policytool-%{name}.1$ext \
  1052. --slave %{_mandir}/man1/rmic.1$ext rmic.1$ext \
  1053. %{_mandir}/man1/rmic-%{name}.1$ext \
  1054. --slave %{_mandir}/man1/schemagen.1$ext schemagen.1$ext \
  1055. %{_mandir}/man1/schemagen-%{name}.1$ext \
  1056. --slave %{_mandir}/man1/serialver.1$ext serialver.1$ext \
  1057. %{_mandir}/man1/serialver-%{name}.1$ext \
  1058. --slave %{_mandir}/man1/wsgen.1$ext wsgen.1$ext \
  1059. %{_mandir}/man1/wsgen-%{name}.1$ext \
  1060. --slave %{_mandir}/man1/wsimport.1$ext wsimport.1$ext \
  1061. %{_mandir}/man1/wsimport-%{name}.1$ext \
  1062. --slave %{_mandir}/man1/xjc.1$ext xjc.1$ext \
  1063. %{_mandir}/man1/xjc-%{name}.1$ext
  1064. alternatives \
  1065. --install %{_jvmdir}/java-%{origin} \
  1066. java_sdk_%{origin} %{_jvmdir}/%{sdklnk} %{priority} \
  1067. --slave %{_jvmjardir}/java-%{origin} \
  1068. java_sdk_%{origin}_exports %{_jvmjardir}/%{sdklnk}
  1069. alternatives \
  1070. --install %{_jvmdir}/java-%{javaver} \
  1071. java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority} \
  1072. --slave %{_jvmjardir}/java-%{javaver} \
  1073. java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk}
  1074. exit 0
  1075. %postun devel
  1076. if [ $1 -eq 0 ]
  1077. then
  1078. alternatives --remove javac %{sdkbindir}/javac
  1079. alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdklnk}
  1080. alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk}
  1081. fi
  1082. exit 0
  1083. %post javadoc
  1084. alternatives \
  1085. --install %{_javadocdir}/java javadocdir %{_javadocdir}/%{name}/api \
  1086. %{priority}
  1087. exit 0
  1088. %postun javadoc
  1089. if [ $1 -eq 0 ]
  1090. then
  1091. alternatives --remove javadocdir %{_javadocdir}/%{name}/api
  1092. fi
  1093. exit 0
  1094. %files -f %{name}.files
  1095. %defattr(-,root,root,-)
  1096. %doc %{buildoutputdir}/j2sdk-image/jre/ASSEMBLY_EXCEPTION
  1097. %doc %{buildoutputdir}/j2sdk-image/jre/LICENSE
  1098. %doc %{buildoutputdir}/j2sdk-image/jre/THIRD_PARTY_README
  1099. %dir %{_jvmdir}/%{sdkdir}
  1100. %{_jvmdir}/%{jrelnk}
  1101. %{_jvmjardir}/%{jrelnk}
  1102. %{_jvmprivdir}/*
  1103. %{jvmjardir}
  1104. %dir %{_jvmdir}/%{jredir}/lib/security
  1105. %{_jvmdir}/%{jredir}/lib/security/cacerts
  1106. %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy
  1107. %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security
  1108. %{_datadir}/icons/hicolor/*x*/apps/java-%{javaver}.png
  1109. %{_mandir}/man1/java-%{name}.1*
  1110. %{_mandir}/man1/keytool-%{name}.1*
  1111. %{_mandir}/man1/orbd-%{name}.1*
  1112. %{_mandir}/man1/pack200-%{name}.1*
  1113. %{_mandir}/man1/rmid-%{name}.1*
  1114. %{_mandir}/man1/rmiregistry-%{name}.1*
  1115. %{_mandir}/man1/servertool-%{name}.1*
  1116. %{_mandir}/man1/tnameserv-%{name}.1*
  1117. %{_mandir}/man1/unpack200-%{name}.1*
  1118. %{_jvmdir}/%{jredir}/lib/security/nss.cfg
  1119. %files devel
  1120. %defattr(-,root,root,-)
  1121. %doc %{buildoutputdir}/j2sdk-image/ASSEMBLY_EXCEPTION
  1122. %doc %{buildoutputdir}/j2sdk-image/LICENSE
  1123. %doc %{buildoutputdir}/j2sdk-image/THIRD_PARTY_README
  1124. %dir %{_jvmdir}/%{sdkdir}/bin
  1125. %dir %{_jvmdir}/%{sdkdir}/include
  1126. %dir %{_jvmdir}/%{sdkdir}/lib
  1127. %if %{with_systemtap}
  1128. %dir %{_jvmdir}/%{sdkdir}/tapset
  1129. %endif
  1130. %{_jvmdir}/%{sdkdir}/bin/*
  1131. %{_jvmdir}/%{sdkdir}/include/*
  1132. %{_jvmdir}/%{sdkdir}/lib/*
  1133. %if %{with_systemtap}
  1134. %{_jvmdir}/%{sdkdir}/tapset/*.stp
  1135. %endif
  1136. %{_jvmdir}/%{sdklnk}
  1137. %{_jvmjardir}/%{sdklnk}
  1138. %{_datadir}/applications/*jconsole.desktop
  1139. %{_datadir}/applications/*policytool.desktop
  1140. %{_mandir}/man1/appletviewer-%{name}.1*
  1141. %{_mandir}/man1/apt-%{name}.1*
  1142. %{_mandir}/man1/extcheck-%{name}.1*
  1143. %{_mandir}/man1/idlj-%{name}.1*
  1144. %{_mandir}/man1/jar-%{name}.1*
  1145. %{_mandir}/man1/jarsigner-%{name}.1*
  1146. %{_mandir}/man1/javac-%{name}.1*
  1147. %{_mandir}/man1/javadoc-%{name}.1*
  1148. %{_mandir}/man1/javah-%{name}.1*
  1149. %{_mandir}/man1/javap-%{name}.1*
  1150. %{_mandir}/man1/jconsole-%{name}.1*
  1151. %ifarch %{jit_arches} # Only in u4+
  1152. %{_mandir}/man1/jcmd-%{name}.1*
  1153. %endif
  1154. %{_mandir}/man1/jdb-%{name}.1*
  1155. %{_mandir}/man1/jhat-%{name}.1*
  1156. %{_mandir}/man1/jinfo-%{name}.1*
  1157. %{_mandir}/man1/jmap-%{name}.1*
  1158. %{_mandir}/man1/jps-%{name}.1*
  1159. %{_mandir}/man1/jrunscript-%{name}.1*
  1160. %{_mandir}/man1/jsadebugd-%{name}.1*
  1161. %{_mandir}/man1/jstack-%{name}.1*
  1162. %{_mandir}/man1/jstat-%{name}.1*
  1163. %{_mandir}/man1/jstatd-%{name}.1*
  1164. %{_mandir}/man1/native2ascii-%{name}.1*
  1165. %{_mandir}/man1/policytool-%{name}.1*
  1166. %{_mandir}/man1/rmic-%{name}.1*
  1167. %{_mandir}/man1/schemagen-%{name}.1*
  1168. %{_mandir}/man1/serialver-%{name}.1*
  1169. %{_mandir}/man1/wsgen-%{name}.1*
  1170. %{_mandir}/man1/wsimport-%{name}.1*
  1171. %{_mandir}/man1/xjc-%{name}.1*
  1172. %if %{with_systemtap}
  1173. %{tapsetroot}
  1174. %endif
  1175. %files demo -f %{name}-demo.files
  1176. %defattr(-,root,root,-)
  1177. %doc %{buildoutputdir}/j2sdk-image/jre/LICENSE
  1178. %files src
  1179. %defattr(-,root,root,-)
  1180. %doc README.src
  1181. %{_jvmdir}/%{sdkdir}/src.zip
  1182. %if %{runtests}
  1183. # FIXME: put these in a separate testresults subpackage.
  1184. %doc mauve_tests
  1185. %doc mauve-%{mauvedate}/mauve_output
  1186. %doc test/jtreg-summary.log
  1187. %endif
  1188. %files javadoc
  1189. %defattr(-,root,root,-)
  1190. %doc %{_javadocdir}/%{name}
  1191. %doc %{buildoutputdir}/j2sdk-image/jre/LICENSE
  1192. %changelog
  1193. * Sun Jul 22 2012 Daisuke SUZUKI <daisuke@linux.or.jp> 1.7.0.5-2.2.1.1
  1194. - initial build for Vine Linux
  1195. * Mon Jul 09 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.5-2.2.1.fc18.9
  1196. - Added support to build older (2.1.1/u3/hs22) version on non-jit (secondary)
  1197. arches
  1198. * Wed Jun 13 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.3-2.2.1fc18.8
  1199. - Fixed broken provides sections
  1200. - Changed java-devel requirement to be self's devel (java-1.7.0-openjdk-devel)
  1201. * Mon Jun 11 2012 jiri Vanek <jvanek@redhat.com> - 1.7.0.3-2.2.1fc18.7
  1202. - Used newly prepared tarball with security fixes
  1203. - Bump to icedtea7-forest-2.2.1
  1204. - _mandir/man1/jcmd-name.1 added to alternatives
  1205. - Updated rhino.patch
  1206. - Modified partially upstreamed patch302 - systemtap.patch
  1207. - Temporarly disabled patch102 - java-1.7.0-openjdk-size_t.patch
  1208. - Removed already upstreamed patches 104,107,108,301
  1209. - java-1.7.0-openjdk-arm-ftbfs.patch
  1210. - java-1.7.0-openjdk-system-zlib.patch
  1211. - java-1.7.0-openjdk-remove-mimpure-opt.patch
  1212. - systemtap-alloc-size-workaround.patch
  1213. - patch 105 (java-1.7.0-openjdk-ppc-zero-jdk.patch) have become 104
  1214. - patch 106 (java-1.7.0-openjdk-ppc-zero-hotspot.patch) have become 105
  1215. - Added build requires zip, which was untill now dependence of dependence
  1216. - Access gnome brridge jar forced to be 644
  1217. * Fri May 25 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1.fc17.7
  1218. - Miscellaneous fixes brought in from RHEL branch
  1219. - Resolves: rhbz#825255: Added ALT_STRIP_POLICY so that debug info is not stripped
  1220. - Moved Patch #7 (usage of system zlib) to #107
  1221. * Tue May 01 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1.fc17.6
  1222. - Removed VisualVM requirements
  1223. - Obsoleted java-1.6.0-openjdk*
  1224. - Added BR for zip
  1225. * Mon Mar 26 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1.fc17.5
  1226. - Added SystemTap fixes by Mark Wielaard
  1227. * Sat Mar 24 2012 Dan Horák <dan[at]danny.cz>> - 1.7.0.3-2.1.fc17.4
  1228. - update paths in the ppc patches, add missing snippet
  1229. * Wed Mar 21 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1.fc17.3
  1230. - Reverted fix for rhbz#740762
  1231. - Fixed PPC/PPC64 build (rh804136) -- added patches from Chris Phillips
  1232. - Moved OpenJDK specific patches to 1XX series
  1233. * Mon Mar 12 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1.fc17.2
  1234. - Resolved rhbz#740762: java.library.path is missing some paths
  1235. - Unified spec file for x86, x86_64, ARM and s390
  1236. - Integrated changes from Dan Horák <dhorak@redhat.com> for Zero/s390
  1237. - Integrated changes from Chris Phillips <chphilli@redhat.com> for Zero/ARM
  1238. * Fri Feb 24 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1.fc17.1
  1239. - Added flag so that debuginfo is built into classfiles (rhbz# 796400)
  1240. - Updated rhino.patch to build scripting support (rhbz# 796398)
  1241. * Tue Feb 14 2012 Deepak Bhole <dbhole@redhat.com> - 1.7.0.3-2.1
  1242. - Updated to OpenJDK7u3/IcedTea7 2.1
  1243. - Security fixes:
  1244. - S7112642, CVE-2012-0497: Incorrect checking for graphics rendering object
  1245. - S7082299, CVE-2011-3571: AtomicReferenceArray insufficient array type check
  1246. - S7110687, CVE-2012-0503: Unrestricted use of TimeZone.setDefault
  1247. - S7110700, CVE-2012-0505: Incomplete info in the deserialization exception
  1248. - S7110683, CVE-2012-0502: KeyboardFocusManager focus stealing
  1249. - S7088367, CVE-2011-3563: JavaSound incorrect bounds check
  1250. - S7126960, CVE-2011-5035: Add property to limit number of request headers to the HTTP Server
  1251. - S7118283, CVE-2012-0501: Off-by-one bug in ZIP reading code
  1252. - S7110704, CVE-2012-0506: CORBA fix
  1253. - Add patch to fix compilation with GCC 4.7
  1254. * Tue Nov 15 2011 Deepak Bhole <dbhole@redhat.com> - 1.7.0.1-2.0.3
  1255. - Added patch to fix bug in jdk_generic_profile.sh
  1256. - Compile with generic profile to use system libraries
  1257. - Made remove-intree-libraries.sh more robust
  1258. - Added lcms requirement
  1259. - Added patch to fix glibc name clash
  1260. - Updated java version to include -icedtea
  1261. * Sun Nov 06 2011 Deepak Bhole <dbhole@redhat.com> - 1.7.0.1-2.0.2
  1262. - Added missing changelog entry
  1263. * Sun Nov 06 2011 Deepak Bhole <dbhole@redhat.com> - 1.7.0.1-2.0.1
  1264. - Updated to IcedTea 2.0 tag in the IcedTea OpenJDK7 forest
  1265. - Removed obsoleted patches
  1266. - Added system timezone support
  1267. - Revamp version/release naming scheme to make it proper
  1268. - Security fixes
  1269. - S7000600, CVE-2011-3547: InputStream skip() information leak
  1270. - S7019773, CVE-2011-3548: mutable static AWTKeyStroke.ctor
  1271. - S7023640, CVE-2011-3551: Java2D TransformHelper integer overflow
  1272. - S7032417, CVE-2011-3552: excessive default UDP socket limit under SecurityManager
  1273. - S7046823, CVE-2011-3544: missing SecurityManager checks in scripting engine
  1274. - S7055902, CVE-2011-3521: IIOP deserialization code execution
  1275. - S7057857, CVE-2011-3554: insufficient pack200 JAR files uncompress error checks
  1276. - S7064341, CVE-2011-3389: HTTPS: block-wise chosen-plaintext attack against SSL/TLS (BEAST)
  1277. - S7070134, CVE-2011-3558: HotSpot crashes with sigsegv from PorterStemmer
  1278. - S7077466, CVE-2011-3556: RMI DGC server remote code execution
  1279. - S7083012, CVE-2011-3557: RMI registry privileged code execution
  1280. - S7096936, CVE-2011-3560: missing checkSetFactory calls in HttpsURLConnection
  1281. * Mon Aug 29 2011 Deepak Bhole <dbhole@redhat.com> - 1.7.0.0-0.1.20110823.1
  1282. - Provide a "7" version of items to enfore F-16 policy of no Java 7 builds
  1283. - Resolves: rhbz#728706, patch from Ville Skyttä <ville.skytta at iki dot fi>
  1284. * Fri Aug 05 2011 Deepak Bhole <dbhole@redhat.com> - 1.7.0.0-0.1.20110803
  1285. - Use a newer snapshot and forest on classpath.org rather than on openjdk.net
  1286. - Added in-tree-removal script to remove libraries that we manually link
  1287. - Updated snapshots
  1288. - Added DISTRO_NAME and FreeType header/lib locations
  1289. - Removed application of patch100 and patch 113 (now in forest)
  1290. * Wed Aug 03 2011 Deepak Bhole <dbhole@redhat.com> - 1.7.0.0-0.1.20110729
  1291. - Initial build from java-1.6.0-openjdk RPM