Skip to content

Instantly share code, notes, and snippets.

@ricobeck
Last active January 4, 2016 05:29
Show Gist options
  • Save ricobeck/8575229 to your computer and use it in GitHub Desktop.
Save ricobeck/8575229 to your computer and use it in GitHub Desktop.
Pod::Spec.new do |s|
s.name = "Sparkle"
s.version = "0.1.0"
s.summary = "A software update framework for the Mac"
s.description = <<-DESC
Sparkle is an easy-to-use software update framework for Cocoa developers.
* True self-updating--no work required from the user.
* Displays release notes to the user via WebKit.
* Displays a detailed progress window to the user.
* Supports authentication for installing in secure locations.
* Really, really easy to install.
* Uses appcasts for release information.
* The user can choose to automatically download and install all updates.
* Seamless integration—there's no mention of Sparkle; your icons and app name are used.
* Supports DSA signatures for ultra-secure updates.
* Sparkle requires no code in your app, so it's trivial to upgrade or remove the module.
DESC
s.homepage = "http://sparkle.andymatuschak.org"
s.license = 'MIT'
s.author = { "Andy Matuschak" => "andy@andymatuschak.org" }
s.source = { :git => "https://github.com/andymatuschak/Sparkle.git", :branch => 'CodeSigning' }
s.osx.deployment_target = '10.8'
s.requires_arc = false
s.prefix_header_file = 'Sparkle.pch'
s.xcconfig = { 'HEADER_SEARCH_PATHS' => '/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include', 'INSTALL_PATH' => '@loader_path/../Frameworks', 'DYLIB_COMPATIBILITY_VERSION' => '1.5', 'DYLIB_CURRENT_VERSION' => '1.5', 'PRODUCT_NAME' => 'Sparkle', 'WRAPPER_EXTENSION' => 'framework', 'FRAMEWORK_VERSION' => 'A', 'INFOPLIST_FILE' => 'Info.plist', 'STRIP_INSTALLED_PRODUCT' => 'YES', 'DEPLOYMENT_POSTPROCESSING' => 'YES', 'STRIPFLAGS' => '-u -r', 'STRIP_STYLE' => 'non-global', 'SEPARATE_STRIP' => 'YES' }
s.osx.source_files = "SUBinaryDeltaCommon.h", "SUBinaryDeltaApply.h", "SUUpdater.h", "SUVersionDisplayProtocol.h", "SUAppcast.h", "SUAppcastItem.h", "Sparkle.h", "SUVersionComparisonProtocol.h", "SUUpdateAlert.h", "SUStatusController.h", "SUDSAVerifier.h", "SUPlainInstallerInternals.h", "SUConstants.h", "SUUnarchiver.h", "SUAutomaticUpdateAlert.h", "SUStandardVersionComparator.h", "SUSystemProfiler.h", "NTSynchronousTask.h", "SUUpdatePermissionPrompt.h", "SUWindowController.h", "SUInstaller.h", "SUPlainInstaller.h", "SUPackageInstaller.h", "SUBasicUpdateDriver.h", "SUUIBasedUpdateDriver.h", "SUAutomaticUpdateDriver.h", "SUScheduledUpdateDriver.h", "SUUpdateDriver.h", "SUProbingUpdateDriver.h", "Tests/SUVersionComparisonTest.h", "SUUserInitiatedUpdateDriver.h", "SUPipedUnarchiver.h", "SUDiskImageUnarchiver.h", "SUUnarchiver_Private.h", "SUHost.h", "SUBinaryDeltaUnarchiver.h", "bspatch.h", "SULog.h", "SUUpdater_Private.h", "SUPasswordPrompt.h", "SUCodeSigningVerifier.h", "SUUpdater.m", "SUPlainInstallerInternals.m", "SUAppcast.m", "SUAppcastItem.m", "SUUpdateAlert.m", "SUStatusController.m", "SUDSAVerifier.m", "SUConstants.m", "SUUnarchiver.m", "SUAutomaticUpdateAlert.m", "NTSynchronousTask.m", "SUStandardVersionComparator.m", "SUSystemProfiler.m", "SUUpdatePermissionPrompt.m", "SUWindowController.m", "SUInstaller.m", "SUPlainInstaller.m", "SUPackageInstaller.m", "SUBasicUpdateDriver.m", "SUUIBasedUpdateDriver.m", "SUAutomaticUpdateDriver.m", "SUScheduledUpdateDriver.m", "SUUpdateDriver.m", "SUProbingUpdateDriver.m", "SUUserInitiatedUpdateDriver.m", "SUDiskImageUnarchiver.m", "SUUnarchiver_Private.m", "SUPipedUnarchiver.m", "SUHost.m", "bspatch.c", "SUBinaryDeltaApply.m", "SUBinaryDeltaCommon.m", "SUBinaryDeltaUnarchiver.m", "SULog.m", "SUPasswordPrompt.m", "SUCodeSigningVerifier.m"
s.osx.resources = "finish_installation.pch", "License.txt", "SUModelTranslation.plist", "**/*.xib", "**/*.strings"
s.public_header_files = "SUUpdater.h", "SUVersionDisplayProtocol.h", "SUAppcast.h", "SUAppcastItem.h", "Sparkle.h", "SUVersionComparisonProtocol.h"
s.frameworks = 'Security', 'WebKit', 'IOKit', 'SystemConfiguration'
s.libraries = 'bz2', 'xar.1', 'z'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment