forked from sam-github/vpim
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vpim.gemspec
81 lines (74 loc) · 2.04 KB
/
vpim.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
require 'ubygems'
require 'pp'
require 'rake'
def info(s)
{
:author => "Sam Roberts",
:email => "[email protected]",
:homepage => "http://vpim.rubyforge.org",
:rubyforge_project => "vpim",
}.each do |k,v|
s.send(k.to_s+"=", v)
end
end
Gem::Specification.new do |s|
s.author = "Sam Roberts"
s.email = "[email protected]"
s.homepage = "http://vpim.rubyforge.org"
s.rubyforge_project = "vpim"
s.name = "vpim"
s.version = '11.11.24'
s.summary = "iCalendar and vCard support for ruby"
s.description = <<'---'
This is a pure-ruby library for decoding and encoding vCard and iCalendar data
("personal information") called vPim.
---
s.has_rdoc = true
s.extra_rdoc_files = ["README", "CHANGES", "COPYING", "samples/README.mutt" ]
candidates = FileList[
'lib/vpim/**/*.rb',
'lib/vpim.rb',
'bin/*',
'samples/*',
'test/test_*.rb',
'COPYING',
'README',
'CHANGES',
].to_a
s.files = candidates
s.test_files = Dir.glob("test/test_*.rb")
s.executables = FileList["bin/*"].map{|path| File.basename(path)}
s.require_path = "lib"
# s.add_dependency("plist")
# s.autorequire = "vpim"
end
#pp [spec_vpim, spec_vpim.instance_variables]
=begin
Gem::Specification.new do |s|
s.author = "Sam Roberts"
s.email = "[email protected]"
s.homepage = "http://vpim.rubyforge.org"
s.rubyforge_project = "vpim"
s.name = "vpim_icalendar"
s.version = "1.1"
s.summary = "Virtual gem depending on vPim's iCalendar support for ruby"
s.description = <<'---'
This is a virtual gem, it exists to depend on vPim, which provides iCalendar
support for ruby. You can install vPim directly.
---
s.add_dependency("vpim")
end
=end
#require 'hoe'
#
#Hoe.new(spec_vpim.name, spec_vpim.version) do |p|
# p.rubyforge_name = "vpim"
# p.remote_rdoc_dir = '' # Release to root
#end
#
=begin
if $0==__FILE__
Gem::Builder.new(spec_vpim).build
Gem::Builder.new(spec_vpim_icalendar).build
end
=end