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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. %define pkgname flash-plugin
  2. %define pkgversion 11.0.1.152
  3. %define dlurl http://fpdownload.macromedia.com/get/flashplayer/current/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: 3%{?_dist_release}
  15. ## This spec Source0 is obsolete
  16. Source0: %{pkgname}.spec
  17. License: Commercial
  18. Group: Applications/Internet
  19. ExclusiveArch: %{ix86} x86_64
  20. # Requires(posttrans) not yet implemented. So we use (post) instead.
  21. Requires(post): self-build-setup >= 0.9.0
  22. # Required packages for flash-plugin 10 (<BTS:wishes:0178>)
  23. Requires: curl
  24. Requires: nss
  25. Requires: libXt
  26. %ifarch x86_64
  27. Requires: compat32-nss
  28. Requires: compat32-libXt
  29. Requires: compat32-alsa-lib
  30. #
  31. %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
  32. Requires(post): nspluginwrapper
  33. %endif
  34. %if %{?_dist_release} == "vl7"
  35. # Obsoletes: flash-plugin.32bit
  36. Obsoletes: flash-plugin <= 11.0.1.152-release
  37. %endif
  38. %endif
  39. %ifarch %{ix86}
  40. Conflicts: install-assist-flash-plugin9
  41. %endif
  42. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  43. Packager: kazutaka, munepi
  44. %description
  45. Adobe Flash Player %{pkgversion} (%{target_arch})
  46. If you install this package, it automaticaly downloads
  47. required files to install %{pkgname}.
  48. And the downloaded files are automatically installed if
  49. installation is executed by apt-get command or synaptic
  50. package manager.
  51. %description -l ja
  52. Adobe Flash Player %{pkgversion} (%{target_arch})
  53. このパッケージをインストールすると、自動的に %{pkgname}
  54. のインストールに必要な rpm ファイルをダウンロードします。
  55. また apt-get コマンドや synapticパッケージマネージャから実行
  56. した場合は、ダウンロードした rpm ファイルのインストールも自
  57. 動的に行います。
  58. %install
  59. %{__rm} -rf ${RPM_BUILD_ROOT}
  60. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
  61. #%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
  62. %clean
  63. %{__rm} -rf ${RPM_BUILD_ROOT}
  64. %posttrans
  65. /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
  66. %ifarch x86_64
  67. %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
  68. /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release
  69. /usr/bin/mozilla-plugin-config -i
  70. exit 0
  71. %endif
  72. # # FIXME: [ad-hoc] We have Obsoletes: flash-plugin.32bit. However,
  73. # # it do not remove flash-plugin.32bit.
  74. # %if %{?_dist_release} == "vl7"
  75. # if (rpm -q flash-plugin | grep -q "32bit"); then
  76. # rpm -e $(rpm -q flash-plugin | grep "32bit")
  77. # fi
  78. # %endif
  79. %endif
  80. %files
  81. %changelog
  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
  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.