summaryrefslogtreecommitdiff
path: root/chef-universal-mingw32.gemspec
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2016-04-17 09:34:29 -0700
committerJohn Keiser <john@johnkeiser.com>2016-04-18 14:21:02 -0700
commit01cf3ef2a85d3190b0bd46835ff6ae37f830764a (patch)
treeb15fc1934d56c4449101b10d074b72e26a4884e3 /chef-universal-mingw32.gemspec
parent31f9ada8660a2831204aca436e343b6a10b103cd (diff)
downloadchef-01cf3ef2a85d3190b0bd46835ff6ae37f830764a.tar.gz
Remove Gemfile.windows and put both platforms in Gemfile.lock
Diffstat (limited to 'chef-universal-mingw32.gemspec')
-rw-r--r--chef-universal-mingw32.gemspec24
1 files changed, 24 insertions, 0 deletions
diff --git a/chef-universal-mingw32.gemspec b/chef-universal-mingw32.gemspec
new file mode 100644
index 0000000000..a4f086cfaf
--- /dev/null
+++ b/chef-universal-mingw32.gemspec
@@ -0,0 +1,24 @@
+gemspec = eval(IO.read(File.expand_path("../chef.gemspec", __FILE__)))
+
+gemspec.platform = Gem::Platform.new(%w{universal mingw32})
+
+gemspec.add_dependency "ffi", "~> 1.9"
+gemspec.add_dependency "win32-api", "~> 1.5.3"
+gemspec.add_dependency "win32-dir", "~> 0.5.0"
+gemspec.add_dependency "win32-event", "~> 0.6.1"
+# Hard pin on win32-eventlog until djberg96/win32-eventlog#20 is resolved.
+# win32-eventlog was stomping over the CreateEvent FFI bindings that
+# win32-service needed, causing the chef service to not run.
+gemspec.add_dependency "win32-eventlog", "0.6.3"
+gemspec.add_dependency "win32-mmap", "~> 0.4.1"
+gemspec.add_dependency "win32-mutex", "~> 0.4.2"
+gemspec.add_dependency "win32-process", "~> 0.8.2"
+gemspec.add_dependency "win32-service", "~> 0.8.7"
+gemspec.add_dependency "windows-api", "~> 0.4.4"
+gemspec.add_dependency "wmi-lite", "~> 1.0"
+gemspec.extensions << "ext/win32-eventlog/Rakefile"
+gemspec.files += %w{ext/win32-eventlog/Rakefile ext/win32-eventlog/chef-log.man}
+
+gemspec.executables += %w{ chef-service-manager chef-windows-service }
+
+gemspec