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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130
  1. %define pkgname flash-plugin
  2. %define pkgversion 10.3.181.14
  3. %define dlurl http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-%{pkgversion}-release.i386.rpm
  4. Summary: Package to assist installation of Adobe Flash Player (i386)
  5. Summary(ja): Adobe Flash Player (i386) のインストールを補助するパッケージ
  6. Name: install-assist-%{pkgname}
  7. Version: %{pkgversion}
  8. Release: 1%{?_dist_release}
  9. ## This spec Source0 is obsolete
  10. Source0: %{pkgname}.spec
  11. License: Commercial
  12. Group: Applications/Internet
  13. ExclusiveArch: %{ix86} x86_64
  14. # Requires(posttrans) not yet implemented. So we use (post) instead.
  15. Requires(post): self-build-setup >= 0.9.0
  16. # Required packages for flash-plugin 10 (<BTS:wishes:0178>)
  17. Requires: curl
  18. Requires: nss
  19. Requires: libXt
  20. %ifarch x86_64
  21. Requires: compat32-nss
  22. Requires: compat32-libXt
  23. Requires: compat32-alsa-lib
  24. Requires(post): nspluginwrapper
  25. %endif
  26. %ifarch %{ix86}
  27. Conflicts: install-assist-flash-plugin9
  28. %endif
  29. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  30. Packager: kazutaka, munepi
  31. %description
  32. Adobe Flash Player %{pkgversion} (i386)
  33. If you install this package, it automaticaly downloads
  34. required files to install %{pkgname}.
  35. And the downloaded files are automatically installed if
  36. installation is executed by apt-get command or synaptic
  37. package manager.
  38. %description -l ja
  39. Adobe Flash Player %{pkgversion} (i386)
  40. このパッケージをインストールすると、自動的に %{pkgname}
  41. のインストールに必要な rpm ファイルをダウンロードします。
  42. また apt-get コマンドや synapticパッケージマネージャから実行
  43. した場合は、ダウンロードした rpm ファイルのインストールも自
  44. 動的に行います。
  45. %install
  46. %{__rm} -rf ${RPM_BUILD_ROOT}
  47. %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
  48. #%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
  49. %clean
  50. %{__rm} -rf ${RPM_BUILD_ROOT}
  51. %posttrans
  52. /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
  53. %ifarch x86_64
  54. /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release
  55. /usr/bin/mozilla-plugin-config -i
  56. exit 0
  57. %endif
  58. %files
  59. %changelog
  60. * Sat May 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.14-1
  61. - new upstream release
  62. * Fri May 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.159.1-1
  63. - new upstream release
  64. * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1
  65. - new upstream release
  66. * Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27
  67. - new upstream release
  68. * Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65
  69. - new upstream release
  70. * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64
  71. - new upstream release
  72. * Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1
  73. - new upstream release
  74. * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1
  75. - new upstream release
  76. * Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1
  77. - new upstream release
  78. - added Requires: nss libXt
  79. - added Requires: compat32-libXt (for x86_64)
  80. * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1
  81. - new upstream release
  82. * Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1
  83. - new upstream release
  84. * Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2
  85. - mentioned "i386" flash-player in Summary and %%description
  86. * Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1
  87. - new upstream release
  88. * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4
  89. - setup for x86_64
  90. * Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3
  91. - add Requires: curl (<BTS:wishes:0178>)
  92. * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2
  93. - update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/)
  94. (<BTS:wishes:0178>)
  95. * Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1
  96. - initial build for Vine Linux.