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

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