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
|
Gem::Specification.new do |s|
s.name = %{archive-tar-minitar}
s.version = %{0.5.1}
s.author = %{Austin Ziegler, Mauricio Fernandez}
s.email = %{minitar@halostatue.ca}
s.homepage = %{http://rubyforge.org/projects/ruwiki/}
s.rubyforge_project = %{ruwiki}
s.files = Dir.glob("**/*").delete_if do |item|
item.include?("CVS") or item.include?(".svn") or
item == "install.rb" or item =~ /~$/ or
item =~ /gem(?:spec)?$/
end
s.summary = %{Provides POSIX tarchive management from Ruby programs.}
s.platform = Gem::Platform::RUBY
s.required_ruby_version = %(>=1.8.1)
s.executables = %w(minitar)
s.bindir = %(bin)
s.test_files = %w{tests/testall.rb}
s.require_paths = %w{lib}
description = []
File.open("README") do |file|
file.each do |line|
line.chomp!
break if line.empty?
description << "#{line.gsub(/\[\d\]/, '')}"
end
end
s.description = description[2..-1].join(" ")
s.has_rdoc = true
s.rdoc_options = ["--title", "Archive::Tar::MiniTar -- A POSIX tarchive library", "--main", "README", "--line-numbers"]
s.extra_rdoc_files = %w(README ChangeLog Install)
end
|