# Prevent stripping %define __spec_install_post /usr/lib/rpm/brp-compress # Turn off debuginfo package %define debug_package %{nil} Summary: Adobe Flash Player 9.0 Name: flash-plugin Version: 9.0.48.0 Release: a License: Commercial ExclusiveArch: i386 Group: Applications/Internet Source0: flash-player-plugin-9.0.48.0.tar.bz2 Source1: homecleanup Source3: LICENSE Source4: setup Source5: README URL: http://www.adobe.com/downloads/ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root Requires: adobe-release %description Adobe Flash Plugin %{version} %prep %setup -q -n flash-player-plugin-%{version} %build echo "Nothing to build..." %install rm -rf $RPM_BUILD_ROOT mkdir -p $RPM_BUILD_ROOT%{_libdir}/flash-plugin chmod 755 $RPM_BUILD_ROOT%{_libdir}/flash-plugin find $RPM_BUILD_ROOT -type d | xargs chmod 755 install -pm 755 libflashplayer.so $RPM_BUILD_ROOT%{_libdir}/flash-plugin install -pm 744 %SOURCE1 $RPM_BUILD_ROOT%{_libdir}/flash-plugin/homecleanup install -pm 644 %SOURCE3 $RPM_BUILD_ROOT%{_libdir}/flash-plugin install -pm 744 %SOURCE4 $RPM_BUILD_ROOT%{_libdir}/flash-plugin/setup install -pm 744 %SOURCE5 $RPM_BUILD_ROOT%{_libdir}/flash-plugin/README %clean rm -rf $RPM_BUILD_ROOT # Upon initial install it may configure all browsers multiple times. # There is no way of avoiding this because the script must retain the # ability to configure non-RPM installed browsers. %triggerin -- firefox, mozilla, opera, seamonkey /usr/lib/flash-plugin/setup upgrade %post if [ "$1" = "1" ]; then %{_libdir}/flash-plugin/setup install fi if [ "$1" = "2" ]; then %{_libdir}/flash-plugin/setup upgrade fi %preun if [ "$1" = "0" ]; then %{_libdir}/flash-plugin/setup preun fi %files %defattr(-,root,root,-) %{_libdir}/flash-plugin/* %dir %{_libdir}/flash-plugin %changelog * Wed Jul 11 2007 Warren Togami 9.0.48.0-0 - 9.0.48.0 CVE-2007-3456 - require adobe-release to begin migration toward Adobe's Yum repo macromedia.mplug.org is shutting down * Mon Jan 15 2007 Warren Togami 9.0.31.0-1 - 9.0.31.0 * Tue Dec 12 2006 Warren Togami 9.0.21.55-4 - more spec and script cleanups - update LICENSE * Wed Nov 11 2006 Warren Togami 9.0.21.55-3 - Flash Player 9 beta - Massive cleanup: no longer requires click-thru EULA no longer requires XPCOM integration other script and spec simplifications * Mon Sep 11 2006 Warren Togami 7.0.68-1 - CVE-2006-3311 CVE-2006-3587 CVE-2006-3588 * Wed Mar 15 2006 Warren Togami 7.0.63-1 - CVE-2006-0024 * Tue Nov 08 2005 Warren Togami 7.0.61-1 - #172731 7.0.61 CVE-2005-2628 - #163713 Fix setup script so it no longer errors on Firefox 1.5+ * Sat Nov 06 2004 Warren Togami 7.0.25-2 - add triggers for mozilla, firefox, opera - RPM scriptlets: only output messages for errors * Thu May 27 2004 Warren Togami 7.0.25-1 - update to 7.0.25 - scan for versioned firefox dirs * Sun Mar 14 2004 Warren Togami 6.0.81-1 - update to 6.0.81 (Security) - no longer requires libstdc++ Should solve XPCOM integration javascript problems with gcc-3.x compiled Mozilla - i386 binary only - really fix dir ownership - support firefox - gtk2 click-thru * Fri Nov 21 2003 Warren Togami 6.0.79-2 - Cleanup ugly hacks in spec and modernize to most fedora.us standards. - Drop Phoenix support, add MozillaFirebird and mozilla-firebird - Generate xpti.dat for all browsers in a generic way This should fix javascript integration. * Thu Mar 06 2003 Warren Togami 6.0.79-1 - Important security update - http://www.macromedia.com/devnet/security/security_zone/mpsb03-03.html * Thu Dec 12 2002 Warren Togami 6.0.69-6 - sync with final tarball (same binary though) * Wed Dec 11 2002 Warren Togami 6.0.69-5 - add setup complete message * Sun Dec 07 2002 Warren Togami 6.0.69-4 - fix minor suse uninstall glitch * Sat Dec 06 2002 Warren Togami 6.0.69-3 - patch to show-license.c, thanks to Bill Tompkins - textmode EULA interface * Sat Dec 06 2002 Warren Togami 6.0.69-2 - beta of "Lawyer Appeasement Edition" - show-license.c, thanks to Daniel Elstner - scripts separated from .spec into "setup" * Wed Dec 04 2002 Warren Togami 6.0.69-1 - cosmetic fix to RH special case - update to 6.0.69 (final release candidate)