[1187] | 1 | %define pkgname flash-plugin |
---|
[4870] | 2 | %define pkgversion 11.0.1.152 |
---|
| 3 | %define dlurl http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-%{pkgversion}-release.%{target_arch}.rpm |
---|
[1187] | 4 | |
---|
[4870] | 5 | %ifarch %{ix86} |
---|
| 6 | %define target_arch i386 |
---|
| 7 | %endif |
---|
| 8 | %ifarch x86_64 |
---|
| 9 | %define target_arch x86_64 |
---|
| 10 | %endif |
---|
| 11 | |
---|
| 12 | Summary: Package to assist installation of Adobe Flash Player (%{target_arch}) |
---|
| 13 | Summary(ja): Adobe Flash Player (%{target_arch}) のインストールを補助するパッケージ |
---|
[1187] | 14 | Name: install-assist-%{pkgname} |
---|
| 15 | Version: %{pkgversion} |
---|
[4948] | 16 | Release: 4%{?_dist_release} |
---|
[1187] | 17 | ## This spec Source0 is obsolete |
---|
| 18 | Source0: %{pkgname}.spec |
---|
| 19 | License: Commercial |
---|
| 20 | Group: Applications/Internet |
---|
| 21 | |
---|
| 22 | ExclusiveArch: %{ix86} x86_64 |
---|
| 23 | # Requires(posttrans) not yet implemented. So we use (post) instead. |
---|
| 24 | Requires(post): self-build-setup >= 0.9.0 |
---|
| 25 | # Required packages for flash-plugin 10 (<BTS:wishes:0178>) |
---|
| 26 | Requires: curl |
---|
| 27 | Requires: nss |
---|
| 28 | Requires: libXt |
---|
| 29 | %ifarch x86_64 |
---|
| 30 | Requires: compat32-nss |
---|
| 31 | Requires: compat32-libXt |
---|
| 32 | Requires: compat32-alsa-lib |
---|
[4934] | 33 | # |
---|
| 34 | %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6" |
---|
[1187] | 35 | Requires(post): nspluginwrapper |
---|
| 36 | %endif |
---|
[4934] | 37 | %if %{?_dist_release} == "vl7" |
---|
| 38 | # Obsoletes: flash-plugin.32bit |
---|
[4948] | 39 | Obsoletes: flash-plugin < 11.0.1.152-release |
---|
[4934] | 40 | %endif |
---|
| 41 | %endif |
---|
| 42 | |
---|
[1187] | 43 | %ifarch %{ix86} |
---|
| 44 | Conflicts: install-assist-flash-plugin9 |
---|
| 45 | %endif |
---|
| 46 | |
---|
| 47 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 48 | |
---|
| 49 | Packager: kazutaka, munepi |
---|
| 50 | |
---|
| 51 | |
---|
| 52 | %description |
---|
[4870] | 53 | Adobe Flash Player %{pkgversion} (%{target_arch}) |
---|
[1187] | 54 | |
---|
| 55 | If you install this package, it automaticaly downloads |
---|
| 56 | required files to install %{pkgname}. |
---|
| 57 | And the downloaded files are automatically installed if |
---|
| 58 | installation is executed by apt-get command or synaptic |
---|
| 59 | package manager. |
---|
| 60 | |
---|
| 61 | %description -l ja |
---|
[4870] | 62 | Adobe Flash Player %{pkgversion} (%{target_arch}) |
---|
[1187] | 63 | |
---|
| 64 | このパッケージをインストールすると、自動的に %{pkgname} |
---|
| 65 | のインストールに必要な rpm ファイルをダウンロードします。 |
---|
| 66 | また apt-get コマンドや synapticパッケージマネージャから実行 |
---|
| 67 | した場合は、ダウンロードした rpm ファイルのインストールも自 |
---|
| 68 | 動的に行います。 |
---|
| 69 | |
---|
| 70 | |
---|
| 71 | %install |
---|
| 72 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 73 | %{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 74 | #%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name} |
---|
| 75 | |
---|
| 76 | %clean |
---|
| 77 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
| 78 | |
---|
| 79 | %posttrans |
---|
| 80 | /usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl} |
---|
| 81 | |
---|
| 82 | %ifarch x86_64 |
---|
[4934] | 83 | %if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6" |
---|
[1187] | 84 | /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release |
---|
| 85 | /usr/bin/mozilla-plugin-config -i |
---|
| 86 | exit 0 |
---|
| 87 | %endif |
---|
| 88 | |
---|
[4934] | 89 | # # FIXME: [ad-hoc] We have Obsoletes: flash-plugin.32bit. However, |
---|
| 90 | # # it do not remove flash-plugin.32bit. |
---|
| 91 | # %if %{?_dist_release} == "vl7" |
---|
| 92 | # if (rpm -q flash-plugin | grep -q "32bit"); then |
---|
| 93 | # rpm -e $(rpm -q flash-plugin | grep "32bit") |
---|
| 94 | # fi |
---|
| 95 | # %endif |
---|
| 96 | %endif |
---|
[1187] | 97 | |
---|
[4934] | 98 | |
---|
[1187] | 99 | %files |
---|
| 100 | |
---|
| 101 | |
---|
| 102 | %changelog |
---|
[4948] | 103 | * Tue Oct 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-4 |
---|
| 104 | - changed to Obsoletes: flash-plugin < 11.0.1.152-release |
---|
| 105 | |
---|
[4934] | 106 | * Mon Oct 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-3 |
---|
| 107 | - improved the installation of linux 64-bit flash-plugin for vl7 (x86_64) |
---|
| 108 | - dropped Requires(post): nspluginwrapper |
---|
| 109 | - added Obsoletes: flash-plugin <= 11.0.1.152-release |
---|
| 110 | - fixed %%posttrans |
---|
| 111 | |
---|
[4870] | 112 | * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-2 |
---|
| 113 | - supportted native linux 64-bit flash-plugin |
---|
| 114 | |
---|
| 115 | * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-1 |
---|
| 116 | - new upstream release |
---|
| 117 | |
---|
[4802] | 118 | * Fri Sep 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.10-1 |
---|
| 119 | - new upstream release |
---|
| 120 | |
---|
[4694] | 121 | * Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1 |
---|
| 122 | - new upstream release |
---|
| 123 | |
---|
[4623] | 124 | * Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1 |
---|
| 125 | - new upstream release |
---|
| 126 | |
---|
[4150] | 127 | * Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1 |
---|
| 128 | - new upstream release |
---|
| 129 | |
---|
[3872] | 130 | * Sat May 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.14-1 |
---|
| 131 | - new upstream release |
---|
| 132 | |
---|
| 133 | * Fri May 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.159.1-1 |
---|
| 134 | - new upstream release |
---|
| 135 | |
---|
[3087] | 136 | * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1 |
---|
| 137 | - new upstream release |
---|
| 138 | |
---|
[2666] | 139 | * Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[2318] | 142 | * Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[2174] | 145 | * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
[1882] | 148 | * Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[1622] | 151 | * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[1187] | 154 | * Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1 |
---|
| 155 | - new upstream release |
---|
| 156 | - added Requires: nss libXt |
---|
| 157 | - added Requires: compat32-libXt (for x86_64) |
---|
| 158 | |
---|
| 159 | * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1 |
---|
| 160 | - new upstream release |
---|
| 161 | |
---|
| 162 | * Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1 |
---|
| 163 | - new upstream release |
---|
| 164 | |
---|
| 165 | * Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2 |
---|
| 166 | - mentioned "i386" flash-player in Summary and %%description |
---|
| 167 | |
---|
| 168 | * Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1 |
---|
| 169 | - new upstream release |
---|
| 170 | |
---|
| 171 | * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4 |
---|
| 172 | - setup for x86_64 |
---|
| 173 | |
---|
| 174 | * Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3 |
---|
| 175 | - add Requires: curl (<BTS:wishes:0178>) |
---|
| 176 | |
---|
| 177 | * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2 |
---|
| 178 | - update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/) |
---|
| 179 | (<BTS:wishes:0178>) |
---|
| 180 | |
---|
| 181 | * Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1 |
---|
| 182 | - initial build for Vine Linux. |
---|