-
Notifications
You must be signed in to change notification settings - Fork 96
/
sup.gemspec
73 lines (62 loc) · 3.13 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
68
69
70
71
72
73
$:.push File.expand_path("../lib", __FILE__)
require 'sup/version'
Gem::Specification.new do |s|
s.name = "sup"
s.version = ENV["REL"] || (/-git-/ =~ ::Redwood::VERSION ? "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 = "https://sup-heliotrope.github.io/"
s.license = 'GPL-2.0'
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.post_install_message = <<-EOF
SUP: please note that our old mailing lists have been shut down,
re-subscribe to [email protected] to discuss and follow
updates on sup (send email to: [email protected]).
OpenBSD users:
If your operating system is OpenBSD you have some
additional, manual steps to do before Sup will work, see:
https://github.com/sup-heliotrope/sup/wiki/Installation%3A-OpenBSD.
EOF
s.files = File.read("Manifest.txt").split
s.executables = s.files.grep(%r{^bin/}) { |f| File.basename(f) }
s.test_files = s.files.grep(%r{^(test|spec|features)/})
s.require_paths = ["lib"]
s.extra_rdoc_files = Dir.glob("man/*")
s.required_ruby_version = '>= 2.0.0'
# this is here to support skipping the xapian-ruby installation on OpenBSD
# because the xapian-ruby gem doesn't install on OpenBSD, you must install
# xapian-core and xapian-bindings manually on OpenBSD
# see https://github.com/sup-heliotrope/sup/wiki/Installation%3A-OpenBSD
# and https://en.wikibooks.org/wiki/Ruby_Programming/RubyGems#How_to_install_different_versions_of_gems_depending_on_which_version_of_ruby_the_installee_is_using
s.extensions = %w[ext/mkrf_conf_xapian.rb]
## remember to update the xapian dependency in
## ext/mkrf_conf_xapian.rb and Gemfile.
s.add_runtime_dependency "ncursesw", "~> 1.4.0"
s.add_runtime_dependency "rmail", ">= 1.1.2", "< 2"
s.add_runtime_dependency "highline"
s.add_runtime_dependency "optimist"
s.add_runtime_dependency "lockfile"
s.add_runtime_dependency "mime-types", "> 2.0"
s.add_runtime_dependency "locale", "~> 2.0"
s.add_runtime_dependency "chronic"
s.add_runtime_dependency "unicode", "~> 0.4.4"
s.add_runtime_dependency "unicode-display_width"
s.add_runtime_dependency "string-scrub" if /^2\.0\./ =~ RUBY_VERSION
s.add_development_dependency "bundler", ">= 1.3", "< 3"
s.add_development_dependency "rake"
s.add_development_dependency 'minitest', '~> 5.5'
s.add_development_dependency "rr", "~> 1.1"
s.add_development_dependency "gpgme", ">= 2.0.2"
s.add_development_dependency "pry"
s.add_development_dependency "rubocop-packaging" unless /^2\.[012]\./ =~ RUBY_VERSION
end