|
@@ -0,0 +1,106 @@
|
|
|
+%define pkgname flash-plugin
|
|
|
+%define pkgversion 10.1.53.64
|
|
|
+%define dlurl http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-%{pkgversion}-release.i386.rpm
|
|
|
+
|
|
|
+Summary: Package to assist installation of Adobe Flash Player
|
|
|
+Summary(ja): Adobe Flash Player (i386) のインストールを補助するパッケージ
|
|
|
+Name: install-assist-%{pkgname}
|
|
|
+Version: %{pkgversion}
|
|
|
+Release: 1%{?_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 (<BTS:wishes:0178>)
|
|
|
+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} (i386)
|
|
|
+
|
|
|
+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} (i386)
|
|
|
+
|
|
|
+このパッケージをインストールすると、自動的に %{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
|
|
|
+* Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 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 <munepi@vinelinux.org> 10.0.45.2-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
+* Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
+* Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2
|
|
|
+- mentioned "i386" flash-player in Summary and %%description
|
|
|
+
|
|
|
+* Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1
|
|
|
+- new upstream release
|
|
|
+
|
|
|
+* Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4
|
|
|
+- setup for x86_64
|
|
|
+
|
|
|
+* Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3
|
|
|
+- add Requires: curl (<BTS:wishes:0178>)
|
|
|
+
|
|
|
+* Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2
|
|
|
+- update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/)
|
|
|
+ (<BTS:wishes:0178>)
|
|
|
+
|
|
|
+* Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1
|
|
|
+- initial build for Vine Linux.
|