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