forked from sup-heliotrope/sup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sup.gemspec
67 lines (58 loc) · 2.55 KB
/
sup.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
lib = File.expand_path("../lib", __FILE__)
$:.unshift(lib) unless $:.include?(lib)
require 'sup/version'
# Files
SUP_EXECUTABLES = %w(sup sup-add sup-config sup-dump sup-import-dump
sup-recover-sources sup-sync sup-sync-back-maildir sup-tweak-labels
sup-psych-ify-config-files)
SUP_EXTRA_FILES = %w(CONTRIBUTORS README.md LICENSE History.txt ReleaseNotes)
SUP_FILES =
SUP_EXTRA_FILES +
SUP_EXECUTABLES.map { |f| "bin/#{f}" } +
Dir["lib/**/*.rb"]
module Redwood
Gemspec = Gem::Specification.new do |s|
s.name = "sup"
s.version = ENV["REL"] || (::Redwood::VERSION == "git" ? "999" : ::Redwood::VERSION)
s.date = Time.now.strftime "%Y-%m-%d"
s.authors = ["William Morgan", "Gaute Hope", "Hamish Downer", "Matthieu Rakotojaona"]
s.email = "[email protected]"
s.summary = "A console-based email client with the best features of GMail, mutt and Emacs"
s.homepage = "http://supmua.org"
s.description = <<-DESC
Sup is a console-based email client for people with a lot of email.
* GMail-like thread-centered archiving, tagging and muting
* Handling mail from multiple mbox and Maildir sources
* Blazing fast full-text search with a rich query language
* Multiple accounts - pick the right one when sending mail
* Ruby-programmable hooks
* Automatically tracking recent contacts
DESC
s.license = 'GPL-2'
# TODO: might want to add index migrating script here, too
s.post_install_message = <<-EOF
SUP: If you are upgrading Sup from before version 0.14.0: Please
run `sup-psych-ify-config-files` to migrate from 0.13.
Check https://github.com/sup-heliotrope/sup/wiki/Migration-0.13-to-0.14
for more detailed and up-to-date instructions.
EOF
s.files = SUP_FILES
s.executables = SUP_EXECUTABLES
s.required_ruby_version = '>= 1.9.3'
s.add_runtime_dependency "xapian-ruby", "~> 1.2.15"
s.add_runtime_dependency "ncursesw", "~> 1.4.0"
s.add_runtime_dependency "rmail-sup", "~> 1.0.1"
s.add_runtime_dependency "highline"
s.add_runtime_dependency "trollop", ">= 1.12"
s.add_runtime_dependency "lockfile"
s.add_runtime_dependency "mime-types", "~> 1.0"
s.add_runtime_dependency "locale", "~> 2.0"
s.add_runtime_dependency "chronic", "~> 0.9.1"
s.add_runtime_dependency "unicode", "~> 0.4.4"
s.add_development_dependency "bundler", "~> 1.3"
s.add_development_dependency "rake"
s.add_development_dependency "minitest", "~> 4.7"
s.add_development_dependency "rr", "~> 1.0.5"
s.add_development_dependency "gpgme", ">= 2.0.2"
end
end