From 4215a0a1592bdf220d52f99814b7aed303528bb9 Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Wed, 3 Feb 2016 19:09:24 +0200 Subject: LICENSE, podspec --- scripts/pugixml.podspec | 14 ++++++++++++++ scripts/push_to_cocoapods.sh | 4 ++++ 2 files changed, 18 insertions(+) create mode 100644 scripts/pugixml.podspec create mode 100755 scripts/push_to_cocoapods.sh (limited to 'scripts') diff --git a/scripts/pugixml.podspec b/scripts/pugixml.podspec new file mode 100644 index 0000000..5793f81 --- /dev/null +++ b/scripts/pugixml.podspec @@ -0,0 +1,14 @@ +Pod::Spec.new do |s| + s.name = "pugixml" + s.version = "1.7" + s.summary = "C++ XML parser library." + s.homepage = "http://pugixml.org" + s.license = 'MIT' + s.author = { "Arseny Kapoulkine" => "arseny.kapoulkine@gmail.com" } + s.platform = :ios, "7.0" + + s.source = { :git => "git@github.com:zeux/pugixml.git", :tag => "v" + s.version.to_s } + + s.source_files = "src/**/*.{hpp,cpp}" + s.header_mappings_dir = "src" +end diff --git a/scripts/push_to_cocoapods.sh b/scripts/push_to_cocoapods.sh new file mode 100755 index 0000000..d582ea4 --- /dev/null +++ b/scripts/push_to_cocoapods.sh @@ -0,0 +1,4 @@ +#!/bin/bash + +#Push to igagis repo for now +pod repo push igagis pugixml.podspec --use-libraries --verbose -- cgit v1.2.3 From b709f15d187ad80f863a33fdaee48e38649922ae Mon Sep 17 00:00:00 2001 From: Ivan Gagis Date: Wed, 3 Feb 2016 19:29:40 +0200 Subject: embed license to podspec, as LICENSE file is not in 1.7 tag, cocoapods errors otherwise. Get sources from zeux github --- scripts/pugixml.podspec | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/pugixml.podspec b/scripts/pugixml.podspec index 5793f81..22ef490 100644 --- a/scripts/pugixml.podspec +++ b/scripts/pugixml.podspec @@ -3,11 +3,34 @@ Pod::Spec.new do |s| s.version = "1.7" s.summary = "C++ XML parser library." s.homepage = "http://pugixml.org" - s.license = 'MIT' + s.license = { :type => 'MIT', :text => <<-qwertyuiop +The MIT License (MIT) + +Copyright (c) 2006-2015 Arseny Kapoulkine + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. +qwertyuiop +} s.author = { "Arseny Kapoulkine" => "arseny.kapoulkine@gmail.com" } s.platform = :ios, "7.0" - s.source = { :git => "git@github.com:zeux/pugixml.git", :tag => "v" + s.version.to_s } + s.source = { :git => "https://github.com/zeux/pugixml.git", :tag => "v" + s.version.to_s } s.source_files = "src/**/*.{hpp,cpp}" s.header_mappings_dir = "src" -- cgit v1.2.3