-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathmini_exiftool.gemspec
49 lines (39 loc) · 1.93 KB
/
mini_exiftool.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
# encoding: utf-8
require_relative 'lib/mini_exiftool'
Gem::Specification.new do |s|
s.name = 'mini_exiftool'
s.version = MiniExiftool::VERSION
s.author = 'Jan Friedrich'
s.email = '[email protected]'
s.license = 'LGPL-2.1'
s.summary = 'This library is a wrapper for the ExifTool command-line application (https://exiftool.org).'
s.description = <<~END
This library is a wrapper for the ExifTool command-line application\n(https://exiftool.org) written by Phil Harvey.
It provides the full power of ExifTool to Ruby: reading and writing of\nEXIF-data, IPTC-data and XMP-data.
END
s.homepage = 'https://github.com/janfri/mini_exiftool'
s.metadata = {
'source_code_uri' => s.homepage
}
s.require_paths = 'lib'
s.files = %w[COPYING Changelog README.md Tutorial.md] + Dir['examples/**/*'] + Dir['lib/*.rb']
s.post_install_message = <<~END
+-----------------------------------------------------------------------+
| Please ensure you have installed exiftool at least version 7.65 |
| and it's found in your PATH (Try 'exiftool -ver' on your commandline).|
| For more details see |
| https://exiftool.org/install.html |
| You need also Ruby 2.3 or higher. |
| If you need support for Ruby < 2.3 or exiftool < 7.65 then install |
| mini_exiftool version < 2.0.0. |
+-----------------------------------------------------------------------+
END
s.required_ruby_version = '>= 2.3'
s.requirements << 'exiftool, version >= 7,65'
s.add_runtime_dependency('ostruct', '>= 0.6.0')
s.add_runtime_dependency('pstore', '>= 0.1.3')
s.add_development_dependency('rake', '>= 0')
s.add_development_dependency('rim', '~> 3.0')
s.add_development_dependency('test-unit', '>= 0')
s.add_development_dependency('regtest', '~> 2')
end