install-assist-flash-plugin-vl.spec 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. %define pkgname flash-plugin
  2. %define pkgversion 11.2.202.238
  3. %define dlurl http://fpdownload.macromedia.com/get/flashplayer/pdc/%{pkgversion}/flash-plugin-%{pkgversion}-release.%{target_arch}.rpm
  4. %ifarch %{ix86}
  5. %define target_arch i386
  6. %endif
  7. %ifarch x86_64
  8. %define target_arch x86_64
  9. %endif
  10. Summary: Package to assist installation of Adobe Flash Player (%{target_arch})
  11. Summary(ja): Adobe Flash Player (%{target_arch}) のインストールを補助するパッケージ
  12. Name: install-assist-%{pkgname}
  13. Version: %{pkgversion}
  14. Release: 1%{?_dist_release}
  15. License: Commercial
  16. Group: Applications/Internet
  17. ExclusiveArch: %{ix86} x86_64
  18. # Requires(posttrans) not yet implemented. So we use (post) instead.
  19. Requires(post): self-build-setup >= 0.9.0
  20. # Required packages for flash-plugin 10 (<BTS:wishes:0178>)
  21. Requires: curl
  22. Requires: nss
  23. Requires: libXt
  24. %ifarch x86_64
  25. ##Requires: compat32-nss
  26. ##Requires: compat32-libXt
  27. ##Requires: compat32-alsa-lib
  28. # NOTE: After releasing flash-plugin version 11.1.102.55,
  29. # our vl5, vl6, vl7 (or higher) use the 64bit linux native flash-plugin.
  30. # We need not some nspluginwrapper processes on the %%posttrans of
  31. # this package.
  32. ##Requires(post): nspluginwrapper
  33. Obsoletes: flash-plugin < 11.1.102.55-release
  34. %endif
  35. Obsoletes: install-assist-flash-plugin9
  36. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  37. Packager: kazutaka, munepi
  38. %description
  39. Adobe Flash Player %{pkgversion} (%{target_arch})
  40. If you install this package, it automaticaly downloads
  41. required files to install %{pkgname}.
  42. And the downloaded files are automatically installed if
  43. installation is executed by apt-get command or synaptic
  44. package manager.
  45. %description -l ja
  46. Adobe Flash Player %{pkgversion} (%{target_arch})
  47. このパッケージをインストールすると、自動的に %{pkgname}
  48. のインストールに必要な rpm ファイルをダウンロードします。
  49. また apt-get コマンドや synapticパッケージマネージャから実行
  50. した場合は、ダウンロードした rpm ファイルのインストールも自
  51. 動的に行います。
  52. %install
  53. %{__rm} -rf ${RPM_BUILD_ROOT}
  54. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
  55. %clean
  56. %{__rm} -rf ${RPM_BUILD_ROOT}
  57. %posttrans
  58. /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
  59. ## compatibility for nspluginwrapper
  60. rpm --quiet -q nspluginwrapper
  61. [ $? -eq 1 ] && exit 0
  62. [ -f /etc/sysconfig/nspluginwrapper ] || exit 1
  63. # Check the list of plugins what are excluded from wrapping
  64. grep -q -e "libflashplayer" /etc/sysconfig/nspluginwrapper
  65. # If libflashplayer.so is a wrapped plugin of nspluginwrapper, ...
  66. [ $? -eq 1 ] && \
  67. /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release
  68. /usr/bin/mozilla-plugin-config -i
  69. exit 0
  70. %files
  71. %changelog
  72. * Sat Aug 18 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.238-1
  73. - new upstream release
  74. * Mon Jun 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.236-1
  75. - new upstream release
  76. * Tue May 8 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.235-1
  77. - new upstream release
  78. * Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.233-1
  79. - new upstream release
  80. * Wed Mar 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.228-1
  81. - new upstream release
  82. * Tue Mar 06 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.63-1
  83. - new upstream release
  84. - CVE-2012-0768, CVE-2012-0769 [APSB12-05]
  85. * Thu Feb 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.62-1
  86. - new upstream release
  87. * Fri Nov 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-2
  88. - Obsoletes: install-assist-flash-plugin9
  89. - dropped Requires: compat32-nss compat32-libXt compat32-alsa-lib (x86_64)
  90. * Wed Nov 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-1
  91. - new upstream release
  92. - change %%dlurl
  93. - support the native linux 64-bit flash-plugin
  94. - drop Requires(post): nspluginwrapper
  95. - keep compatibility for nspluginwrapper (for vl5, vl6)
  96. * Tue Oct 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-4
  97. - changed to Obsoletes: flash-plugin < 11.0.1.152-release
  98. * Mon Oct 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-3
  99. - improved the installation of linux 64-bit flash-plugin for vl7 (x86_64)
  100. - dropped Requires(post): nspluginwrapper
  101. - added Obsoletes: flash-plugin <= 11.0.1.152-release
  102. - fixed %%posttrans
  103. * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-2
  104. - supportted native linux 64-bit flash-plugin (for vl7)
  105. * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-1
  106. - new upstream release
  107. * Fri Sep 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.10-1
  108. - new upstream release
  109. * Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1
  110. - new upstream release
  111. * Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1
  112. - new upstream release
  113. * Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1
  114. - new upstream release
  115. * Sat May 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.14-1
  116. - new upstream release
  117. * Fri May 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.159.1-1
  118. - new upstream release
  119. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1
  120. - new upstream release
  121. * Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27
  122. - new upstream release
  123. * Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65
  124. - new upstream release
  125. * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64
  126. - new upstream release
  127. * Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1
  128. - new upstream release
  129. * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1
  130. - new upstream release
  131. * Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1
  132. - new upstream release
  133. - added Requires: nss libXt
  134. - added Requires: compat32-libXt (for x86_64)
  135. * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1
  136. - new upstream release
  137. * Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1
  138. - new upstream release
  139. * Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2
  140. - mentioned "i386" flash-player in Summary and %%description
  141. * Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1
  142. - new upstream release
  143. * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4
  144. - setup for x86_64
  145. * Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3
  146. - add Requires: curl (<BTS:wishes:0178>)
  147. * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2
  148. - update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/)
  149. (<BTS:wishes:0178>)
  150. * Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1
  151. - initial build for Vine Linux.