flash-plugin/flash-plugin.spec

Name: flash-plugin
Summary: Macromedia Flash Player
Version: 11.2.202.238
Release: 0.2
License: Commercial
Group: Applications/Internet
URL: http://www.macromedia.com/downloads/
Description: Macromedia Flash Player

By downloading and installing this package you agree to the included LICENSE.

CentOS 7 x86_64

The build could not start because the following file is missing: install_flash_player_11_linux.x86_64.tar.gz

Build Status

CentOS 6 x86_64

The build could not start because the following file is missing: install_flash_player_11_linux.x86_64.tar.gz

Build Status

Contents

The spec file used by the build system currently has the following contents:

# $Id$
# Authority: dag

# ExcludeDist: el2 rh7 rh9 el3 el4

### Disable stripping
%define __spec_install_post /usr/lib/rpm/brp-compress

%{?el5:%define _without_kde 1}

%define real_name libflashplayer

Summary: Macromedia Flash Player
Name: flash-plugin
Version: 11.2.202.238
Release: 0.2%{?dist}
License: Commercial
Group: Applications/Internet
URL: http://www.macromedia.com/downloads/

### More information wrt. downloads: http://kb2.adobe.com/cps/142/tn_14266.html
Source0: http://fpdownload.macromedia.com/get/flashplayer/pdc/%{version}/install_flash_player_11_linux.i386.tar.gz
Source1: http://fpdownload.macromedia.com/get/flashplayer/pdc/%{version}/install_flash_player_11_linux.x86_64.tar.gz
Source2: LICENSE
Source3: README
Source4: homecleanup
Source5: setup64
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root

Obsoletes: mozilla-flash <= %{version}-%{release}
#Requires: %{_libdir}/mozilla/plugins/

%filter_requires_in %{_libdir}/kde4/kcm_adobe_flash_player\.so$
%filter_setup

%description
Macromedia Flash Player

By downloading and installing this package you agree to the included LICENSE.

%prep
%ifarch %{ix86}
%setup -cT -a0
%endif
%ifarch x86_64
%setup -cT -a1
%endif
%{__install} -Dp -m0644 %{SOURCE2} LICENSE
%{__install} -Dp -m0644 %{SOURCE3} README

%build

%install
%{__rm} -rf %{buildroot}
%{__install} -Dp -m0755 libflashplayer.so %{buildroot}%{_libdir}/flash-plugin/libflashplayer.so
%{__install} -Dp -m0644 %{SOURCE2} %{buildroot}%{_libdir}/flash-plugin/LICENSE
%{__install} -Dp -m0644 %{SOURCE3} %{buildroot}%{_libdir}/flash-plugin/README
%{__install} -Dp -m0755 %{SOURCE4} %{buildroot}%{_libdir}/flash-plugin/homecleanup
%{__install} -Dp -m0755 %{SOURCE5} %{buildroot}%{_libdir}/flash-plugin/setup
%{__install} -Dp -m0755 usr/bin/flash-player-properties %{buildroot}%{_bindir}/flash-player-properties
%{__cp} -auvx usr/share/. %{buildroot}%{_datadir}
%{__cp} -auvx usr/%{_lib}/. %{buildroot}%{_libdir}

%post
if [ $1 -eq 1 ]; then
    %{_libdir}/flash-plugin/setup install
elif [ $1 -eq 2 ]; then
    %{_libdir}/flash-plugin/setup upgrade
fi

%preun
if [ $1 -eq 0 ]; then
    %{_libdir}/flash-plugin/setup preun
fi

%clean
%{__rm} -rf %{buildroot}

%files
%defattr(-, root, root, 0755)
%doc LICENSE README
%{_bindir}/flash-player-properties
%{_datadir}/pixmaps/flash-player-properties.png
%{_datadir}/applications/flash-player-properties.desktop
%{_datadir}/icons/hicolor/*/apps/flash-player-properties.png
%{_libdir}/flash-plugin/

%if %{?_without_kde:1}0
%exclude %{_datadir}/kde4/services/kcm_adobe_flash_player.desktop
%exclude %{_libdir}/kde4/kcm_adobe_flash_player.so
%else
%{_datadir}/kde4/services/kcm_adobe_flash_player.desktop
%{_libdir}/kde4/kcm_adobe_flash_player.so
%endif

%changelog
* Sun Sep 23 2012 Dag Wieers <dag@wieers.com> - 11.2.202.238-0.1
- Updated to release 11.2.202.238

* Sun Jun 10 2012 Dag Wieers <dag@wieers.com> - 11.2.202.236-0.1
- Updated to release 11.2.202.236.

* Thu Mar 15 2012 Dag Wieers <dag@wieers.com> - 11.1.102.63-0.1
- Updated to release 11.1.102.63.

* Sat Feb 18 2012 Dag Wieers <dag@wieers.com> - 11.1.102.62-0.1
- Updated to release 11.1.102.62.

* Wed Dec 14 2011 Dag Wieers <dag@wieers.com> - 11.0.2.55-0.1
- Updated to release 11.0.2.55.

* Fri Oct 07 2011 Dag Wieers <dag@wieers.com> - 11.0.1.152-0.1
- Updated to release 11.0.1.152.

* Thu Sep 22 2011 Dag Wieers <dag@wieers.com> - 11.0.1.129-0.1
- Updated to release 11.0.1.129.

* Thu Aug 11 2011 Dag Wieers <dag@wieers.com> - 11.0.1.98-0.1
- Updated to release 11.0.1.98.

* Mon Jul 18 2011 Dag Wieers <dag@wieers.com> - 11.0.1.60-0.2
- Disable KDE integration for RHEL5.

* Mon Jul 18 2011 Dag Wieers <dag@wieers.com> - 11.0.1.60-0.1
- Updated to release 11.0.1.60.

* Fri Dec 03 2010 Dag Wieers <dag@wieers.com> - 10.3.162.29-0.1
- Updated to release 10.3.162.29.

* Tue Nov 09 2010 Dag Wieers <dag@wieers.com> - 10.2.161.23-0.1
- Updated to release 10.2.161.23.

* Thu Sep 16 2010 Dag Wieers <dag@wieers.com> - 10.2.161.22-0.1
- Updated to release 10.2.161.22.

* Sun Jun 13 2010 Dag Wieers <dag@wieers.com> - 10.0.45.2-0.1
- Updated to release 10.0.45.2.

* Sat Aug 01 2009 Dag Wieers <dag@wieers.com> - 10.0.32.18-0.1
- Updated to release 10.0.32.18.

* Thu Apr 16 2009 Dag Wieers <dag@wieers.com> - 10.0.22.87-1
- Updated to release 10.0.22.87.

* Fri Dec 19 2008 Dag Wieers <dag@wieers.com> - 10.0.d21.1-1
- Initial test-release for x86_64.

* Thu Dec 18 2008 Dag Wieers <dag@wieers.com> - 10.0.15.3-1
- Updated to release 10.0.15.3.

* Mon Nov 03 2008 Dag Wieers <dag@wieers.com> - 10.0.12.36-2
- Include setup and homecleanup like upstream.

* Tue Oct 28 2008 Dag Wieers <dag@wieers.com> - 10.0.12.36-1
- Updated to release 10.0.12.36.

* Wed Apr 23 2008 Dag Wieers <dag@wieers.com> - 9.0.124.0-1
- Updated to release 9.0.124.0.

* Wed Dec 05 2007 Dag Wieers <dag@wieers.com> - 9.0.115.0-1
- Updated to release 9.0.115.0.

* Thu Jul 19 2007 Dag Wieers <dag@wieers.com> - 9.0.48.0-1
- Updated to release 9.0.48.0.

* Wed Jan 17 2007 Dag Wieers <dag@wieers.com> - 9.0.31.0-1
- Updated to release 9.0.31.0.

* Wed Jan 10 2007 Dag Wieers <dag@wieers.com> - 7.0.69-1
- Updated to release 7.0.69.

* Tue Sep 12 2006 Dag Wieers <dag@wieers.com> - 7.0.68-1
- Updated to release 7.0.68.
- Renamed package from mozilla-flash to flash-plugin.

* Wed Mar 15 2006 Dag Wieers <dag@wieers.com> - 7.0.63-1
- Updated to release 7.0.63.

* Sat Nov 26 2005 Dag Wieers <dag@wieers.com> - 7.0.61-1
- Updated to release 7.0.61.

* Sun Jun 27 2004 Dag Wieers <dag@wieers.com> - 7.0.25-1
- Initial package. (using DAR)