[1187] | 1 | %define pkgname flash-plugin |
---|
[6735] | 2 | %define pkgversion 11.2.202.238 |
---|
[5153] | 3 | %define dlurl http://fpdownload.macromedia.com/get/flashplayer/pdc/%{pkgversion}/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} |
---|
[5153] | 16 | Release: 1%{?_dist_release} |
---|
| 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 |
---|
[5667] | 29 | ##Requires: compat32-nss |
---|
| 30 | ##Requires: compat32-libXt |
---|
| 31 | ##Requires: compat32-alsa-lib |
---|
[5153] | 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 |
---|
[4934] | 39 | |
---|
[5667] | 40 | Obsoletes: install-assist-flash-plugin9 |
---|
[1187] | 41 | |
---|
| 42 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 43 | |
---|
| 44 | Packager: kazutaka, munepi |
---|
| 45 | |
---|
| 46 | |
---|
| 47 | %description |
---|
[4870] | 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 |
---|
[4870] | 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 | |
---|
[5153] | 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 |
---|
[6735] | 94 | * Sat Aug 18 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.238-1 |
---|
| 95 | - new upstream release |
---|
| 96 | |
---|
[6318] | 97 | * Mon Jun 11 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.236-1 |
---|
| 98 | - new upstream release |
---|
| 99 | |
---|
[6164] | 100 | * Tue May 8 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.235-1 |
---|
| 101 | - new upstream release |
---|
| 102 | |
---|
[6052] | 103 | * Sun Apr 15 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.233-1 |
---|
| 104 | - new upstream release |
---|
| 105 | |
---|
| 106 | * Wed Mar 28 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.2.202.228-1 |
---|
| 107 | - new upstream release |
---|
| 108 | |
---|
[5847] | 109 | * Tue Mar 06 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.63-1 |
---|
| 110 | - new upstream release |
---|
| 111 | - CVE-2012-0768, CVE-2012-0769 [APSB12-05] |
---|
| 112 | |
---|
[5667] | 113 | * Thu Feb 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.62-1 |
---|
| 114 | - new upstream release |
---|
| 115 | |
---|
| 116 | * Fri Nov 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-2 |
---|
| 117 | - Obsoletes: install-assist-flash-plugin9 |
---|
| 118 | - dropped Requires: compat32-nss compat32-libXt compat32-alsa-lib (x86_64) |
---|
| 119 | |
---|
[5153] | 120 | * Wed Nov 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-1 |
---|
| 121 | - new upstream release |
---|
| 122 | - change %%dlurl |
---|
| 123 | - support the native linux 64-bit flash-plugin |
---|
| 124 | - drop Requires(post): nspluginwrapper |
---|
| 125 | - keep compatibility for nspluginwrapper (for vl5, vl6) |
---|
| 126 | |
---|
[4948] | 127 | * Tue Oct 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-4 |
---|
| 128 | - changed to Obsoletes: flash-plugin < 11.0.1.152-release |
---|
| 129 | |
---|
[4934] | 130 | * Mon Oct 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-3 |
---|
| 131 | - improved the installation of linux 64-bit flash-plugin for vl7 (x86_64) |
---|
| 132 | - dropped Requires(post): nspluginwrapper |
---|
| 133 | - added Obsoletes: flash-plugin <= 11.0.1.152-release |
---|
| 134 | - fixed %%posttrans |
---|
| 135 | |
---|
[4870] | 136 | * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-2 |
---|
[5153] | 137 | - supportted native linux 64-bit flash-plugin (for vl7) |
---|
[4870] | 138 | |
---|
| 139 | * Thu Oct 6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-1 |
---|
| 140 | - new upstream release |
---|
| 141 | |
---|
[4802] | 142 | * Fri Sep 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.10-1 |
---|
| 143 | - new upstream release |
---|
| 144 | |
---|
[4694] | 145 | * Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1 |
---|
| 146 | - new upstream release |
---|
| 147 | |
---|
[4623] | 148 | * Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1 |
---|
| 149 | - new upstream release |
---|
| 150 | |
---|
[4150] | 151 | * Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1 |
---|
| 152 | - new upstream release |
---|
| 153 | |
---|
[3872] | 154 | * Sat May 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.14-1 |
---|
| 155 | - new upstream release |
---|
| 156 | |
---|
| 157 | * Fri May 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.159.1-1 |
---|
| 158 | - new upstream release |
---|
| 159 | |
---|
[3087] | 160 | * Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1 |
---|
| 161 | - new upstream release |
---|
| 162 | |
---|
[2666] | 163 | * Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27 |
---|
| 164 | - new upstream release |
---|
| 165 | |
---|
[2318] | 166 | * Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65 |
---|
| 167 | - new upstream release |
---|
| 168 | |
---|
[2174] | 169 | * Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64 |
---|
| 170 | - new upstream release |
---|
| 171 | |
---|
[1882] | 172 | * Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1 |
---|
| 173 | - new upstream release |
---|
| 174 | |
---|
[1622] | 175 | * Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1 |
---|
| 176 | - new upstream release |
---|
| 177 | |
---|
[1187] | 178 | * Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1 |
---|
| 179 | - new upstream release |
---|
| 180 | - added Requires: nss libXt |
---|
| 181 | - added Requires: compat32-libXt (for x86_64) |
---|
| 182 | |
---|
| 183 | * Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1 |
---|
| 184 | - new upstream release |
---|
| 185 | |
---|
| 186 | * Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1 |
---|
| 187 | - new upstream release |
---|
| 188 | |
---|
| 189 | * Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2 |
---|
| 190 | - mentioned "i386" flash-player in Summary and %%description |
---|
| 191 | |
---|
| 192 | * Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1 |
---|
| 193 | - new upstream release |
---|
| 194 | |
---|
| 195 | * Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4 |
---|
| 196 | - setup for x86_64 |
---|
| 197 | |
---|
| 198 | * Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3 |
---|
| 199 | - add Requires: curl (<BTS:wishes:0178>) |
---|
| 200 | |
---|
| 201 | * Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2 |
---|
| 202 | - update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/) |
---|
| 203 | (<BTS:wishes:0178>) |
---|
| 204 | |
---|
| 205 | * Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1 |
---|
| 206 | - initial build for Vine Linux. |
---|