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

Revision 4948, 5.5 KB checked in by munepi, 13 years ago (diff)

updated install-assist-flash-plugin: changed to Obsoletes: flash-plugin < 11.0.1.152-release

Line 
1%define pkgname flash-plugin
2%define pkgversion      11.0.1.152
3%define dlurl   http://fpdownload.macromedia.com/get/flashplayer/current/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:        4%{?_dist_release}
17## This spec Source0 is obsolete
18Source0:        %{pkgname}.spec
19License:        Commercial
20Group:          Applications/Internet
21
22ExclusiveArch:  %{ix86} x86_64
23# Requires(posttrans) not yet implemented. So we use (post) instead.
24Requires(post): self-build-setup >= 0.9.0
25# Required packages for flash-plugin 10 (<BTS:wishes:0178>)
26Requires:       curl
27Requires:       nss
28Requires:       libXt
29%ifarch x86_64
30Requires:       compat32-nss
31Requires:       compat32-libXt
32Requires:       compat32-alsa-lib
33#
34%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
35Requires(post): nspluginwrapper
36%endif
37%if %{?_dist_release} == "vl7"
38# Obsoletes:    flash-plugin.32bit
39Obsoletes:      flash-plugin < 11.0.1.152-release
40%endif
41%endif
42
43%ifarch %{ix86}
44Conflicts:      install-assist-flash-plugin9
45%endif
46
47BuildRoot:      %{_tmppath}/%{name}-%{version}-root
48
49Packager:       kazutaka, munepi
50
51
52%description
53Adobe Flash Player %{pkgversion} (%{target_arch})
54
55If you install this package, it automaticaly downloads
56required files to install %{pkgname}.
57And the downloaded files are automatically installed if
58installation is executed by apt-get command or synaptic
59package manager.
60
61%description -l ja
62Adobe Flash Player %{pkgversion} (%{target_arch})
63
64このパッケージをインストールすると、自動的に %{pkgname}
65のインストールに必要な rpm ファイルをダウンロードします。
66また apt-get コマンドや synapticパッケージマネージャから実行
67した場合は、ダウンロードした rpm ファイルのインストールも自
68動的に行います。
69
70
71%install
72%{__rm} -rf ${RPM_BUILD_ROOT}
73%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
74#%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
75
76%clean
77%{__rm} -rf ${RPM_BUILD_ROOT}
78
79%posttrans
80/usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
81
82%ifarch x86_64
83%if %{?_dist_release} == "vl5" || %{?_dist_release} == "vl6"
84/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release
85/usr/bin/mozilla-plugin-config -i
86exit 0
87%endif
88
89# # FIXME: [ad-hoc] We have Obsoletes: flash-plugin.32bit. However,
90# # it do not remove flash-plugin.32bit.
91# %if %{?_dist_release} == "vl7"
92# if (rpm -q flash-plugin | grep -q "32bit"); then
93#    rpm -e $(rpm -q flash-plugin | grep "32bit")
94# fi
95# %endif
96%endif
97
98
99%files
100
101
102%changelog
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
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.