Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add libzmq nuspec file.

- Modify packaging script to package libzmq dlls and version info
  • Loading branch information...
commit 73e3928f91ed8273d2e3e16b975043a843013dcd 1 parent 7ff7c99
@jgoz jgoz authored
View
3  build.cmd
@@ -1,3 +1,4 @@
-cd src
+pushd src
%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\msbuild build.proj
+popd
if errorlevel 1 pause
View
7 package.cmd
@@ -4,6 +4,7 @@ setlocal
set MSBUILD_EXE=%SYSTEMROOT%\Microsoft.NET\Framework\v4.0.30319\msbuild
set NUGET_EXE=src\.nuget\nuget.exe
set NUSPEC=src\.nuget\clrzmq.nuspec
+set LIBZMQ_NUSPEC=src\.nuget\libzmq.nuspec
set VERSION_INFO_CS=src\Shared\VersionInfo.cs
set LIBZMQVER_TXT=src\libzmq-version.txt
@@ -12,7 +13,8 @@ set /p VERSION=Enter version (e.g. 1.0):
set /p BUILD=Enter a build (e.g. 11234):
set /p REVISION=Enter a revision (e.g. 7):
set /p MATURITY=Enter maturity (e.g. alpha1, rc1, or blank for Release):
-set /p LIBZMQVER=Enter libzmq version (e.g. 3.1.1, 21571cf):
+set /p LIBZMQVER=Enter libzmq version (e.g. 3.1.1):
+set /p LIBZMQCOMMIT=Enter libzmq commit (e.g. 21571cf, blank if N/A):
if not defined MATURITY (
set MATURITY=Release
@@ -32,10 +34,13 @@ echo [assembly: AssemblyConfiguration("%MATURITY%")] >> %VERSION_INFO_CS%
:: libzmq version info
echo %LIBZMQVER% > %LIBZMQVER_TXT%
+if defined LIBZMQCOMMIT (echo Git: %LIBZMQCOMMIT% >> %LIBZMQVER_TXT%)
%MSBUILD_EXE% src\build.proj /target:Package /Property:Configuration=Release /Property:SignAssembly=true
%NUGET_EXE% Pack %NUSPEC% -Version %VERSION%.%REVISION%%PRERELEASE% -OutputDirectory publish -BasePath .
+%NUGET_EXE% Pack %LIBZMQ_NUSPEC% -Version %LIBZMQVER% -OutputDirectory publish -BasePath .
+
copy LICENSE publish
:: Clean up
View
24 src/.nuget/libzmq.nuspec
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
+ <metadata>
+ <id>libzmq</id>
+ <version>0.0.0</version>
+ <authors>zeromq</authors>
+ <owners>John Gozde</owners>
+ <copyright>Copyright © 2012 iMatix Corporation and Contributors</copyright>
+ <projectUrl>http://www.zeromq.org/</projectUrl>
+ <licenseUrl>http://www.zeromq.org/area:licensing</licenseUrl>
+ <iconUrl>http://gravatar.com/avatar/810f6c181bb9cf3dea392892bac793f0?s=32</iconUrl>
+ <requireLicenseAcceptance>false</requireLicenseAcceptance>
+ <summary>Windows builds of ZeroMQ (libzmq.dll) for x86 and x64</summary>
+ <description>ØMQ (ZeroMQ) is an open source, high performance transport layer. This package includes compiled versions of the native libzmq library for x86 and x64.</description>
+ <language>en-US</language>
+ <tags>zeromq zmq 0mq messaging transport distributed</tags>
+ </metadata>
+ <files>
+ <file src="lib\x86\libzmq.*" target="Content\lib\x86" />
+ <file src="lib\x64\libzmq.*" target="Content\lib\x64" />
+ <file src="src\libzmq-version.txt" target="Content\lib"/>
+ <file src="LICENSE"/>
+ </files>
+</package>
View
33 src/clrzmq.sln
@@ -8,6 +8,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Build", "Build", "{067B8B29-D6AB-43F6-B141-E18846AE57EE}"
ProjectSection(SolutionItems) = preProject
build.proj = build.proj
+ CustomTasks.targets = CustomTasks.targets
EndProjectSection
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Docs", "Docs", "{F35C131C-418F-4B0E-B26B-31F616ABD0BC}"
@@ -44,70 +45,102 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ZeroMQ.Perf.ThrRemote", "Ze
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{193968A9-CCA8-4496-9A99-FBB499F96340}"
ProjectSection(SolutionItems) = preProject
+ .nuget\clrzmq.nuspec = .nuget\clrzmq.nuspec
+ .nuget\libzmq.nuspec = .nuget\libzmq.nuspec
.nuget\nuget-bootstrap.exe = .nuget\nuget-bootstrap.exe
.nuget\NuGet.targets = .nuget\NuGet.targets
EndProjectSection
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Mixed Platforms = Debug|Mixed Platforms
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
+ Release|Mixed Platforms = Release|Mixed Platforms
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
+ {6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Debug|x64.ActiveCfg = Debug|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Debug|x64.Build.0 = Debug|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Debug|x86.ActiveCfg = Debug|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Debug|x86.Build.0 = Debug|Any CPU
+ {6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
+ {6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Release|x64.ActiveCfg = Release|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Release|x64.Build.0 = Release|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Release|x86.ActiveCfg = Release|Any CPU
{6FFD872F-A4A4-4EFA-9B4D-4342BA6CF250}.Release|x86.Build.0 = Release|Any CPU
+ {54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Debug|Mixed Platforms.Build.0 = Debug|x86
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Debug|x64.ActiveCfg = Debug|x64
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Debug|x64.Build.0 = Debug|x64
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Debug|x86.ActiveCfg = Debug|x86
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Debug|x86.Build.0 = Debug|x86
+ {54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Release|Mixed Platforms.Build.0 = Release|x86
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Release|x64.ActiveCfg = Release|x64
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Release|x64.Build.0 = Release|x64
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Release|x86.ActiveCfg = Release|x86
{54688B3D-BDDD-4803-A0AF-53B7A9C23432}.Release|x86.Build.0 = Release|x86
+ {9D199424-9F3A-442B-B74B-6C4A97D601F7}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
+ {9D199424-9F3A-442B-B74B-6C4A97D601F7}.Debug|Mixed Platforms.Build.0 = Debug|x86
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Debug|x64.ActiveCfg = Debug|x64
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Debug|x64.Build.0 = Debug|x64
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Debug|x86.ActiveCfg = Debug|x86
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Debug|x86.Build.0 = Debug|x86
+ {9D199424-9F3A-442B-B74B-6C4A97D601F7}.Release|Mixed Platforms.ActiveCfg = Release|x86
+ {9D199424-9F3A-442B-B74B-6C4A97D601F7}.Release|Mixed Platforms.Build.0 = Release|x86
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Release|x64.ActiveCfg = Release|x64
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Release|x64.Build.0 = Release|x64
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Release|x86.ActiveCfg = Release|x86
{9D199424-9F3A-442B-B74B-6C4A97D601F7}.Release|x86.Build.0 = Release|x86
+ {B157E8FE-D522-49A1-88CF-237E015A124F}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
+ {B157E8FE-D522-49A1-88CF-237E015A124F}.Debug|Mixed Platforms.Build.0 = Debug|x64
{B157E8FE-D522-49A1-88CF-237E015A124F}.Debug|x64.ActiveCfg = Debug|x64
{B157E8FE-D522-49A1-88CF-237E015A124F}.Debug|x64.Build.0 = Debug|x64
{B157E8FE-D522-49A1-88CF-237E015A124F}.Debug|x86.ActiveCfg = Debug|x86
{B157E8FE-D522-49A1-88CF-237E015A124F}.Debug|x86.Build.0 = Debug|x86
+ {B157E8FE-D522-49A1-88CF-237E015A124F}.Release|Mixed Platforms.ActiveCfg = Release|x64
+ {B157E8FE-D522-49A1-88CF-237E015A124F}.Release|Mixed Platforms.Build.0 = Release|x64
{B157E8FE-D522-49A1-88CF-237E015A124F}.Release|x64.ActiveCfg = Release|x64
{B157E8FE-D522-49A1-88CF-237E015A124F}.Release|x64.Build.0 = Release|x64
{B157E8FE-D522-49A1-88CF-237E015A124F}.Release|x86.ActiveCfg = Release|x86
{B157E8FE-D522-49A1-88CF-237E015A124F}.Release|x86.Build.0 = Release|x86
+ {5F7D5755-4E9A-492E-A314-51CA8824CE00}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
+ {5F7D5755-4E9A-492E-A314-51CA8824CE00}.Debug|Mixed Platforms.Build.0 = Debug|x64
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Debug|x64.ActiveCfg = Debug|x64
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Debug|x64.Build.0 = Debug|x64
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Debug|x86.ActiveCfg = Debug|x86
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Debug|x86.Build.0 = Debug|x86
+ {5F7D5755-4E9A-492E-A314-51CA8824CE00}.Release|Mixed Platforms.ActiveCfg = Release|x64
+ {5F7D5755-4E9A-492E-A314-51CA8824CE00}.Release|Mixed Platforms.Build.0 = Release|x64
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Release|x64.ActiveCfg = Release|x64
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Release|x64.Build.0 = Release|x64
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Release|x86.ActiveCfg = Release|x86
{5F7D5755-4E9A-492E-A314-51CA8824CE00}.Release|x86.Build.0 = Release|x86
+ {05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
+ {05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Debug|Mixed Platforms.Build.0 = Debug|x64
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Debug|x64.ActiveCfg = Debug|x64
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Debug|x64.Build.0 = Debug|x64
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Debug|x86.ActiveCfg = Debug|x86
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Debug|x86.Build.0 = Debug|x86
+ {05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Release|Mixed Platforms.ActiveCfg = Release|x64
+ {05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Release|Mixed Platforms.Build.0 = Release|x64
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Release|x64.ActiveCfg = Release|x64
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Release|x64.Build.0 = Release|x64
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Release|x86.ActiveCfg = Release|x86
{05CFD3AE-11D8-401F-846B-DC6DFFC16BCD}.Release|x86.Build.0 = Release|x86
+ {21B192C6-C805-403C-9962-C62D1473AEA7}.Debug|Mixed Platforms.ActiveCfg = Debug|x64
+ {21B192C6-C805-403C-9962-C62D1473AEA7}.Debug|Mixed Platforms.Build.0 = Debug|x64
{21B192C6-C805-403C-9962-C62D1473AEA7}.Debug|x64.ActiveCfg = Debug|x64
{21B192C6-C805-403C-9962-C62D1473AEA7}.Debug|x64.Build.0 = Debug|x64
{21B192C6-C805-403C-9962-C62D1473AEA7}.Debug|x86.ActiveCfg = Debug|x86
{21B192C6-C805-403C-9962-C62D1473AEA7}.Debug|x86.Build.0 = Debug|x86
+ {21B192C6-C805-403C-9962-C62D1473AEA7}.Release|Mixed Platforms.ActiveCfg = Release|x64
+ {21B192C6-C805-403C-9962-C62D1473AEA7}.Release|Mixed Platforms.Build.0 = Release|x64
{21B192C6-C805-403C-9962-C62D1473AEA7}.Release|x64.ActiveCfg = Release|x64
{21B192C6-C805-403C-9962-C62D1473AEA7}.Release|x64.Build.0 = Release|x64
{21B192C6-C805-403C-9962-C62D1473AEA7}.Release|x86.ActiveCfg = Release|x86
Please sign in to comment.
Something went wrong with that request. Please try again.