source: projects/specs/trunk/nonfree/install-assist-flash-plugin/install-assist-flash-plugin-vl.spec @ 5847

Revision 5847, 6.2 KB checked in by munepi, 12 years ago (diff)

updated install-assist-flash-plugin

Line 
1%define pkgname flash-plugin
2%define pkgversion      11.1.102.63
3%define dlurl   http://fpdownload.macromedia.com/get/flashplayer/pdc/%{pkgversion}/flash-plugin-%{pkgversion}-release.%{target_arch}.rpm
4
5%ifarch %{ix86}
6%define target_arch i386
7%endif
8%ifarch x86_64
9%define target_arch x86_64
10%endif
11
12Summary:        Package to assist installation of Adobe Flash Player (%{target_arch})
13Summary(ja):    Adobe Flash Player (%{target_arch}) のインストールを補助するパッケージ
14Name:           install-assist-%{pkgname}
15Version:        %{pkgversion}
16Release:        1%{?_dist_release}
17
18License:        Commercial
19Group:          Applications/Internet
20
21ExclusiveArch:  %{ix86} x86_64
22# Requires(posttrans) not yet implemented. So we use (post) instead.
23Requires(post): self-build-setup >= 0.9.0
24# Required packages for flash-plugin 10 (<BTS:wishes:0178>)
25Requires:       curl
26Requires:       nss
27Requires:       libXt
28%ifarch x86_64
29##Requires:     compat32-nss
30##Requires:     compat32-libXt
31##Requires:     compat32-alsa-lib
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
37Obsoletes:      flash-plugin < 11.1.102.55-release
38%endif
39
40Obsoletes:      install-assist-flash-plugin9
41
42BuildRoot:      %{_tmppath}/%{name}-%{version}-root
43
44Packager:       kazutaka, munepi
45
46
47%description
48Adobe Flash Player %{pkgversion} (%{target_arch})
49
50If you install this package, it automaticaly downloads
51required files to install %{pkgname}.
52And the downloaded files are automatically installed if
53installation is executed by apt-get command or synaptic
54package manager.
55
56%description -l ja
57Adobe Flash Player %{pkgversion} (%{target_arch})
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
76
77## compatibility for nspluginwrapper
78rpm --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
82grep -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
86/usr/bin/mozilla-plugin-config -i
87exit 0
88
89
90%files
91
92
93%changelog
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
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
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
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
130* Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1
131- new upstream release
132
133* Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1
134- new upstream release
135
136* Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1
137- new upstream release
138
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
145* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1
146- new upstream release
147
148* Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27
149- new upstream release
150
151* Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65
152- new upstream release
153
154* Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64
155- new upstream release
156
157* Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1
158- new upstream release
159
160* Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1
161- new upstream release
162
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.
Note: See TracBrowser for help on using the repository browser.