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

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