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

Revision 6164, 6.5 KB checked in by munepi, 12 years ago (diff)

updated install-assist-flash-plugin

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