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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. %define pkgname flash-plugin
  2. %define pkgversion 11.2.202.236
  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. * Mon Jun 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.236-1
  73. - new upstream release
  74. * Tue May 8 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.235-1
  75. - new upstream release
  76. * Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.233-1
  77. - new upstream release
  78. * Wed Mar 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.228-1
  79. - new upstream release
  80. * Tue Mar 06 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.63-1
  81. - new upstream release
  82. - CVE-2012-0768, CVE-2012-0769 [APSB12-05]
  83. * Thu Feb 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.62-1
  84. - new upstream release
  85. * Fri Nov 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-2
  86. - Obsoletes: install-assist-flash-plugin9
  87. - dropped Requires: compat32-nss compat32-libXt compat32-alsa-lib (x86_64)
  88. * Wed Nov 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-1
  89. - new upstream release
  90. - change %%dlurl
  91. - support the native linux 64-bit flash-plugin
  92. - drop Requires(post): nspluginwrapper
  93. - keep compatibility for nspluginwrapper (for vl5, vl6)
  94. * Tue Oct 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-4
  95. - changed to Obsoletes: flash-plugin < 11.0.1.152-release
  96. * Mon Oct 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-3
  97. - improved the installation of linux 64-bit flash-plugin for vl7 (x86_64)
  98. - dropped Requires(post): nspluginwrapper
  99. - added Obsoletes: flash-plugin <= 11.0.1.152-release
  100. - fixed %%posttrans
  101. * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-2
  102. - supportted native linux 64-bit flash-plugin (for vl7)
  103. * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-1
  104. - new upstream release
  105. * Fri Sep 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.10-1
  106. - new upstream release
  107. * Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1
  108. - new upstream release
  109. * Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1
  110. - new upstream release
  111. * Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1
  112. - new upstream release
  113. * Sat May 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.14-1
  114. - new upstream release
  115. * Fri May 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.159.1-1
  116. - new upstream release
  117. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1
  118. - new upstream release
  119. * Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27
  120. - new upstream release
  121. * Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65
  122. - new upstream release
  123. * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64
  124. - new upstream release
  125. * Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1
  126. - new upstream release
  127. * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1
  128. - new upstream release
  129. * Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1
  130. - new upstream release
  131. - added Requires: nss libXt
  132. - added Requires: compat32-libXt (for x86_64)
  133. * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1
  134. - new upstream release
  135. * Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1
  136. - new upstream release
  137. * Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2
  138. - mentioned "i386" flash-player in Summary and %%description
  139. * Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1
  140. - new upstream release
  141. * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4
  142. - setup for x86_64
  143. * Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3
  144. - add Requires: curl (<BTS:wishes:0178>)
  145. * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2
  146. - update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/)
  147. (<BTS:wishes:0178>)
  148. * Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1
  149. - initial build for Vine Linux.