Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
flash-player.import5229
flash-player.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File flash-player.spec of Package flash-player.import5229
# # spec file for package flash-player # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: flash-player License: NON-OSI-COMPLIANT(royalties) Group: Productivity/Networking/Web/Browsers Summary: Adobe Flash PlugIn and standalone Player Url: http://get.adobe.com/de/flashplayer/ Provides: netscape-plugins Obsoletes: netscape-plugins %if %suse_version > 1110 #flash 10 does not need libflashsupport and using it can cause device conflicts #just let flash talk with the default alsa plugin - bnc#539656 Provides: libflashsupport = 1.2 Obsoletes: libflashsupport <= 1.2 Provides: libflashsupport-32bit = 1.2 Obsoletes: libflashsupport-32bit <= 1.2 %endif %if %suse_version > 1030 BuildRequires: update-desktop-files %endif %if %suse_version > 1100 BuildRequires: kde4-filesystem %endif BuildRoot: %{_tmppath}/%{name}-%{version}-build %ifarch %ix86 # flash player dynamically opens that one and segfaults if not available (2008-11-12) Requires: libcurl.so.4 libasound.so.2 %endif %ifarch x86_64 Requires: libcurl.so.4()(64bit) libasound.so.2()(64bit) %endif Version: 11.0.1.152 Release: 0.<RELEASE2> %ifarch %ix86 Source0: install_flash_player_%{version}_linux.i386.tar.bz2 # http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz Source1: flashplayer_%{version}_sa.i386.tar.bz2 %endif %ifarch x86_64 Source0: install_flash_player_%{version}_linux.x86_64.tar.bz2 # http://fpdownload.macromedia.com/pub/flashplayer/updaters/11/flashplayer_11_sa.i386.tar.gz Source1: flashplayer_%{version}_sa.x86_64.tar.bz2 %endif Source2: README Source3: flashplayer.desktop Source4: flashplayer.png Source99: update.sh NoSource: 99 Source5: LICENSE Patch1: desktop.diff Provides: flash-plugin = %version %define build_standalone 1 ExclusiveArch: %ix86 x86_64 # find all the information about flash player / test page here: # http://www.adobe.com/software/flash/about/ %description This package contains Adobe's Flash Plugin for the supported Web browsers in addition to a standalone flash player application. %prep %setup -c install_flash_player_10_linux -a 0 -b 1 %patch1 cp %{SOURCE2} . cp %{SOURCE5} . %build %install mkdir -p $RPM_BUILD_ROOT/usr/share/icons rm -rf usr/share/icons/hicolor/24x24 %if %suse_version <= 1100 rm -rf usr/share/icons/hicolor/*/apps/flash-player-properties.png %endif cp -a usr/share/icons/* $RPM_BUILD_ROOT/usr/share/icons %if %suse_version > 1100 # KDE frontend install -D -m 755 usr/lib/kde4/kcm_adobe_flash_player.so $RPM_BUILD_ROOT/usr/%_lib/kde4/kcm_adobe_flash_player.so install -D -m 644 usr/share/kde4/services/kcm_adobe_flash_player.desktop $RPM_BUILD_ROOT/usr/share/kde4/services/kcm_adobe_flash_player.desktop # GNOME frontend install -D -m 755 usr/bin/flash-player-properties $RPM_BUILD_ROOT/usr/bin/flash-player-properties install -D -m 644 usr/share/applications/flash-player-properties.desktop $RPM_BUILD_ROOT/usr/share/applications/flash-player-properties.desktop %endif %if %build_standalone %if %suse_version > 1020 install -D -m 755 flashplayer $RPM_BUILD_ROOT/usr/bin/flashplayer %endif %if %suse_version > 1030 install -D -m 644 %{SOURCE3} $RPM_BUILD_ROOT/usr/share/applications/flashplayer.desktop install -D -m 644 %{SOURCE4} $RPM_BUILD_ROOT/usr/share/pixmaps/flashplayer.png %suse_update_desktop_file flashplayer %suse_update_desktop_file flash-player-properties %endif %endif install -D -m 755 libflashplayer.so $RPM_BUILD_ROOT/usr/%_lib/browser-plugins/libflashplayer.so %if %suse_version > 1100 %package kde4 License: NON-OSI-COMPLIANT(royalties) Group: Productivity/Networking/Web/Browsers Summary: Adobe Flash PlugIn and standalone Player Supplements: packageand(kdebase4-session:flash-player) Requires: flash-player = %version %description kde4 This package contains Adobe's Flash Plugin Settings for the KDE 4 desktop. %files kde4 %defattr(-,root,root) /usr/%_lib/kde4/kcm_adobe_flash_player.so /usr/share/kde4/services/kcm_adobe_flash_player.desktop %package gnome License: NON-OSI-COMPLIANT(royalties) Group: Productivity/Networking/Web/Browsers Summary: Adobe Flash PlugIn and standalone Player Supplements: packageand(gnome-session:flash-player) Requires: flash-player = %version %description gnome This package contains Adobe's Flash Plugin Settings for the GNOME desktop. %files gnome %defattr(-,root,root) /usr/share/applications/flash-player-properties.desktop /usr/bin/flash-player-properties %endif %files %defattr(-,root,root) %doc [Rr][eE][aA][dD][Mm][eE]* LICENSE /usr/%_lib/browser-plugins/* %if %build_standalone %if %suse_version > 1020 /usr/bin/flashplayer /usr/share/icons/hicolor/*x*/apps/flash-player-properties.png %endif %if %suse_version > 1030 /usr/share/applications/flashplayer.desktop /usr/share/pixmaps/flashplayer.png %endif %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor