Skip to content

Commit

Permalink
Move and update .nuspecs
Browse files Browse the repository at this point in the history
Move .nuspec files from Tools/ to alongside each library.

Remove VERSION from the filenames.

Replace VERSION token with '$version$', which can be substituted by
passing -Properties to NuGet. (Actually, we can just pass -Version
to NuGet. Either works.)

Update owner to 'google-apis-packages'.

Update paths to binaries to reflect moves.

Change 'netcore45' to 'win81' in targets, to make the moniker consistent and
because the .Windows projects were actually targeting Windows 8.1 anyway.
  • Loading branch information
mmdriley committed Jan 11, 2016
1 parent 21f1367 commit d7ceb33
Show file tree
Hide file tree
Showing 7 changed files with 417 additions and 417 deletions.
404 changes: 202 additions & 202 deletions ...Google.Apis.Release/Resources/License.txt → Resources/License.txt

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis.Auth.Mvc</id>
<version>VERSION</version>
<title>Google APIs Auth MVC Extensions</title>
<authors>Google Inc.</authors>
<owners>peleyal</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://developers.google.com/api-client-library/dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
The Google APIs Client Library is a runtime client for working with Google Services.
The ASP.NET MVC extension library contains an auth controller and an authorization code MVC App to make the OAuth2 "dance" easier.
</description>
<tags>Google</tags>
<dependencies>
<dependency id="Google.Apis.Auth" version="VERSION" />
</dependencies>
</metadata>
<files>
<file src="Src\GoogleApis.Auth.Mvc4\bin\ReleaseSigned\Google.Apis.Auth.Mvc4.dll" target="lib\net40\Google.Apis.Auth.Mvc4.dll" />
<file src="Src\GoogleApis.Auth.Mvc4\bin\ReleaseSigned\Google.Apis.Auth.Mvc4.pdb" target="lib\net40\Google.Apis.Auth.Mvc4.pdb" />
<file src="Src\GoogleApis.Auth.Mvc4\bin\ReleaseSigned\Google.Apis.Auth.Mvc4.xml" target="lib\net40\Google.Apis.Auth.Mvc4.xml" />

<file src="Resources\License.txt" target="License.txt" />
</files>
</package>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis.Auth.Mvc</id>
<version>$version$</version>
<title>Google APIs Auth MVC Extensions</title>
<authors>Google Inc.</authors>
<owners>google-apis-packages</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://developers.google.com/api-client-library/dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
The Google APIs Client Library is a runtime client for working with Google Services.
The ASP.NET MVC extension library contains an auth controller and an authorization code MVC App to make the OAuth2 "dance" easier.
</description>
<tags>Google</tags>
<dependencies>
<dependency id="Google.Apis.Auth" version="$version$" />
</dependencies>
</metadata>
<files>
<file src="Src\Support\GoogleApis.Auth.Mvc4\bin\ReleaseSigned\Google.Apis.Auth.Mvc4.dll" target="lib\net40\Google.Apis.Auth.Mvc4.dll" />
<file src="Src\Support\GoogleApis.Auth.Mvc4\bin\ReleaseSigned\Google.Apis.Auth.Mvc4.pdb" target="lib\net40\Google.Apis.Auth.Mvc4.pdb" />
<file src="Src\Support\GoogleApis.Auth.Mvc4\bin\ReleaseSigned\Google.Apis.Auth.Mvc4.xml" target="lib\net40\Google.Apis.Auth.Mvc4.xml" />

<file src="Resources\License.txt" target="License.txt" />
</files>
</package>
72 changes: 72 additions & 0 deletions Src/Support/GoogleApis.Auth/Google.Apis.Auth.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Google.Apis.Auth</id>
<version>$version$</version>
<title>Google APIs Auth Client Library</title>
<authors>Google Inc.</authors>
<owners>google-apis-packages</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://developers.google.com/api-client-library/dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
The Google APIs Client Library is a runtime client for working with Google services.
This package includes auth components like user-credential, authorization code flow, etc. for making authenticated calls using the OAuth2 spec.

Supported Platforms:

- .NET Framework 4

- Windows Store apps

- Windows Phone 8 and 8.1

- Portable Class Libraries
</description>
<tags>Google</tags>
<dependencies>
<group>
<dependency id="Google.Apis.Core" version="$version$" />
</group>
<group targetFramework=".NETFramework4.0">
<dependency id="BouncyCastle" version="1.7.0" />
<dependency id="Google.Apis.Core" version="$version$" />
</group>
</dependencies>
</metadata>
<files>
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.dll" target="lib\net40\Google.Apis.Auth.dll" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.pdb" target="lib\net40\Google.Apis.Auth.pdb" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.xml" target="lib\net40\Google.Apis.Auth.xml" />
<file src="Src\Support\GoogleApis.Auth.DotNet4\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.dll" target="lib\net40\Google.Apis.Auth.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.Auth.DotNet4\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.pdb" target="lib\net40\Google.Apis.Auth.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.Auth.DotNet4\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.xml" target="lib\net40\Google.Apis.Auth.PlatformServices.xml" />

<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.dll" target="lib\win81\Google.Apis.Auth.dll" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.pdb" target="lib\win81\Google.Apis.Auth.pdb" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.xml" target="lib\win81\Google.Apis.Auth.xml" />
<file src="Src\Support\GoogleApis.Auth.Windows\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.dll" target="lib\win81\Google.Apis.Auth.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.Auth.Windows\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.pdb" target="lib\win81\Google.Apis.Auth.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.Auth.Windows\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.xml" target="lib\win81\Google.Apis.Auth.PlatformServices.xml" />

<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.dll" target="lib\wp8\Google.Apis.Auth.dll" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.pdb" target="lib\wp8\Google.Apis.Auth.pdb" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.xml" target="lib\wp8\Google.Apis.Auth.xml" />
<file src="Src\Support\GoogleApis.Auth.WP\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.dll" target="lib\wp8\Google.Apis.Auth.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.Auth.WP\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.pdb" target="lib\wp8\Google.Apis.Auth.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.Auth.WP\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.xml" target="lib\wp8\Google.Apis.Auth.PlatformServices.xml" />

<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.dll" target="lib\wpa81\Google.Apis.Auth.dll" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.pdb" target="lib\wpa81\Google.Apis.Auth.pdb" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.xml" target="lib\wpa81\Google.Apis.Auth.xml" />
<file src="Src\Support\GoogleApis.Auth.WP81\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.dll" target="lib\wpa81\Google.Apis.Auth.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.Auth.WP81\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.pdb" target="lib\wpa81\Google.Apis.Auth.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.Auth.WP81\bin\ReleaseSigned\Google.Apis.Auth.PlatformServices.xml" target="lib\wpa81\Google.Apis.Auth.PlatformServices.xml" />

<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.dll" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Auth.dll" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.pdb" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Auth.pdb" />
<file src="Src\Support\GoogleApis.Auth\Portable\bin\ReleaseSigned\Google.Apis.Auth.xml" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Auth.xml" />

<file src="Resources\License.txt" target="License.txt" />
</files>
</package>
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis.Core</id>
<version>VERSION</version>
<title>Google APIs Core Client Library</title>
<authors>Google Inc.</authors>
<owners>peleyal</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://developers.google.com/api-client-library/dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on.

Supported Platforms:

- .NET Framework 4

- Windows Store apps

- Windows Phone 8 and 8.1

- Portable Class Libraries
</description>
<tags>Google</tags>
<dependencies>
<dependency id="Microsoft.Bcl" version="1.1.10" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
<dependency id="Newtonsoft.Json" version="7.0.1" />
</dependencies>
</metadata>
<files>
<file src="Src\GoogleApis.Core\bin\ReleaseSigned\Google.Apis.Core.dll" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Core.dll" />
<file src="Src\GoogleApis.Core\bin\ReleaseSigned\Google.Apis.Core.pdb" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Core.pdb" />
<file src="Src\GoogleApis.Core\bin\ReleaseSigned\Google.Apis.Core.xml" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Core.xml" />

<file src="Resources\License.txt" target="License.txt" />
</files>
</package>
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis.Core</id>
<version>$version$</version>
<title>Google APIs Core Client Library</title>
<authors>Google Inc.</authors>
<owners>google-apis-packages</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://developers.google.com/api-client-library/dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
The Google APIs Core Library contains the Google APIs HTTP layer, JSON support, Data-store, logging and so on.

Supported Platforms:

- .NET Framework 4

- Windows Store apps

- Windows Phone 8 and 8.1

- Portable Class Libraries
</description>
<tags>Google</tags>
<dependencies>
<dependency id="Microsoft.Bcl" version="1.1.10" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
<dependency id="Newtonsoft.Json" version="7.0.1" />
</dependencies>
</metadata>
<files>
<file src="Src\Support\GoogleApis.Core\Portable\bin\ReleaseSigned\Google.Apis.Core.dll" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Core.dll" />
<file src="Src\Support\GoogleApis.Core\Portable\bin\ReleaseSigned\Google.Apis.Core.pdb" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Core.pdb" />
<file src="Src\Support\GoogleApis.Core\Portable\bin\ReleaseSigned\Google.Apis.Core.xml" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.Core.xml" />

<file src="Resources\License.txt" target="License.txt" />
</files>
</package>
74 changes: 74 additions & 0 deletions Src/Support/GoogleApis/Google.Apis.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>Google.Apis</id>
<version>$version$</version>
<title>Google APIs Client Library</title>
<authors>Google Inc.</authors>
<owners>google-apis-packages</owners>
<licenseUrl>http://www.apache.org/licenses/LICENSE-2.0</licenseUrl>
<projectUrl>https://developers.google.com/api-client-library/dotnet</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>
The Google APIs Client Library is a runtime client for working with Google services.
The library supports service requests, media upload and download, etc.

Supported Platforms:

- .NET Framework 4

- Windows Store apps

- Windows Phone 8 and 8.1

- Portable Class Libraries
</description>
<tags>Google</tags>
<dependencies>
<group>
<dependency id="Google.Apis.Core" version="$version$" />
<dependency id="Zlib.Portable.Signed" version="1.11.0" />
</group>
<group targetFramework="net40">
<dependency id="Google.Apis.Core" version="$version$" />
<dependency id="log4net" version="2.0.3" />
<dependency id="Zlib.Portable.Signed" version="1.11.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.dll" target="lib\net40\Google.Apis.dll" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.pdb" target="lib\net40\Google.Apis.pdb" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.xml" target="lib\net40\Google.Apis.xml" />
<file src="Src\Support\GoogleApis.DotNet4\bin\ReleaseSigned\Google.Apis.PlatformServices.dll" target="lib\net40\Google.Apis.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.DotNet4\bin\ReleaseSigned\Google.Apis.PlatformServices.pdb" target="lib\net40\Google.Apis.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.DotNet4\bin\ReleaseSigned\Google.Apis.PlatformServices.xml" target="lib\net40\Google.Apis.PlatformServices.xml" />

<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.dll" target="lib\win81\Google.Apis.dll" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.pdb" target="lib\win81\Google.Apis.pdb" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.xml" target="lib\win81\Google.Apis.xml" />
<file src="Src\Support\GoogleApis.Windows\bin\ReleaseSigned\Google.Apis.PlatformServices.dll" target="lib\win81\Google.Apis.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.Windows\bin\ReleaseSigned\Google.Apis.PlatformServices.pdb" target="lib\win81\Google.Apis.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.Windows\bin\ReleaseSigned\Google.Apis.PlatformServices.xml" target="lib\win81\Google.Apis.PlatformServices.xml" />

<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.dll" target="lib\wp8\Google.Apis.dll" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.pdb" target="lib\wp8\Google.Apis.pdb" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.xml" target="lib\wp8\Google.Apis.xml" />
<file src="Src\Support\GoogleApis.WP\bin\ReleaseSigned\Google.Apis.PlatformServices.dll" target="lib\wp8\Google.Apis.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.WP\bin\ReleaseSigned\Google.Apis.PlatformServices.pdb" target="lib\wp8\Google.Apis.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.WP\bin\ReleaseSigned\Google.Apis.PlatformServices.xml" target="lib\wp8\Google.Apis.PlatformServices.xml" />

<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.dll" target="lib\wpa81\Google.Apis.dll" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.pdb" target="lib\wpa81\Google.Apis.pdb" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.xml" target="lib\wpa81\Google.Apis.xml" />
<file src="Src\Support\GoogleApis.WP81\bin\ReleaseSigned\Google.Apis.PlatformServices.dll" target="lib\wpa81\Google.Apis.PlatformServices.dll" />
<file src="Src\Support\GoogleApis.WP81\bin\ReleaseSigned\Google.Apis.PlatformServices.pdb" target="lib\wpa81\Google.Apis.PlatformServices.pdb" />
<file src="Src\Support\GoogleApis.WP81\bin\ReleaseSigned\Google.Apis.PlatformServices.xml" target="lib\wpa81\Google.Apis.PlatformServices.xml" />

<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.dll" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.dll" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.pdb" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.pdb" />
<file src="Src\Support\GoogleApis\Portable\bin\ReleaseSigned\Google.Apis.xml" target="lib\portable-net40+sl50+win+wpa81+wp80\Google.Apis.xml" />

<file src="Resources\License.txt" target="License.txt" />
</files>
</package>
Loading

0 comments on commit d7ceb33

Please sign in to comment.