reap 4.3.2 → 4.3.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. data/ANN +6 -1
  2. data/ProjectInfo +9 -7
  3. data/README +44 -13
  4. data/data/reap/setup-3.4.1/COPYING +515 -0
  5. data/data/reap/setup-3.4.1/ChangeLog +732 -0
  6. data/data/reap/setup-3.4.1/Makefile +56 -0
  7. data/data/reap/setup-3.4.1/NEWS.en +155 -0
  8. data/data/reap/setup-3.4.1/NEWS.ja +152 -0
  9. data/data/reap/setup-3.4.1/README.en +30 -0
  10. data/data/reap/setup-3.4.1/README.ja +34 -0
  11. data/data/reap/setup-3.4.1/TODO +14 -0
  12. data/data/reap/setup-3.4.1/Template.README.en +41 -0
  13. data/data/reap/setup-3.4.1/Template.README.ja +46 -0
  14. data/data/reap/setup-3.4.1/Usage_en.txt +231 -0
  15. data/data/reap/setup-3.4.1/Usage_ja.txt +250 -0
  16. data/data/reap/setup-3.4.1/doc.en/hookapi.html +91 -0
  17. data/data/reap/setup-3.4.1/doc.en/index.html +28 -0
  18. data/data/reap/setup-3.4.1/doc.en/metaconfapi.html +79 -0
  19. data/data/reap/setup-3.4.1/doc.en/news.html +189 -0
  20. data/data/reap/setup-3.4.1/doc.en/usage.html +297 -0
  21. data/data/reap/setup-3.4.1/doc.ja/hookapi.html +84 -0
  22. data/data/reap/setup-3.4.1/doc.ja/index.html +28 -0
  23. data/data/reap/setup-3.4.1/doc.ja/metaconfapi.html +80 -0
  24. data/data/reap/setup-3.4.1/doc.ja/news.html +186 -0
  25. data/data/reap/setup-3.4.1/doc.ja/usage.html +319 -0
  26. data/data/reap/setup-3.4.1/sample/add-task.rb +15 -0
  27. data/data/reap/setup-3.4.1/setup.rb +1585 -0
  28. data/data/reap/setup-3.4.1/test/test_installer.rb +136 -0
  29. data/lib/reap/{lint.rb → bin/lint.rb} +0 -0
  30. data/lib/reap/bin/reap.rb +3 -2
  31. data/lib/reap/projectinfo.rb +4 -0
  32. data/lib/reap/task.rb +84 -74
  33. data/lib/reap/task/announce.rb +137 -91
  34. data/lib/reap/task/fileperm.rb +26 -9
  35. data/lib/reap/task/info.rb +19 -3
  36. data/lib/reap/task/install.rb +9 -7
  37. data/lib/reap/task/noop.rb +3 -5
  38. data/lib/reap/task/package.rb +247 -105
  39. data/lib/reap/task/publish.rb +40 -14
  40. data/lib/reap/task/rdoc.rb +53 -27
  41. data/lib/reap/task/release.rb +275 -73
  42. data/lib/reap/task/scaffold.rb +14 -6
  43. data/lib/reap/task/test.rb +67 -48
  44. data/lib/reap/task/testext.rb +38 -11
  45. data/lib/reap/vendor/http-access2.rb +1590 -0
  46. data/lib/reap/vendor/http-access2/cookie.rb +538 -0
  47. data/lib/reap/vendor/http-access2/http.rb +542 -0
  48. data/{lib/reap → note}/interface/interface.rb +0 -0
  49. data/{lib/reap → note}/interface/rubyforge.rb +0 -0
  50. data/note/package.rb.0 +394 -0
  51. metadata +43 -8
  52. data/lib/reap/reap.rb +0 -0
@@ -0,0 +1,41 @@
1
+ %name README
2
+ ============
3
+
4
+ %name is an application ...
5
+
6
+
7
+ Requirements
8
+ ------------
9
+
10
+ * Ruby 1.8
11
+ (* C compiler)
12
+
13
+
14
+ Install
15
+ -------
16
+
17
+ De-compress archive and enter its top directory.
18
+ Then type:
19
+
20
+ ($ su)
21
+ # ruby setup.rb
22
+
23
+ These simple step installs this program under the default
24
+ location of Ruby libraries. You can also install files into
25
+ your favorite directory by supplying setup.rb some options.
26
+ Try "ruby setup.rb --help".
27
+
28
+
29
+ Usage
30
+ -----
31
+
32
+ .....
33
+
34
+
35
+ License
36
+ -------
37
+
38
+ %license
39
+
40
+
41
+ %author %mailaddr
@@ -0,0 +1,46 @@
1
+ %name README
2
+ ============
3
+
4
+ %name �ϡĤ򤹤뤿��ΡĤǤ���
5
+
6
+
7
+ ɬ�״Ķ�
8
+ --------
9
+
10
+ * Ruby 1.8
11
+ (* C ����ѥ���)
12
+
13
+
14
+ ���󥹥ȡ�����ˡ
15
+ ----------------
16
+
17
+ ���ޥ�ɥ饤��ǰʲ��Τ褦�ˤ�������Ǥ���������
18
+ UNIX �� OS �ǤϤ����餯 root ���¤�ɬ�פˤʤ�ޤ���
19
+
20
+ ($ su)
21
+ # ruby setup.rb
22
+
23
+ ���󥹥ȡ�������ѹ������ꤹ�뤳�Ȥ�Ǥ��ޤ���
24
+ ���ξ��� ruby setup.rb --help ��¹Ԥ��ƤߤƤ���������
25
+
26
+ #�ʲ���ɬ�פʤ���оä�
27
+ �ޤ� config �λ���
28
+
29
+ $ ruby setup.rb config --without-ext
30
+
31
+ �Ȥ��뤳�Ȥdz�ĥ�饤�֥��ʤ��ǥ��󥹥ȡ���Ǥ��ޤ���
32
+
33
+
34
+ ��ñ�ʻȤ����Ȥ�
35
+ ----------------
36
+
37
+ �񤭲ä��뤫���ä�
38
+
39
+
40
+ �饤����
41
+ ----------
42
+
43
+ �Ĥ˽��ä����ۤ��ޤ���
44
+
45
+
46
+ %author <foo@bar>
@@ -0,0 +1,231 @@
1
+ Installing Programs with setup.rb
2
+ =================================
3
+
4
+ Quick Start
5
+ -----------
6
+
7
+ Type this (You might needs super user previledge):
8
+
9
+ ($ su)
10
+ # ruby setup.rb
11
+
12
+ If you want to install a program in to your home directory
13
+ ($HOME), use following instead:
14
+
15
+ $ ruby setup.rb all --prefix=$HOME
16
+
17
+ Detailed Installtion Process
18
+ ----------------------------
19
+
20
+ setup.rb invokes installation by three steps. There are
21
+ "config", "setup" and "install". You can invoke each steps
22
+ separately as following:
23
+
24
+ $ ruby setup.rb config
25
+ $ ruby setup.rb setup
26
+ # ruby setup.rb install
27
+
28
+ You can controll installation process by giving detailed
29
+ options for each tasks. For example, --bin-dir=$HOME/bin
30
+ let setup.rb install commands in $HOME/bin.
31
+
32
+ For details, see "Task Options".
33
+
34
+ Global Options
35
+ --------------
36
+
37
+ "Global Option" is a command line option which you can use
38
+ for all tasks. You must give a global option before any task
39
+ name.
40
+
41
+ -q,--quiet
42
+
43
+ suppress message outputs
44
+
45
+ --verbose
46
+
47
+ output messages verbosely (default)
48
+
49
+ -h,--help
50
+
51
+ prints help and quit
52
+
53
+ -v,--version
54
+
55
+ prints version and quit
56
+
57
+ --copyright
58
+
59
+ prints copyright and quit
60
+
61
+ Tasks
62
+ -----
63
+
64
+ These are acceptable tasks:
65
+
66
+ all
67
+
68
+ Invokes `config', `setup', then `install'.
69
+ Task options for all is same with config.
70
+
71
+ config
72
+
73
+ Checks and saves configurations.
74
+
75
+ show
76
+
77
+ Prints current configurations.
78
+
79
+ setup
80
+
81
+ Compiles ruby extentions.
82
+
83
+ install
84
+
85
+ Installs files.
86
+
87
+ test
88
+
89
+ Invokes tests.
90
+
91
+ clean
92
+
93
+ Removes created files.
94
+
95
+ distclean
96
+
97
+ Removes all created files.
98
+
99
+ Task Options for CONFIG/ALL
100
+ ---------------------------
101
+
102
+ You can pass following long options for CONFIG task
103
+ and ALL task.
104
+
105
+ All options accept parameterized value, like
106
+ --rbdir=$siterubyver or --sodir=$siterubyverarch.
107
+ On UNIX shells, you should escape "$" character,
108
+ so use --rbdir=\$siterubyver or --sodir=$siterubyverach.
109
+
110
+ --installdirs=(std|site|home)
111
+
112
+ A handy option to set common install target.
113
+
114
+ std: install files under $libruby.
115
+
116
+ site: install files under $siteruby.
117
+
118
+ home: install files under home directory ($HOME).
119
+
120
+ --prefix=PATH
121
+
122
+ The path prefix of target directory pathes like $bindir, $libdir...
123
+
124
+ --bindir=PATH
125
+
126
+ The directory for commands.
127
+
128
+ --rbdir=PATH
129
+
130
+ The directory for ruby scripts.
131
+
132
+ --sodir=PATH
133
+
134
+ The directory for ruby extentions.
135
+
136
+ --datadir=PATH
137
+
138
+ The directory for shared data.
139
+
140
+ --sysconfdir=PATH
141
+
142
+ The directory for configuration files.
143
+
144
+ --mandir=PATH
145
+
146
+ The directory for manual pages.
147
+
148
+ --libruby=PATH
149
+
150
+ The directory for ruby libraries.
151
+
152
+ --librubyver=PATH
153
+
154
+ The directory for standard ruby libraries.
155
+
156
+ --librubyverarch=PATH
157
+
158
+ The directory for standard ruby extensions.
159
+
160
+ --siteruby=PATH
161
+
162
+ The directory for version-independent non-standard
163
+ ruby libraries
164
+
165
+ --siterubyver=PATH
166
+
167
+ The directory for non-standard ruby libraries.
168
+
169
+ --siterubyverarch=PATH
170
+
171
+ The directory for non-standard ruby extensions.
172
+
173
+ --rubypath=PATH
174
+
175
+ The path to set to #! line.
176
+
177
+ --shebang=(all|ruby|never)
178
+
179
+ Shenbang line (#!) rewriting mode.
180
+
181
+ all: replace all shebang lines.
182
+
183
+ ruby: replace shebang lines which invokes ruby.
184
+
185
+ never: never rewrite shebang.
186
+
187
+ --rubyprog=PATH
188
+
189
+ The ruby program using for installation.
190
+
191
+ --makeprog=NAME
192
+
193
+ The make program to compile ruby extentions.
194
+
195
+ --without-ext
196
+
197
+ Forces to setup.rb never to compile/install
198
+ ruby extentions.
199
+
200
+ --rbconfig=PATH
201
+
202
+ Your rbconfig.rb to load.
203
+
204
+ If there's the directory named "packages",
205
+ You can also use these options:
206
+
207
+ --with=NAME,NAME,NAME...
208
+
209
+ Package names which you want to install.
210
+
211
+ --without=NAME,NAME,NAME...
212
+
213
+ Package names which you do not want to install.
214
+
215
+ [NOTE] You can pass options to extconf.rb like this:
216
+
217
+ ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
218
+
219
+ Task Options for INSTALL
220
+ ------------------------
221
+
222
+ --no-harm
223
+
224
+ prints what to do and done nothing really.
225
+
226
+ --prefix=PATH
227
+
228
+ The prefix of the installing directory path.
229
+ This option may help binary package maintainers.
230
+ A default value is an empty string.
231
+
@@ -0,0 +1,250 @@
1
+ setup.rb ��Ȥä��ץ������Υ��󥹥ȡ���
2
+ =========================================
3
+
4
+ ����ʸ��Ǥϥ���ɥ桼���� setup.rb ��Ȥä�
5
+ �ѥå������򥤥󥹥ȡ��뤹����ˡ���������ޤ���
6
+
7
+ �Ǥ�ñ�����ˡ
8
+ --------------
9
+
10
+ �̾�ϼ��Τ褦���ǤĤ����ǽ�ʬ�Ǥ���
11
+ ��UNIX �� OS �ǤϤ����餯�����ѡ��桼�����¤�ɬ�פǤ���
12
+
13
+ ($ su)
14
+ # ruby setup.rb
15
+
16
+ ��ʬ�Υۡ���ǥ��쥯�ȥ�ʲ��˥��󥹥ȡ��뤷�����Ȥ���
17
+ ���Τ褦�ˤ��Ƥ���������
18
+
19
+ $ ruby setup.rb all --prefix=$HOME
20
+
21
+ ���󥹥ȡ���ξܺ�
22
+ ------------------
23
+
24
+ �ʲ����⤦�����ܺ٤��������ޤ���
25
+
26
+ setup.rb �Ǥϥ��󥹥ȡ���Υץ���������config�ס�setup�ס�install��
27
+ �λ��Ĥ��ʳ���ʬ����Ƥ��ޤ���setup.rb ������ʤ��Ǽ¹Ԥ����
28
+ config setup install ��쵤�˼¹Ԥ��Ƥ��ޤ��ΤǤ��������Τ褦��
29
+ ����Ȼ��Ĥ�ʬ���Ƽ¹ԤǤ��ޤ���
30
+
31
+ $ ruby setup.rb config
32
+ $ ruby setup.rb setup
33
+ # ruby setup.rb install
34
+
35
+ �����Ƴ��ʳ��˥��ץ������դ���ȥ��󥹥ȡ�����ʤɤ�٤�������
36
+ ���뤳�Ȥ��Ǥ��ޤ����㤨�� config �ˡ�--bin-dir=$HOME/bin�ץ���
37
+ �������դ���ȥ��ޥ�ɤ� $HOME/bin �˥��󥹥ȡ��뤵��ޤ���
38
+
39
+ �ܤ����ϡ֥��������ץ����פ���򸫤Ƥ���������
40
+
41
+ �������Х륪�ץ����
42
+ --------------------
43
+
44
+ �������Х륪�ץ����Ȥϡ������� (config �� setup) �˴ؤ餺
45
+ ����Ǥ��륪�ץ����Τ��ȤǤ���ɬ�������������˻��ꤷ�Ƥ���������
46
+
47
+ -q,--quiet
48
+
49
+ ��å��������Ϥ�Ǿ��¤ˤ���
50
+
51
+ --verbose
52
+
53
+ �¹���ξ�����ܺ٤�ɽ������ (�ǥե���Ȥϥ���)
54
+
55
+ -h,--help
56
+
57
+ setup.rb �λȤ������ʤɤ�ɽ��
58
+
59
+ -v,--version
60
+
61
+ setup.rb �ΥС�������ɽ��
62
+
63
+ --copyright
64
+
65
+ setup.rb �������ɽ��
66
+
67
+ ������
68
+ ------
69
+
70
+ �������ϰʲ��μ��ĤǤ���
71
+
72
+ all
73
+
74
+ config, setup, install ��쵤�˹Ԥ���
75
+ ���������ץ����� config �ȶ��̡�
76
+
77
+ config
78
+
79
+ ���������å�������������¸����
80
+
81
+ show
82
+
83
+ ���ߤ������ɽ������
84
+
85
+ setup
86
+
87
+ ����ѥ���ʤɡ��ե��������Ƥ��ѹ���Ԥ����
88
+
89
+ install
90
+
91
+ ���󥹥ȡ����Ԥ���
92
+
93
+ test
94
+
95
+ �ƥ��Ȥ�¹Ԥ��롣
96
+
97
+ clean
98
+
99
+ setup �Ǻ���������Τ�ä�
100
+
101
+ distclean
102
+
103
+ setup �Ǻ���������Τ�ä� (��궯��)
104
+
105
+ config/all �Υ��������ץ����
106
+ -----------------------------
107
+
108
+ config �������ǻȤ��륪�ץ������������ޤ���
109
+
110
+ �ͤ��륪�ץ����Ϥ��٤� --opt=value �η��ǻ��ꤷ�ޤ���
111
+ ��=�פΤޤ��˶��������ƤϤ����ޤ��󡣳ƥ��ץ�����
112
+ �ǥե�����ͤ� ruby setup.rb --help �Ǹ����ޤ���
113
+
114
+ ���٤ƤΥ��ץ����ǡ��ͤ��̤��ѿ���Ȥ����Ȥ��Ǥ��ޤ���
115
+ �㤨�� Ruby �饤�֥��� site_ruby �˥��󥹥ȡ���
116
+ ��������С�--rbdir=$siterubyver �Ȼ���Ǥ��ޤ���
117
+ UNIX ������Ǥϡ�$�פ򥨥������פ��� --rbdir=\$siterubyver
118
+ �Ȥ��Ƥ���������
119
+
120
+ --installdirs=(std|site|home)
121
+
122
+ �褯�Ȥ��륤�󥹥ȡ�����ǥ��쥯�ȥ��
123
+ �ޤȤ�ƥ��åȤ��륪�ץ����
124
+
125
+ std: $libruby �ʲ��˥��󥹥ȡ��뤹�롣
126
+
127
+ site: $siteruby �ʲ��˥��󥹥ȡ��뤹�롣
128
+
129
+ home: �ۡ���ǥ��쥯�ȥ겼�˥��󥹥ȡ��뤹�롣
130
+
131
+ --prefix=PATH
132
+
133
+ $bindir, $libdir �ʤɤζ�����ʬ
134
+
135
+ --bindir=PATH
136
+
137
+ �¹Բ�ǽ�ե�����ʥ��ޥ�ɡˤ򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
138
+
139
+ --rbdir=PATH
140
+
141
+ Ruby �饤�֥��򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
142
+
143
+ --sodir=PATH
144
+
145
+ Ruby �γ�ĥ�⥸�塼��򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
146
+
147
+ --datadir=PATH
148
+
149
+ ����¾�Υǡ����ե�����򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
150
+
151
+ --sysconfdir=PATH
152
+
153
+ ����ե�����򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
154
+
155
+ --mandir=PATH
156
+
157
+ man �ڡ����򥤥󥹥ȡ��뤹��ǥ��쥯�ȥꡣ
158
+
159
+ --libruby=PATH
160
+
161
+ Ruby �饤�֥��򥤥󥹥ȡ��뤹��ǥ��쥯�ȥ�
162
+
163
+ --librubyver=PATH
164
+
165
+ Ruby ��ɸ��ź�ե饤�֥�꤬���󥹥ȡ��뤵���ǥ��쥯�ȥ�
166
+
167
+ --librubyverarch=PATH
168
+
169
+ Ruby ��ɸ��ź�ճ�ĥ�饤�֥�꤬���󥹥ȡ��뤵���ǥ��쥯�ȥ�
170
+
171
+ --siteruby=PATH
172
+
173
+ Ruby �ΥС������˰�¸���ʤ�����ɸ��� Ruby �饤�֥�꤬
174
+ ���󥹥ȡ��뤵���ǥ��쥯�ȥ� (site_ruby)
175
+
176
+ --siterubyver=PATH
177
+
178
+ Ruby �ΥС������˰�¸���롢��ɸ��� Ruby �饤�֥�꤬
179
+ ���󥹥ȡ��뤵���ǥ��쥯�ȥ� (�С������Ĥ� site_ruby)��
180
+
181
+ --siterubyverarch=PATH
182
+
183
+ ��ɸ��� Ruby ��ĥ�饤�֥�꤬���󥹥ȡ��뤵���ǥ��쥯�ȥ�
184
+ (�С�����󡦥������ƥ�����̾�Ĥ� site_ruby)��
185
+
186
+ --rubypath=PATH
187
+
188
+ shebang �� (#!) �˥��åȤ��� Ruby ���󥿥ץ꥿�Υѥ���
189
+ �Ĥޤꡢ���󥹥ȡ��뤷���ץ�������¹Ԥ���Ȥ���
190
+ ���� ruby ���Ȥ��ޤ���
191
+
192
+ --shebang=(all|ruby|never)
193
+
194
+ shebang �� (#!) �ν񤭴����⡼�ɤǤ���
195
+
196
+ all: ���٤ƤΥե������ shenbang �Ԥ�񤭴����⤷�����ɲä��롣
197
+
198
+ ruby: ruby ��ư���Ƥ���Ȼפ��� shebang �Ԥ�����񤭴����롣
199
+
200
+ never: ���ä��� shebang �Ԥ�񤭴����ʤ���
201
+
202
+ --rubyprog=PATH
203
+
204
+ ���󥹥ȡ�����˻Ȥ� ruby �ץ������ؤΥѥ���
205
+
206
+ --makeprog=NAME
207
+
208
+ ��ĥ�饤�֥��Υ���ѥ���˻��Ѥ��� make �ץ�����ࡣ
209
+
210
+ --without-ext
211
+
212
+ ��ĥ�⥸�塼��Υ���ѥ��롦���󥹥ȡ����̵����
213
+ �����åפ��롣�����������ʤ��顢���󥹥ȡ��뤵���
214
+ �ץ�����༫�Τ���ĥ�⥸�塼��ʤ���ư���褦�ˤʤä�
215
+ ���ʤ���а�̣������ޤ���
216
+
217
+ --rbconfig=PATH
218
+
219
+ �ǥե�����ͤ�����˻Ȥ� rbconfig.rb
220
+
221
+ �ޤ��ޥ���ѥå��������������֤ǤϤ���˲ä��ưʲ��Υ��ץ�����Ȥ��ޤ���
222
+
223
+ --with=NAME,NAME,NAME...
224
+
225
+ ���󥹥ȡ��뤹��ѥå�����
226
+
227
+ --without=NAME,NAME,NAME...
228
+
229
+ ���󥹥ȡ��뤷�ʤ��ѥå�����
230
+
231
+ ����ˡ���--�סʥޥ��ʥ���ġˤ�³���ƥ��ץ�������ꤹ�뤳�Ȥ�
232
+ extconf.rb �˰������Ϥ����Ȥ��Ǥ��ޤ���
233
+
234
+ ruby setup.rb config -- --with-tklib=/usr/lib/libtk-ja.so.8.0
235
+
236
+ install �Υ��������ץ����
237
+ --------------------------
238
+
239
+ --no-harm
240
+
241
+ ��ư��ɽ����������Ǽ¹Ԥ��ޤ���
242
+
243
+ --prefix=PATH
244
+
245
+ config �Ƿ��ꤷ���ѥ�����Ƭ�ˤ���� PATH ���ղä��ޤ���
246
+ config --prefix ���ץ�����ब�¹Ԥ����Ȥ��Υѥ��Ǥ���Τ�
247
+ �Ф���install --prefix �ϥץ������ե�����򥳥ԡ�����ѥ���
248
+ ���ꤷ�ޤ������ RPM �ʤɤΥХ��ʥ�ѥå����������ѤǤ���
249
+ �ǥե���Ȥ϶�ʸ����Ǥ���
250
+