source: projects/specs/trunk/nonfree/install-assist-AdobeAIR/install-assist-AdobeAIR-vl.spec @ 3087

Revision 3087, 3.9 KB checked in by munepi, 13 years ago (diff)

updated install-assist-flash-plugin-vl.spec, install-assist-AdobeAIR-vl.spec

Line 
1%define pkgname AdobeAIR
2%define pkgversion 2.6
3%define dlurl   http://airdownload.adobe.com/air/lin/download/%{pkgversion}/adobeair.i386.rpm
4
5Summary:        Package to assist installation of %{pkgname} (i386)
6Summary(ja):    %{pkgname} (i386)のインストールを補助するパッケージ
7Name:           install-assist-%{pkgname}
8Version:        %{pkgversion}
9Release:        1%{?_dist_release}
10License:        Commercial
11Group:          Applications/Productivity
12
13ExclusiveArch:  %{ix86} x86_64
14# Requires(posttrans) not yet implemented. So we use (post) instead.
15Requires(post): self-build-setup >= 0.9.0
16# Required packages for Adobe AIR
17Requires:       gtk2 >= 2.4.0
18Requires:       dbus-glib
19Requires:       hal
20Requires:       libXt
21Requires:       openssl
22%if %{?_dist_release} == "vl5"
23Requires:       gnome-keyring
24%endif
25%if %{?_dist_release} == "vl6"
26Requires:       libgnome-keyring
27%endif
28Requires:       libxml2
29Requires:       libxslt
30
31%ifarch x86_64
32Requires:       compat32-gtk2
33Requires:       compat32-libXt
34%if %{?_dist_release} == "vl5"
35Requires:       compat32-gnome-keyring
36%endif
37%if %{?_dist_release} == "vl6"
38Requires:       compat32-libgnome-keyring
39%endif
40Requires:       compat32-libxml2
41Requires:       compat32-nss
42Requires:       compat32-nspr
43Requires:       compat32-openssl
44Requires:       compat32-libxslt
45%endif
46
47Packager:       munepi
48
49
50%description
51The Adobe(R) AIR(R) 2 runtime enables developers to use HTML, JavaScript,
52Adobe Flash(R) software, and ActionScript(R) to build web applications that
53run as standalone client applications without the constraints of a browser.
54Adobe AIR and the Adobe Flash Platform unleash the creativity of designers
55and developers by providing a consistent and flexible development
56environment for the delivery of applications across devices and platforms.
57Support for additional platforms, including Android, is under development.
58
59If you install this package, it automaticaly downloads
60required files to install %{pkgname}.
61And the downloaded files are automatically installed if
62installation is executed by apt-get command or synaptic
63package manager.
64
65%description -l ja
66Adobe(R) AIR(R) 2ランタイムを利用すると、デベロッパーはHTML、JavaScript、
67Adobe Flash(R)およびActionScript(R)を使用して、ブラウザーの制約に縛られることなく、
68モバイル用およびデスクトップ用のWebアプリケーションをスタンドアロンの
69クライアントアプリケーションとして構築できます。Adobe AIRおよび
70Adobe Flash Platformの一貫した柔軟な開発環境では、デザイナーやデベロッパーは
71配布先のデバイスやプラットフォームに制約されずに自在に作成できます。
72Androidなど、他のプラットフォーム向けのサポートも開発中です。
73
74このパッケージをインストールすると、自動的に %{pkgname}
75のインストールに必要な rpm ファイルをダウンロードします。
76また apt-get コマンドや synapticパッケージマネージャから実行
77した場合は、ダウンロードした rpm ファイルのインストールも自
78動的に行います。
79
80
81%posttrans
82## If exists cached rpm, copy its dummy rpm into /var/cache/self-build/
83(cd /var/cache/apt/archives
84    if [ -f adobeair-%{version}*.rpm ]; then
85        %__cp -af adobeair-%{version}*.rpm adobeair.i386.rpm
86    fi
87)
88
89## If /var/cache/apt/archives/adobeair.i386.rpm does not exist,
90## download it:
91/usr/lib/rpm/get-binary-rpm.sh %{name} %{dlurl}
92## and, remove dummy rpm adobeair.i386.rpm:
93%__rm -f /var/cache/apt/archives/adobeair.i386.rpm
94
95## rename adobeair.i386.rpm
96(cd /var/cache/self-build
97    %__mv adobeair.i386.rpm $(rpm -qp adobeair.i386.rpm 2>/dev/null).rpm
98)
99
100
101%files
102
103%changelog
104* Thu Mar 24 2011 Munehiro Yamamoto <munepi@vinelinux.org> 2.6-1
105- updated to 2.6
106
107* Sun Nov 14 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5.1-1
108- updated to 2.5.1
109
110* Sat Oct 29 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5-1
111- updated to 2.5
112
113* Sun Aug 22 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.0.3-1
114- initial build for Vine Linux
Note: See TracBrowser for help on using the repository browser.