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

Revision 5667, 6.0 KB checked in by munepi, 12 years ago (diff)

install-assist-flash-plugin

RevLine 
[1187]1%define pkgname flash-plugin
[5667]2%define pkgversion      11.1.102.62
[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
12Summary:        Package to assist installation of Adobe Flash Player (%{target_arch})
13Summary(ja):    Adobe Flash Player (%{target_arch}) のインストールを補助するパッケージ
[1187]14Name:           install-assist-%{pkgname}
15Version:        %{pkgversion}
[5153]16Release:        1%{?_dist_release}
17
[1187]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
[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
37Obsoletes:      flash-plugin < 11.1.102.55-release
[1187]38%endif
[4934]39
[5667]40Obsoletes:      install-assist-flash-plugin9
[1187]41
42BuildRoot:      %{_tmppath}/%{name}-%{version}-root
43
44Packager:       kazutaka, munepi
45
46
47%description
[4870]48Adobe Flash Player %{pkgversion} (%{target_arch})
[1187]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
[4870]57Adobe 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
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
[1187]86/usr/bin/mozilla-plugin-config -i
87exit 0
88
89
90%files
91
92
93%changelog
[5667]94* Thu Feb 16 2012 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.62-1
95- new upstream release
96
97* Fri Nov 18 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-2
98- Obsoletes: install-assist-flash-plugin9
99- dropped Requires: compat32-nss compat32-libXt compat32-alsa-lib (x86_64)
100
[5153]101* Wed Nov 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.1.102.55-1
102- new upstream release
103- change %%dlurl
104- support the native linux 64-bit flash-plugin
105  - drop Requires(post): nspluginwrapper
106  - keep compatibility for nspluginwrapper (for vl5, vl6)
107
[4948]108* Tue Oct 11 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-4
109- changed to Obsoletes: flash-plugin < 11.0.1.152-release
110
[4934]111* Mon Oct 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-3
112- improved the installation of linux 64-bit flash-plugin for vl7 (x86_64)
113  - dropped Requires(post): nspluginwrapper
114  - added Obsoletes: flash-plugin <= 11.0.1.152-release
115  - fixed %%posttrans
116
[4870]117* Thu Oct  6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-2
[5153]118- supportted native linux 64-bit flash-plugin (for vl7)
[4870]119
120* Thu Oct  6 2011 Munehiro Yamamoto <munepi@vinelinux.org> 11.0.1.152-1
121- new upstream release
122
[4802]123* Fri Sep 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.10-1
124- new upstream release
125
[4694]126* Fri Sep 02 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.7-1
127- new upstream release
128
[4623]129* Sat Aug 20 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.183.5-1
130- new upstream release
131
[4150]132* Thu Jun 16 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.26-1
133- new upstream release
134
[3872]135* Sat May 14 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.3.181.14-1
136- new upstream release
137
138* Fri May 06 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.159.1-1
139- new upstream release
140
[3087]141* Wed Mar 23 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.153.1-1
142- new upstream release
143
[2666]144* Thu Feb 10 2011 Munehiro Yamamoto <munepi@vinelinux.org> 10.2.152.27
145- new upstream release
146
[2318]147* Wed Dec 08 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.65
148- new upstream release
149
[2174]150* Sat Nov 06 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.102.64
151- new upstream release
152
[1882]153* Thu Sep 23 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.85.3-1
154- new upstream release
155
[1622]156* Fri Aug 20 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.82.76-1
157- new upstream release
158
[1187]159* Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1
160- new upstream release
161- added Requires: nss libXt
162- added Requires: compat32-libXt (for x86_64)
163
164* Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1
165- new upstream release
166
167* Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1
168- new upstream release
169
170* Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2
171- mentioned "i386" flash-player in Summary and %%description
172
173* Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1
174- new upstream release
175
176* Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4
177- setup for x86_64
178
179* Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3
180- add Requires: curl (<BTS:wishes:0178>)
181
182* Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2
183- update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/)
184  (<BTS:wishes:0178>)
185
186* Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1
187- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.