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

Revision 1187, 3.2 KB checked in by munepi, 14 years ago (diff)

added install-assist-flash-plugin

Line 
1%define pkgname flash-plugin
2%define pkgversion      10.1.53.64
3%define dlurl   http://fpdownload.macromedia.com/get/flashplayer/current/flash-plugin-%{pkgversion}-release.i386.rpm
4
5Summary:        Package to assist installation of Adobe Flash Player
6Summary(ja):    Adobe Flash Player (i386) のインストールを補助するパッケージ
7Name:           install-assist-%{pkgname}
8Version:        %{pkgversion}
9Release:        1%{?_dist_release}
10## This spec Source0 is obsolete
11Source0:        %{pkgname}.spec
12License:        Commercial
13Group:          Applications/Internet
14
15ExclusiveArch:  %{ix86} x86_64
16# Requires(posttrans) not yet implemented. So we use (post) instead.
17Requires(post): self-build-setup >= 0.9.0
18# Required packages for flash-plugin 10 (<BTS:wishes:0178>)
19Requires:       curl
20Requires:       nss
21Requires:       libXt
22%ifarch x86_64
23Requires:       compat32-nss
24Requires:       compat32-libXt
25Requires:       compat32-alsa-lib
26Requires(post): nspluginwrapper
27%endif
28%ifarch %{ix86}
29Conflicts:      install-assist-flash-plugin9
30%endif
31
32BuildRoot:      %{_tmppath}/%{name}-%{version}-root
33
34Packager:       kazutaka, munepi
35
36
37%description
38Adobe Flash Player %{pkgversion} (i386)
39
40If you install this package, it automaticaly downloads
41required files to install %{pkgname}.
42And the downloaded files are automatically installed if
43installation is executed by apt-get command or synaptic
44package manager.
45
46%description -l ja
47Adobe Flash Player %{pkgversion} (i386)
48
49このパッケージをインストールすると、自動的に %{pkgname}
50のインストールに必要な rpm ファイルをダウンロードします。
51また apt-get コマンドや synapticパッケージマネージャから実行
52した場合は、ダウンロードした rpm ファイルのインストールも自
53動的に行います。
54
55
56%install
57%{__rm} -rf ${RPM_BUILD_ROOT}
58%{__install} -d ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
59#%{__install} -m 644 %{SOURCE0} ${RPM_BUILD_ROOT}/%{_datadir}/%{name}
60
61%clean
62%{__rm} -rf ${RPM_BUILD_ROOT}
63
64%posttrans
65/usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
66
67%ifarch x86_64
68/usr/lib/rpm/pre-allocate-rpm.sh %{pkgname}-%{version}-release
69/usr/bin/mozilla-plugin-config -i
70exit 0
71%endif
72
73
74%files
75
76
77%changelog
78* Fri Jun 11 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.1.53.64-1
79- new upstream release
80- added Requires: nss libXt
81- added Requires: compat32-libXt (for x86_64)
82
83* Sat Feb 13 2010 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.45.2-1
84- new upstream release
85
86* Wed Dec 09 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.42.34-1
87- new upstream release
88
89* Wed Aug 12 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-2
90- mentioned "i386" flash-player in Summary and %%description
91
92* Fri Jul 31 2009 Munehiro Yamamoto <munepi@vinelinux.org> 10.0.32.18-1
93- new upstream release
94
95* Sat Jul 11 2009 Munehiro Yamamoto <munepi@cg8.so-net.ne.jp> 10.0.22.87-4
96- setup for x86_64
97
98* Fri Jun 05 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-3
99- add Requires: curl (<BTS:wishes:0178>)
100
101* Thu Jun 04 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-2
102- update flash-plugin.spec (add symlink for %%{_libdir}/mozilla/plugins/)
103  (<BTS:wishes:0178>)
104
105* Sun May 24 2009 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 10.0.22.87-1
106- initial build for Vine Linux.
Note: See TracBrowser for help on using the repository browser.