fpm 0.4.42 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +15 -0
- data/CHANGELIST +54 -0
- data/lib/fpm.rb +1 -0
- data/lib/fpm/command.rb +25 -4
- data/lib/fpm/package.rb +7 -2
- data/lib/fpm/package/cpan.rb +72 -24
- data/lib/fpm/package/deb.rb +68 -9
- data/lib/fpm/package/dir.rb +32 -6
- data/lib/fpm/package/gem.rb +1 -1
- data/lib/fpm/package/npm.rb +7 -0
- data/lib/fpm/package/pkgin.rb +35 -0
- data/lib/fpm/package/pyfpm/__init__.pyc +0 -0
- data/lib/fpm/package/pyfpm/get_metadata.py +21 -6
- data/lib/fpm/package/pyfpm/get_metadata.pyc +0 -0
- data/lib/fpm/package/python.rb +10 -8
- data/lib/fpm/package/rpm.rb +59 -18
- data/lib/fpm/util.rb +42 -1
- data/lib/fpm/version.rb +1 -1
- data/templates/rpm.erb +2 -17
- metadata +40 -51
data/lib/fpm/version.rb
CHANGED
data/templates/rpm.erb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Hello packaging friend!
|
2
2
|
#
|
3
|
-
# If you find yourself using this 'fpm --edit' feature frequently, it
|
3
|
+
# If you find yourself using this 'fpm --edit' feature frequently, it is
|
4
4
|
# a sign that fpm is missing a feature! I welcome your feature requests!
|
5
5
|
# Please visit the following URL and ask for a feature that helps you never
|
6
6
|
# need to edit this file again! :)
|
@@ -104,22 +104,7 @@ Obsoletes: <%= repl %>
|
|
104
104
|
# noop
|
105
105
|
|
106
106
|
%install
|
107
|
-
|
108
|
-
<% source = File.join(staging_path, path) -%>
|
109
|
-
<% source_safe = Shellwords.shellescape(source).gsub("%", "%%") -%>
|
110
|
-
<% # Copy to the build_path/BUILD/ to make rpmbuild happy -%>
|
111
|
-
<% target_safe = Shellwords.shellescape(File.join(build_path, build_sub_dir, path)).gsub("%", "%%") -%>
|
112
|
-
<% st = File.lstat(source) -%>
|
113
|
-
<% dir = File.dirname(target_safe) -%>
|
114
|
-
[ ! -d <%= dir %> ] && mkdir -p <%= dir %>
|
115
|
-
<% if st.symlink? -%>
|
116
|
-
ln -s <%= File.readlink(source) %> <%= target_safe %>
|
117
|
-
<% elsif st.directory? -%>
|
118
|
-
mkdir <%= target_safe %>
|
119
|
-
<% else -%>
|
120
|
-
cp <%= source_safe %> <%= target_safe %>
|
121
|
-
<% end -%>
|
122
|
-
<% end %>
|
107
|
+
# noop
|
123
108
|
|
124
109
|
%clean
|
125
110
|
# noop
|
metadata
CHANGED
@@ -1,20 +1,18 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 1.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Jordan Sissel
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date: 2013-
|
11
|
+
date: 2013-12-06 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
13
|
- !ruby/object:Gem::Dependency
|
15
14
|
name: json
|
16
15
|
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
16
|
requirements:
|
19
17
|
- - ! '>='
|
20
18
|
- !ruby/object:Gem::Version
|
@@ -22,7 +20,6 @@ dependencies:
|
|
22
20
|
type: :runtime
|
23
21
|
prerelease: false
|
24
22
|
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
23
|
requirements:
|
27
24
|
- - ! '>='
|
28
25
|
- !ruby/object:Gem::Version
|
@@ -30,7 +27,6 @@ dependencies:
|
|
30
27
|
- !ruby/object:Gem::Dependency
|
31
28
|
name: cabin
|
32
29
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
30
|
requirements:
|
35
31
|
- - ! '>='
|
36
32
|
- !ruby/object:Gem::Version
|
@@ -38,7 +34,6 @@ dependencies:
|
|
38
34
|
type: :runtime
|
39
35
|
prerelease: false
|
40
36
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
37
|
requirements:
|
43
38
|
- - ! '>='
|
44
39
|
- !ruby/object:Gem::Version
|
@@ -46,7 +41,6 @@ dependencies:
|
|
46
41
|
- !ruby/object:Gem::Dependency
|
47
42
|
name: backports
|
48
43
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
44
|
requirements:
|
51
45
|
- - ! '>='
|
52
46
|
- !ruby/object:Gem::Version
|
@@ -54,7 +48,6 @@ dependencies:
|
|
54
48
|
type: :runtime
|
55
49
|
prerelease: false
|
56
50
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
51
|
requirements:
|
59
52
|
- - ! '>='
|
60
53
|
- !ruby/object:Gem::Version
|
@@ -62,7 +55,6 @@ dependencies:
|
|
62
55
|
- !ruby/object:Gem::Dependency
|
63
56
|
name: arr-pm
|
64
57
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
58
|
requirements:
|
67
59
|
- - ~>
|
68
60
|
- !ruby/object:Gem::Version
|
@@ -70,7 +62,6 @@ dependencies:
|
|
70
62
|
type: :runtime
|
71
63
|
prerelease: false
|
72
64
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
65
|
requirements:
|
75
66
|
- - ~>
|
76
67
|
- !ruby/object:Gem::Version
|
@@ -78,7 +69,6 @@ dependencies:
|
|
78
69
|
- !ruby/object:Gem::Dependency
|
79
70
|
name: ftw
|
80
71
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
72
|
requirements:
|
83
73
|
- - ~>
|
84
74
|
- !ruby/object:Gem::Version
|
@@ -86,7 +76,6 @@ dependencies:
|
|
86
76
|
type: :runtime
|
87
77
|
prerelease: false
|
88
78
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
79
|
requirements:
|
91
80
|
- - ~>
|
92
81
|
- !ruby/object:Gem::Version
|
@@ -94,7 +83,6 @@ dependencies:
|
|
94
83
|
- !ruby/object:Gem::Dependency
|
95
84
|
name: clamp
|
96
85
|
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
86
|
requirements:
|
99
87
|
- - ~>
|
100
88
|
- !ruby/object:Gem::Version
|
@@ -102,7 +90,6 @@ dependencies:
|
|
102
90
|
type: :runtime
|
103
91
|
prerelease: false
|
104
92
|
version_requirements: !ruby/object:Gem::Requirement
|
105
|
-
none: false
|
106
93
|
requirements:
|
107
94
|
- - ~>
|
108
95
|
- !ruby/object:Gem::Version
|
@@ -110,7 +97,6 @@ dependencies:
|
|
110
97
|
- !ruby/object:Gem::Dependency
|
111
98
|
name: childprocess
|
112
99
|
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
100
|
requirements:
|
115
101
|
- - ! '>='
|
116
102
|
- !ruby/object:Gem::Version
|
@@ -118,7 +104,20 @@ dependencies:
|
|
118
104
|
type: :runtime
|
119
105
|
prerelease: false
|
120
106
|
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
|
107
|
+
requirements:
|
108
|
+
- - ! '>='
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: ffi
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ! '>='
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: '0'
|
118
|
+
type: :runtime
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
122
121
|
requirements:
|
123
122
|
- - ! '>='
|
124
123
|
- !ruby/object:Gem::Version
|
@@ -126,7 +125,6 @@ dependencies:
|
|
126
125
|
- !ruby/object:Gem::Dependency
|
127
126
|
name: rspec
|
128
127
|
requirement: !ruby/object:Gem::Requirement
|
129
|
-
none: false
|
130
128
|
requirements:
|
131
129
|
- - ! '>='
|
132
130
|
- !ruby/object:Gem::Version
|
@@ -134,7 +132,6 @@ dependencies:
|
|
134
132
|
type: :development
|
135
133
|
prerelease: false
|
136
134
|
version_requirements: !ruby/object:Gem::Requirement
|
137
|
-
none: false
|
138
135
|
requirements:
|
139
136
|
- - ! '>='
|
140
137
|
- !ruby/object:Gem::Version
|
@@ -142,7 +139,6 @@ dependencies:
|
|
142
139
|
- !ruby/object:Gem::Dependency
|
143
140
|
name: insist
|
144
141
|
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
142
|
requirements:
|
147
143
|
- - ~>
|
148
144
|
- !ruby/object:Gem::Version
|
@@ -150,7 +146,6 @@ dependencies:
|
|
150
146
|
type: :development
|
151
147
|
prerelease: false
|
152
148
|
version_requirements: !ruby/object:Gem::Requirement
|
153
|
-
none: false
|
154
149
|
requirements:
|
155
150
|
- - ~>
|
156
151
|
- !ruby/object:Gem::Version
|
@@ -158,7 +153,6 @@ dependencies:
|
|
158
153
|
- !ruby/object:Gem::Dependency
|
159
154
|
name: minitest
|
160
155
|
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
156
|
requirements:
|
163
157
|
- - ! '>='
|
164
158
|
- !ruby/object:Gem::Version
|
@@ -166,7 +160,6 @@ dependencies:
|
|
166
160
|
type: :development
|
167
161
|
prerelease: false
|
168
162
|
version_requirements: !ruby/object:Gem::Requirement
|
169
|
-
none: false
|
170
163
|
requirements:
|
171
164
|
- - ! '>='
|
172
165
|
- !ruby/object:Gem::Version
|
@@ -174,7 +167,6 @@ dependencies:
|
|
174
167
|
- !ruby/object:Gem::Dependency
|
175
168
|
name: pry
|
176
169
|
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
170
|
requirements:
|
179
171
|
- - ! '>='
|
180
172
|
- !ruby/object:Gem::Version
|
@@ -182,7 +174,6 @@ dependencies:
|
|
182
174
|
type: :development
|
183
175
|
prerelease: false
|
184
176
|
version_requirements: !ruby/object:Gem::Requirement
|
185
|
-
none: false
|
186
177
|
requirements:
|
187
178
|
- - ! '>='
|
188
179
|
- !ruby/object:Gem::Version
|
@@ -190,7 +181,6 @@ dependencies:
|
|
190
181
|
- !ruby/object:Gem::Dependency
|
191
182
|
name: stud
|
192
183
|
requirement: !ruby/object:Gem::Requirement
|
193
|
-
none: false
|
194
184
|
requirements:
|
195
185
|
- - ! '>='
|
196
186
|
- !ruby/object:Gem::Version
|
@@ -198,7 +188,6 @@ dependencies:
|
|
198
188
|
type: :development
|
199
189
|
prerelease: false
|
200
190
|
version_requirements: !ruby/object:Gem::Requirement
|
201
|
-
none: false
|
202
191
|
requirements:
|
203
192
|
- - ! '>='
|
204
193
|
- !ruby/object:Gem::Version
|
@@ -213,65 +202,65 @@ extensions: []
|
|
213
202
|
extra_rdoc_files: []
|
214
203
|
files:
|
215
204
|
- lib/fpm.rb
|
216
|
-
- lib/fpm/util.rb
|
217
205
|
- lib/fpm/package.rb
|
206
|
+
- lib/fpm/version.rb
|
207
|
+
- lib/fpm/namespace.rb
|
208
|
+
- lib/fpm/util.rb
|
218
209
|
- lib/fpm/errors.rb
|
219
|
-
- lib/fpm/
|
220
|
-
- lib/fpm/package/
|
221
|
-
- lib/fpm/package/dir.rb
|
210
|
+
- lib/fpm/command.rb
|
211
|
+
- lib/fpm/package/pkgin.rb
|
222
212
|
- lib/fpm/package/tar.rb
|
223
|
-
- lib/fpm/package/
|
224
|
-
- lib/fpm/package/
|
213
|
+
- lib/fpm/package/pyfpm/__init__.pyc
|
214
|
+
- lib/fpm/package/pyfpm/get_metadata.pyc
|
215
|
+
- lib/fpm/package/pyfpm/get_metadata.py
|
216
|
+
- lib/fpm/package/pyfpm/__init__.py
|
217
|
+
- lib/fpm/package/dir.rb
|
225
218
|
- lib/fpm/package/npm.rb
|
219
|
+
- lib/fpm/package/gem.rb
|
220
|
+
- lib/fpm/package/deb.rb
|
221
|
+
- lib/fpm/package/puppet.rb
|
222
|
+
- lib/fpm/package/cpan.rb
|
223
|
+
- lib/fpm/package/python.rb
|
226
224
|
- lib/fpm/package/osxpkg.rb
|
225
|
+
- lib/fpm/package/solaris.rb
|
227
226
|
- lib/fpm/package/rpm.rb
|
227
|
+
- lib/fpm/package/empty.rb
|
228
228
|
- lib/fpm/package/pear.rb
|
229
|
-
- lib/fpm/package/cpan.rb
|
230
|
-
- lib/fpm/package/python.rb
|
231
|
-
- lib/fpm/package/puppet.rb
|
232
|
-
- lib/fpm/package/pyfpm/__init__.pyc
|
233
|
-
- lib/fpm/package/pyfpm/get_metadata.py
|
234
|
-
- lib/fpm/package/pyfpm/get_metadata.pyc
|
235
|
-
- lib/fpm/package/pyfpm/__init__.py
|
236
|
-
- lib/fpm/version.rb
|
237
|
-
- lib/fpm/command.rb
|
238
|
-
- lib/fpm/namespace.rb
|
239
229
|
- bin/fpm
|
240
230
|
- templates/rpm.erb
|
231
|
+
- templates/deb.erb
|
232
|
+
- templates/osxpkg.erb
|
233
|
+
- templates/rpm/filesystem_list
|
234
|
+
- templates/deb/ldconfig.sh.erb
|
241
235
|
- templates/puppet/package.pp.erb
|
242
236
|
- templates/puppet/package/remove.pp.erb
|
243
|
-
- templates/rpm/filesystem_list
|
244
237
|
- templates/solaris.erb
|
245
|
-
- templates/deb/ldconfig.sh.erb
|
246
|
-
- templates/osxpkg.erb
|
247
|
-
- templates/deb.erb
|
248
238
|
- LICENSE
|
249
239
|
- CONTRIBUTORS
|
250
240
|
- CHANGELIST
|
251
241
|
homepage: https://github.com/jordansissel/fpm
|
252
242
|
licenses:
|
253
243
|
- MIT-like
|
244
|
+
metadata: {}
|
254
245
|
post_install_message:
|
255
246
|
rdoc_options: []
|
256
247
|
require_paths:
|
257
248
|
- lib
|
258
249
|
- lib
|
259
250
|
required_ruby_version: !ruby/object:Gem::Requirement
|
260
|
-
none: false
|
261
251
|
requirements:
|
262
252
|
- - ! '>='
|
263
253
|
- !ruby/object:Gem::Version
|
264
254
|
version: '0'
|
265
255
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
266
|
-
none: false
|
267
256
|
requirements:
|
268
257
|
- - ! '>='
|
269
258
|
- !ruby/object:Gem::Version
|
270
259
|
version: '0'
|
271
260
|
requirements: []
|
272
261
|
rubyforge_project:
|
273
|
-
rubygems_version: 1.
|
262
|
+
rubygems_version: 2.1.10
|
274
263
|
signing_key:
|
275
|
-
specification_version:
|
264
|
+
specification_version: 4
|
276
265
|
summary: fpm - package building and mangling
|
277
266
|
test_files: []
|