Updated nuspecs to change package Id to OpenTK.Community

This commit is contained in:
Varon 2016-04-30 12:17:45 +02:00
parent 1b6fdd28ca
commit 2e4c34d6a9
3 changed files with 14 additions and 10 deletions

View file

@ -70,18 +70,18 @@
<Output TaskParameter="Lines" ItemName="Version" /> <Output TaskParameter="Lines" ItemName="Version" />
</ReadLinesFromFile> </ReadLinesFromFile>
<!-- Execute nuget script --> <!-- Execute nuget script -->
<Exec Command="nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" /> <Exec Command="nuget.exe pack OpenTK.Community.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
<Exec Command="nuget.exe pack OpenTK.GLControl.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" /> <Exec Command="nuget.exe pack OpenTK.Community.GLControl.nuspec -Version @(Version)" Condition="$(OS) == 'Windows_NT'" />
<Exec Command="mono nuget.exe pack OpenTK.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" /> <Exec Command="mono nuget.exe pack OpenTK.Community.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
<Exec Command="mono nuget.exe pack OpenTK.GLControl.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" /> <Exec Command="mono nuget.exe pack OpenTK.Community.GLControl.nuspec -Version @(Version)" Condition="$(OS) != 'Windows_NT'" />
<!-- Copy the nuget archive to the root directory and add a date stamp --> <!-- Copy the nuget archive to the root directory and add a date stamp -->
<CreateItem Include="OpenTK*.nupkg"> <CreateItem Include="OpenTK.Community*.nupkg">
<Output TaskParameter="Include" ItemName="NugetPackage" /> <Output TaskParameter="Include" ItemName="NugetPackage" />
</CreateItem> </CreateItem>
<Copy SourceFiles="@(NugetPackage)" DestinationFolder="../../" /> <Copy SourceFiles="@(NugetPackage)" DestinationFolder="../../" />
</Target> </Target>
<Target Name="Clean"> <Target Name="Clean">
<CreateItem Include="OpenTK.*.nupkg;lib/**"> <CreateItem Include="OpenTK.Community.*.nupkg;lib/**">
<Output TaskParameter="Include" ItemName="FilesToDelete" /> <Output TaskParameter="Include" ItemName="FilesToDelete" />
</CreateItem> </CreateItem>
<Delete Files="@(FilesToDelete)" /> <Delete Files="@(FilesToDelete)" />
@ -91,8 +91,8 @@
<CallTarget Targets="Build" /> <CallTarget Targets="Build" />
</Target> </Target>
<ItemGroup> <ItemGroup>
<None Include="OpenTK.nuspec" /> <None Include="OpenTK.Community.nuspec" />
<None Include="OpenTK.GLControl.nuspec" /> <None Include="OpenTK.Community.GLControl.nuspec" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Content Include="nuget.exe" /> <Content Include="nuget.exe" />

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>OpenTK.GLControl</id> <id>OpenTK.Community.GLControl</id>
<version>$version$</version> <version>$version$</version>
<authors>The Open Toolkit Team</authors> <authors>The Open Toolkit Team</authors>
<owners>The Open Toolkit Team</owners> <owners>The Open Toolkit Team</owners>
@ -13,6 +13,8 @@
Add OpenGL graphics to your Windows.Forms or WPF application Add OpenGL graphics to your Windows.Forms or WPF application
</summary> </summary>
<description> <description>
This package is community-run and supercedes the old OpenTK.GLControl package.
OpenTK.GLControl is a Windows.Forms Control with OpenGL rendering capabilities. Use it to add OpenTK.GLControl is a Windows.Forms Control with OpenGL rendering capabilities. Use it to add
accelerated 3d graphics to your Windows.Forms or Windows Presentation Foundation (WPF) application. accelerated 3d graphics to your Windows.Forms or Windows Presentation Foundation (WPF) application.

View file

@ -1,7 +1,7 @@
<?xml version="1.0"?> <?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd"> <package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata> <metadata>
<id>OpenTK</id> <id>OpenTK.Community</id>
<version>$version$</version> <version>$version$</version>
<authors>The Open Toolkit Team</authors> <authors>The Open Toolkit Team</authors>
<owners>The Open Toolkit Team</owners> <owners>The Open Toolkit Team</owners>
@ -13,6 +13,8 @@
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL. The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
</summary> </summary>
<description> <description>
This package is community-run and supercedes the old OpenTK package.
The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL. The Open Toolkit library (OpenTK) is an advanced, low-level C# wrapper for OpenGL, OpenGL ES and OpenAL.
It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality. It is suitable for games, scientific visualizations and projects that require 3d graphics, audio or compute functionality.