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

Revision 5153, 5.8 KB checked in by munepi, 13 years ago (diff)

updated install-assist-flash-plugin-vl.spec: new upstream release; support the native linux 64-bit flash-plugin; drop Requires(post): nspluginwrapper; keep compatibility for nspluginwrapper (for vl5, vl6)

Line 
1%define pkgname flash-plugin
2%define pkgversion      11.1.102.55
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
29Requires:       compat32-nss
30Requires:       compat32-libXt
31Requires:       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
40%ifarch %{ix86}
41Conflicts:      install-assist-flash-plugin9
42%endif
43
44BuildRoot:      %{_tmppath}/%{name}-%{version}-root
45
46Packager:       kazutaka, munepi
47
48
49%description
50Adobe Flash Player %{pkgversion} (%{target_arch})
51
52If you install this package, it automaticaly downloads
53required files to install %{pkgname}.
54And the downloaded files are automatically installed if
55installation is executed by apt-get command or synaptic
56package manager.
57
58%description -l ja
59Adobe Flash Player %{pkgversion} (%{target_arch})
60
61このパッケージをインストールすると、自動的に %{pkgname}
62のインストールに必要な rpm ファイルをダウンロードします。
63また apt-get コマンドや synapticパッケージマネージャから実行
64した場合は、ダウンロードした rpm ファイルのインストールも自
65動的に行います。
66
67
68%install
69%{__rm} -rf ${RPM_BUILD_ROOT}
70%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
71
72%clean
73%{__rm} -rf ${RPM_BUILD_ROOT}
74
75%posttrans
76/usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
77
78
79## compatibility for nspluginwrapper
80rpm --quiet -q nspluginwrapper
81[ $? -eq 1 ] && exit 0
82[ -f /etc/sysconfig/nspluginwrapper ] || exit 1
83# Check the list of plugins what are excluded from wrapping
84grep -q -e "libflashplayer" /etc/sysconfig/nspluginwrapper
85# If libflashplayer.so is a wrapped plugin of nspluginwrapper, ...
86[ $? -eq 1 ] && \
87    /usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release
88/usr/bin/mozilla-plugin-config -i
89exit 0
90
91
92%files
93
94
95%changelog
96* Wed Nov 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-1
97- new upstream release
98- change %%dlurl
99- support the native linux 64-bit flash-plugin
100  - drop Requires(post): nspluginwrapper
101  - keep compatibility for nspluginwrapper (for vl5, vl6)
102
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
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
112* Thu Oct  6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-2
113- supportted native linux 64-bit flash-plugin (for vl7)
114
115* Thu Oct  6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-1
116- new upstream release
117
118* Fri Sep 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.10-1
119- new upstream release
120
121* Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1
122- new upstream release
123
124* Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1
125- new upstream release
126
127* Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1
128- new upstream release
129
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
136* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1
137- new upstream release
138
139* Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27
140- new upstream release
141
142* Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65
143- new upstream release
144
145* Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64
146- new upstream release
147
148* Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1
149- new upstream release
150
151* Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1
152- new upstream release
153
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.
Note: See TracBrowser for help on using the repository browser.