%define pkgname flash-plugin %define pkgversion 11.0.1.152 %define dlurl http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-%{pkgversion}-release.%{target_arch}.rpm %ifarch %{ix86} %define target_arch i386 %endif %ifarch x86_64 %define target_arch x86_64 %endif Summary: Package to assist installation of Adobe Flash Player (%{target_arch}) Summary(ja): Adobe Flash Player (%{target_arch}) のインストールを補助するパッケージ Name: install-assist-%{pkgname} Version: %{pkgversion} Release: 2%{?_dist_release} ## This spec Source0 is obsolete Source0: %{pkgname}.spec License: Commercial Group: Applications/Internet ExclusiveArch: %{ix86} x86_64 # Requires(posttrans) not yet implemented. So we use (post) instead. Requires(post): self-build-setup >= 0.9.0 # Required packages for flash-plugin 10 () Requires: curl Requires: nss Requires: libXt %ifarch x86_64 Requires: compat32-nss Requires: compat32-libXt Requires: compat32-alsa-lib Requires(post): nspluginwrapper %endif %ifarch %{ix86} Conflicts: install-assist-flash-plugin9 %endif BuildRoot: %{_tmppath}/%{name}-%{version}-root Packager: kazutaka, munepi %description Adobe Flash Player %{pkgversion} (%{target_arch}) If you install this package, it automaticaly downloads required files to install %{pkgname}. And the downloaded files are automatically installed if installation is executed by apt-get command or synaptic package manager. %description -l ja Adobe Flash Player %{pkgversion} (%{target_arch}) このパッケージをインストールすると、自動的に %{pkgname} のインストールに必要な rpm ファイルをダウンロードします。 また apt-get コマンドや synapticパッケージマネージャから実行 した場合は、ダウンロードした rpm ファイルのインストールも自 動的に行います。 %install %{__rm} -rf ${RPM_BUILD_ROOT} %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name} #%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name} %clean %{__rm} -rf ${RPM_BUILD_ROOT} %posttrans /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl} %ifarch x86_64 /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release /usr/bin/mozilla-plugin-config -i exit 0 %endif %files %changelog * Thu Oct 6 2011 Munehiro Yamamoto 11.0.1.152-2 - supportted native linux 64-bit flash-plugin * Thu Oct 6 2011 Munehiro Yamamoto 11.0.1.152-1 - new upstream release * Fri Sep 23 2011 Munehiro Yamamoto 10.3.183.10-1 - new upstream release * Fri Sep 02 2011 Munehiro Yamamoto 10.3.183.7-1 - new upstream release * Sat Aug 20 2011 Munehiro Yamamoto 10.3.183.5-1 - new upstream release * Thu Jun 16 2011 Munehiro Yamamoto 10.3.181.26-1 - new upstream release * Sat May 14 2011 Munehiro Yamamoto 10.3.181.14-1 - new upstream release * Fri May 06 2011 Munehiro Yamamoto 10.2.159.1-1 - new upstream release * Wed Mar 23 2011 Munehiro Yamamoto 10.2.153.1-1 - new upstream release * Thu Feb 10 2011 Munehiro Yamamoto 10.2.152.27 - new upstream release * Wed Dec 08 2010 Munehiro Yamamoto 10.1.102.65 - new upstream release * Sat Nov 06 2010 Munehiro Yamamoto 10.1.102.64 - new upstream release * Thu Sep 23 2010 Munehiro Yamamoto 10.1.85.3-1 - new upstream release * Fri Aug 20 2010 Munehiro Yamamoto 10.1.82.76-1 - new upstream release * Fri Jun 11 2010 Munehiro Yamamoto 10.1.53.64-1 - new upstream release - added Requires: nss libXt - added Requires: compat32-libXt (for x86_64) * Sat Feb 13 2010 Munehiro Yamamoto 10.0.45.2-1 - new upstream release * Wed Dec 09 2009 Munehiro Yamamoto 10.0.42.34-1 - new upstream release * Wed Aug 12 2009 Munehiro Yamamoto 10.0.32.18-2 - mentioned "i386" flash-player in Summary and %%description * Fri Jul 31 2009 Munehiro Yamamoto 10.0.32.18-1 - new upstream release * Sat Jul 11 2009 Munehiro Yamamoto 10.0.22.87-4 - setup for x86_64 * Fri Jun 05 2009 Kazutaka HARADA 10.0.22.87-3 - add Requires: curl () * Thu Jun 04 2009 Kazutaka HARADA 10.0.22.87-2 - update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/) () * Sun May 24 2009 Kazutaka HARADA 10.0.22.87-1 - initial build for Vine Linux.