Pod::Spec.new do |s|
  s.name        = "Sparkle"
  s.version     = "1.27.0"
  s.summary     = "A software update framework for macOS"
  s.description = "Sparkle is an easy-to-use software update framework for Cocoa developers."
  s.homepage    = "http://sparkle-project.org"
  s.documentation_url = "http://sparkle-project.org/documentation/"
  s.screenshot  = "http://sparkle-project.org/images/screenshot-noshadow@2x.png"
  s.license     = {
    :type => 'MIT',
    :file => 'LICENSE'
  }
  s.authors     = {
    'Mayur Pawashe' => 'zorgiepoo@gmail.com',
    'Kornel Lesiński' => 'pornel@pornel.net',
    'Jake Petroules' => 'jake.petroules@petroules.com',
    'C.W. Betts' => 'computers57@hotmail.com',
    'Andy Matuschak' => 'andy@andymatuschak.org',
  }

  s.platform = :osx, '10.7'
  s.source   = { :http => "https://github.com/sparkle-project/Sparkle/releases/download/1.27.0/Sparkle-1.27.0.tar.bz2" }
  s.source_files = 'Sparkle.framework/Versions/A/Headers/*.h'

  s.preserve_paths = 'bin/*'
  s.public_header_files = 'Sparkle.framework/Versions/A/Headers/*.h'
  s.vendored_frameworks  = 'Sparkle.framework'
  s.xcconfig            = {
    'FRAMEWORK_SEARCH_PATHS' => '"${PODS_ROOT}/Sparkle"',
    'LD_RUNPATH_SEARCH_PATHS' => '@loader_path/../Frameworks'
  }
  s.requires_arc        = true
end
