Merge packaging information to csproj
authorWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:51:43 +0000 (09:51 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Thu, 8 Jun 2017 00:51:43 +0000 (09:51 +0900)
Change-Id: I7666ffb3d351253131b10c2c292728fa0371c5d5
Signed-off-by: WonYoung Choi <wy80.choi@samsung.com>
packaging/csapi-webview.spec
src/Tizen.WebView/Tizen.WebView.csproj
src/Tizen.WebView/Tizen.WebView.nuspec [deleted file]

index d655061..9d9b3ed 100644 (file)
@@ -1,6 +1,6 @@
 Name:       csapi-webview
 Summary:    Tizen WebView API for C#
-Version:    1.0.0
+Version:    1.0.1
 Release:    1
 Group:      Development/Libraries
 License:    Apache-2.0
@@ -30,7 +30,7 @@ cp %{SOURCE1} .
 %build
 for ASM in %{Assemblies}; do
 %dotnet_build $ASM
-%dotnet_pack $ASM/$ASM.nuspec %{version}
+%dotnet_pack $ASM
 done
 
 %install
index 7c234db..9eb32c4 100644 (file)
@@ -1,4 +1,14 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
+
+  <PropertyGroup>
+    <Version>1.0.1</Version>
+    <Authors>Samsung Electronics</Authors>
+    <Copyright>© Samsung Electronics Co., Ltd All Rights Reserved</Copyright>
+    <Description>Provides the WebView API for Tizen .NET</Description>
+    <PackageProjectUrl>https://www.tizen.org/</PackageProjectUrl>
+    <PackageLicenseUrl>https://www.apache.org/licenses/LICENSE-2.0</PackageLicenseUrl>
+    <PackageIconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</PackageIconUrl>
+  </PropertyGroup>
 
   <PropertyGroup>
     <TargetFramework>netstandard1.6</TargetFramework>
     <SignAssembly>True</SignAssembly>
     <AssemblyOriginatorKeyFile>Tizen.WebView.snk</AssemblyOriginatorKeyFile>
     <PublicSign Condition="'$(OS)' != 'Windows_NT'">true</PublicSign>
-    <GenerateReferenceAssembly>True</GenerateReferenceAssembly>
   </PropertyGroup>
 
   <ItemGroup>
-    <PackageReference Include="ElmSharp" Version="1.2.0-*" />
+    <PackageReference Include="ElmSharp" Version="1.2.0" />
   </ItemGroup>
 
 </Project>
diff --git a/src/Tizen.WebView/Tizen.WebView.nuspec b/src/Tizen.WebView/Tizen.WebView.nuspec
deleted file mode 100644 (file)
index 0f5e654..0000000
+++ /dev/null
@@ -1,16 +0,0 @@
-<?xml version="1.0"?>\r
-<package >\r
-  <metadata>\r
-    <id>Tizen.WebView</id>\r
-    <version>$version$</version>\r
-    <authors>Samsung Electronics</authors>\r
-    <licenseUrl>https://www.apache.org/licenses/LICENSE-2.0</licenseUrl>\r
-    <iconUrl>https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png</iconUrl>\r
-    <requireLicenseAcceptance>false</requireLicenseAcceptance>\r
-    <description>Tizen WebView API for C#</description>\r
-    <copyright>© Samsung Electronics Co., Ltd All Rights Reserved</copyright>\r
-    <dependencies>\r
-      <dependency id="ElmSharp" version="1.2.0" />\r
-    </dependencies>\r
-  </metadata>\r
-</package>\r