[1634] | 1 | %define pkgname AdobeAIR |
---|
[3087] | 2 | %define pkgversion 2.6 |
---|
[1634] | 3 | %define dlurl http://airdownload.adobe.com/air/lin/download/%{pkgversion}/adobeair.i386.rpm |
---|
| 4 | |
---|
[3087] | 5 | Summary: Package to assist installation of %{pkgname} (i386) |
---|
| 6 | Summary(ja): %{pkgname} (i386)のインストールを補助するパッケージ |
---|
[1634] | 7 | Name: install-assist-%{pkgname} |
---|
| 8 | Version: %{pkgversion} |
---|
| 9 | Release: 1%{?_dist_release} |
---|
| 10 | License: Commercial |
---|
| 11 | Group: Applications/Productivity |
---|
| 12 | |
---|
| 13 | ExclusiveArch: %{ix86} x86_64 |
---|
| 14 | # Requires(posttrans) not yet implemented. So we use (post) instead. |
---|
| 15 | Requires(post): self-build-setup >= 0.9.0 |
---|
[3087] | 16 | # Required packages for Adobe AIR |
---|
[1634] | 17 | Requires: gtk2 >= 2.4.0 |
---|
| 18 | Requires: dbus-glib |
---|
| 19 | Requires: hal |
---|
| 20 | Requires: libXt |
---|
| 21 | Requires: openssl |
---|
| 22 | %if %{?_dist_release} == "vl5" |
---|
| 23 | Requires: gnome-keyring |
---|
| 24 | %endif |
---|
| 25 | %if %{?_dist_release} == "vl6" |
---|
| 26 | Requires: libgnome-keyring |
---|
| 27 | %endif |
---|
| 28 | Requires: libxml2 |
---|
| 29 | Requires: libxslt |
---|
| 30 | |
---|
| 31 | %ifarch x86_64 |
---|
| 32 | Requires: compat32-gtk2 |
---|
| 33 | Requires: compat32-libXt |
---|
| 34 | %if %{?_dist_release} == "vl5" |
---|
| 35 | Requires: compat32-gnome-keyring |
---|
| 36 | %endif |
---|
| 37 | %if %{?_dist_release} == "vl6" |
---|
| 38 | Requires: compat32-libgnome-keyring |
---|
| 39 | %endif |
---|
| 40 | Requires: compat32-libxml2 |
---|
| 41 | Requires: compat32-nss |
---|
| 42 | Requires: compat32-nspr |
---|
| 43 | Requires: compat32-openssl |
---|
| 44 | Requires: compat32-libxslt |
---|
| 45 | %endif |
---|
| 46 | |
---|
| 47 | Packager: munepi |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %description |
---|
| 51 | The Adobe(R) AIR(R) 2 runtime enables developers to use HTML, JavaScript, |
---|
| 52 | Adobe Flash(R) software, and ActionScript(R) to build web applications that |
---|
| 53 | run as standalone client applications without the constraints of a browser. |
---|
| 54 | Adobe AIR and the Adobe Flash Platform unleash the creativity of designers |
---|
| 55 | and developers by providing a consistent and flexible development |
---|
| 56 | environment for the delivery of applications across devices and platforms. |
---|
| 57 | Support for additional platforms, including Android, is under development. |
---|
| 58 | |
---|
| 59 | If you install this package, it automaticaly downloads |
---|
| 60 | required files to install %{pkgname}. |
---|
| 61 | And the downloaded files are automatically installed if |
---|
| 62 | installation is executed by apt-get command or synaptic |
---|
| 63 | package manager. |
---|
| 64 | |
---|
| 65 | %description -l ja |
---|
| 66 | Adobe(R) AIR(R) 2ランタイムを利用すると、デベロッパーはHTML、JavaScript、 |
---|
| 67 | Adobe Flash(R)およびActionScript(R)を使用して、ブラウザーの制約に縛られることなく、 |
---|
| 68 | モバイル用およびデスクトップ用のWebアプリケーションをスタンドアロンの |
---|
| 69 | クライアントアプリケーションとして構築できます。Adobe AIRおよび |
---|
| 70 | Adobe Flash Platformの一貫した柔軟な開発環境では、デザイナーやデベロッパーは |
---|
| 71 | 配布先のデバイスやプラットフォームに制約されずに自在に作成できます。 |
---|
| 72 | Androidなど、他のプラットフォーム向けのサポートも開発中です。 |
---|
| 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 |
---|
[3087] | 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 | |
---|
[2157] | 110 | * Sat Oct 29 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.5-1 |
---|
| 111 | - updated to 2.5 |
---|
| 112 | |
---|
[1634] | 113 | * Sun Aug 22 2010 Munehiro Yamamoto <munepi@vinelinux.org> 2.0.3-1 |
---|
| 114 | - initial build for Vine Linux |
---|