flex4sdk 4.0.0.pre

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. data/flex4sdk.rb +89 -0
  2. metadata +79 -0
@@ -0,0 +1,89 @@
1
+ require 'sprout'
2
+
3
+ class Flex4SDK
4
+
5
+ NAME = 'flex4sdk'
6
+
7
+ module VERSION
8
+ MAJOR = 4
9
+ MINOR = 0
10
+ TINY = 0
11
+ SUFFIX = 'pre'
12
+
13
+ STRING = "#{MAJOR}.#{MINOR}.#{TINY}.#{SUFFIX}"
14
+ end
15
+
16
+ # This is a sample Sprout Specification.
17
+ #
18
+ # This document describes the Flex 4 SDK in terms of the libraries and executables
19
+ # that is provides.
20
+ #
21
+ # Whenever this file is loaded (required) by a Ruby application that has already loaded
22
+ # the core sprout files, the remote_file_target will be downloaded and installed,
23
+ # and each executable and library will be available to any interested rake
24
+ # tasks.
25
+ #
26
+ # An example of how one might retrieve a path to the downloaded MXMLC executable is
27
+ # as follows:
28
+ #
29
+ # Sprout.get_executable :mxmlc, 'flex4sdk', '>= 4.0.pre'
30
+ #
31
+ Sprout::Specification.new do |s|
32
+ s.name = Flex4SDK::NAME
33
+ s.version = Flex4SDK::VERSION::STRING
34
+
35
+ s.add_remote_file_target do |t|
36
+ # Apply the windows-specific configuration:
37
+ t.platform = :universal
38
+ # Apply the shared platform configuration:
39
+ # Remote Archive:
40
+ t.archive_type = :zip
41
+ t.url = "http://download.macromedia.com/pub/labs/flex/4/flex4sdk_b2_100509.zip"
42
+ t.md5 = "6a0838c5cb33145fe88933778ddb966d"
43
+
44
+ # Executables: (add .exe suffix if it was passed in)
45
+ t.add_executable :aasdoc, "bin/aasdoc"
46
+ t.add_executable :acompc, "bin/acompc"
47
+ t.add_executable :adl, "bin/adl"
48
+ t.add_executable :adt, "bin/adt"
49
+ t.add_executable :amxmlc, "bin/amxmlc"
50
+ t.add_executable :asdoc, "bin/asdoc"
51
+ t.add_executable :compc, "bin/compc"
52
+ t.add_executable :copylocale, "bin/compc"
53
+ t.add_executable :digest, "bin/digest"
54
+ t.add_executable :fcsh, "bin/fcsh"
55
+ t.add_executable :fdb, "bin/fdb"
56
+ t.add_executable :mxmlc, "bin/mxmlc"
57
+ t.add_executable :optimizer, "bin/optimizer"
58
+
59
+ # Flex framework SWCs:
60
+ t.add_library :flex, "frameworks/libs/flex.swc"
61
+ t.add_library :flex4, "frameworks/libs/flex4.swc"
62
+ t.add_library :f_textlayout, "frameworks/libs/framework_textLayout.swc"
63
+ t.add_library :framework, "frameworks/libs/framework.swc"
64
+ t.add_library :rpc, "frameworks/libs/rpc.swc"
65
+ t.add_library :sparkskins, "frameworks/libs/sparkskins.swc"
66
+ t.add_library :textlayout, "frameworks/libs/textLayout.swc"
67
+ t.add_library :utilities, "frameworks/libs/utilities.swc"
68
+ t.add_library :playerglobal_9, "frameworks/libs/player/9/playerglobal.swc"
69
+ t.add_library :playerglobal_10, "frameworks/libs/player/10/playerglobal.swc"
70
+
71
+ # AsDoc templates:
72
+ t.add_library :asdoc_templates, "asdoc/templates"
73
+
74
+ # Locale-Specific Flex SWCs:
75
+ [
76
+ 'da_DK', 'de_DE', 'en_US', 'es_ES', 'fi_FL', 'fr_FR', 'it_IT', 'ja_JP',
77
+ 'ko_KR', 'nb_NO', 'nl_NL', 'pt_BR', 'ru_RU', 'sv_SE', 'zh_CN', 'zh_TW'
78
+ ].each do |locale|
79
+ t.add_library "flex_4_#{locale}".to_sym, "frameworks/locale/#{locale}/flex4_rb.swc"
80
+ t.add_library "airframework_#{locale}".to_sym, "frameworks/locale/#{locale}/airframework_rb.swc"
81
+ t.add_library "framework_#{locale}".to_sym, "frameworks/locale/#{locale}/framework_rb.swc"
82
+ t.add_library "rpc_#{locale}".to_sym, "frameworks/locale/#{locale}/rpc_rb.swc"
83
+ end
84
+ end
85
+ end
86
+
87
+ end
88
+
89
+
metadata ADDED
@@ -0,0 +1,79 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: flex4sdk
3
+ version: !ruby/object:Gem::Version
4
+ prerelease: true
5
+ segments:
6
+ - 4
7
+ - 0
8
+ - 0
9
+ - pre
10
+ version: 4.0.0.pre
11
+ platform: ruby
12
+ authors:
13
+ - Adobe, Inc.
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2010-06-21 00:00:00 -07:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: sprout
23
+ requirement: &id001 !ruby/object:Gem::Requirement
24
+ requirements:
25
+ - - ">="
26
+ - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 0
30
+ - pre
31
+ version: 1.0.pre
32
+ type: :runtime
33
+ prerelease: false
34
+ version_requirements: *id001
35
+ description: The Flex 4 SDK Rubygem is brought to you by Project Sprouts (http://projectsprouts.org)
36
+ email: projectsprouts@googlegroups.com
37
+ executables: []
38
+
39
+ extensions: []
40
+
41
+ extra_rdoc_files: []
42
+
43
+ files:
44
+ - flex4sdk.rb
45
+ has_rdoc: true
46
+ homepage: http://www.adobe.com/products/flex
47
+ licenses: []
48
+
49
+ post_install_message:
50
+ rdoc_options: []
51
+
52
+ require_paths:
53
+ - lib
54
+ - .
55
+ required_ruby_version: !ruby/object:Gem::Requirement
56
+ requirements:
57
+ - - ">="
58
+ - !ruby/object:Gem::Version
59
+ segments:
60
+ - 0
61
+ version: "0"
62
+ required_rubygems_version: !ruby/object:Gem::Requirement
63
+ requirements:
64
+ - - ">"
65
+ - !ruby/object:Gem::Version
66
+ segments:
67
+ - 1
68
+ - 3
69
+ - 1
70
+ version: 1.3.1
71
+ requirements: []
72
+
73
+ rubyforge_project:
74
+ rubygems_version: 1.3.6
75
+ signing_key:
76
+ specification_version: 3
77
+ summary: Adobe Flex 4 SDK including mxmlc, compc, asdoc, adl, adt, optimizer and fdb
78
+ test_files: []
79
+