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

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