From fc82caf4bdbe2f366e6c77b072b5eb59afab875e Mon Sep 17 00:00:00 2001 From: WonYoung Choi Date: Fri, 7 Apr 2017 07:51:03 +0900 Subject: [PATCH] Change project files to new csproj format Change-Id: I5abe43d6738680c5c93341497769c9ecf748f76c --- .../Properties/AssemblyInfo.cs | 29 +--- .../Xamarin.Forms.Maps.Tizen.csproj | 90 ++-------- .../Xamarin.Forms.Maps.Tizen.nuspec | 11 +- .../Xamarin.Forms.Maps.Tizen.project.json | 14 -- Xamarin.Forms.Maps.Tizen/packages.config | 4 - .../Properties/AssemblyInfo.cs | 24 +-- .../Xamarin.Forms.Platform.Tizen.csproj | 183 ++------------------- .../Xamarin.Forms.Platform.Tizen.nuspec | 5 +- .../Xamarin.Forms.Platform.Tizen.project.json | 15 -- Xamarin.Forms.Tizen.sln | 42 ++--- packaging/xamarin-forms-tizen.spec | 53 +++--- 11 files changed, 85 insertions(+), 385 deletions(-) mode change 100755 => 100644 Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.csproj delete mode 100644 Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.project.json delete mode 100644 Xamarin.Forms.Maps.Tizen/packages.config mode change 100755 => 100644 Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs mode change 100755 => 100644 Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj delete mode 100644 Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json diff --git a/Xamarin.Forms.Maps.Tizen/Properties/AssemblyInfo.cs b/Xamarin.Forms.Maps.Tizen/Properties/AssemblyInfo.cs index ec69a71..2618cf7 100644 --- a/Xamarin.Forms.Maps.Tizen/Properties/AssemblyInfo.cs +++ b/Xamarin.Forms.Maps.Tizen/Properties/AssemblyInfo.cs @@ -1,32 +1,5 @@ -using System.Reflection; -using System.Runtime.CompilerServices; - -// Information about this assembly is defined by the following attributes. -// Change them to the values specific to your project. -using Xamarin.Forms; -using Xamarin.Forms.Maps; +using Xamarin.Forms.Maps; using Xamarin.Forms.Maps.Tizen; using Xamarin.Forms.Platform.Tizen; -[assembly: AssemblyTitle("Xamarin.Forms.Maps.Tizen")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("")] -[assembly: AssemblyCopyright("k.lipner")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] - -// The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}". -// The form "{Major}.{Minor}.*" will automatically update the build and revision, -// and "{Major}.{Minor}.{Build}.*" will update just the revision. - -[assembly: AssemblyVersion("1.0.0")] - -// The following attributes are used to specify the signing key for the assembly, -// if desired. See the Mono documentation for more information about signing. - [assembly: ExportRenderer(typeof (Map), typeof (MapRenderer))] -//[assembly: AssemblyDelaySign(false)] -//[assembly: AssemblyKeyFile("")] - diff --git a/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.csproj b/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.csproj old mode 100755 new mode 100644 index 98733ee..03964ad --- a/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.csproj +++ b/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.csproj @@ -1,81 +1,21 @@ - - + + - Debug - AnyCPU - {D29D5750-9A39-4E92-A19E-62567D660B7D} - Library - Properties - Xamarin.Forms.Maps.Tizen - Xamarin.Forms.Maps.Tizen - 512 - - - .NETStandard - v1.6 - .NETStandard,Version=v1.6 - false - true - $(NoWarn);1701;1702 - - - true - full - true - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netstandard1.6 + $(PackageTargetFallback);portable-net45+wp80+win81+wpa81 + - - - - + + + + + - + + + - - - - - {7D13BAC2-C6A4-416A-B07E-C169B199E52B} - Xamarin.Forms.Maps - - - {57B8B73D-C3B5-4C42-869E-7B2F17D354AC} - Xamarin.Forms.Core - - - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C} - Xamarin.Forms.Platform.Tizen - - - - - - <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory) - <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory) - true - - \ No newline at end of file + + diff --git a/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.nuspec b/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.nuspec index b951d4a..23d0537 100644 --- a/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.nuspec +++ b/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.nuspec @@ -3,14 +3,19 @@ Xamarin.Forms.Maps.Tizen $version$ - Tizen Developers + Samsung Electronics + https://www.tizen.org/ + https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png + false + https://git.tizen.org/cgit/platform/upstream/xamarin-forms/plain/LICENSE Xamarin.Forms.Maps Renderer for Tizen.Net + Copyright 2016 - - + + diff --git a/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.project.json b/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.project.json deleted file mode 100644 index e81665e..0000000 --- a/Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.project.json +++ /dev/null @@ -1,14 +0,0 @@ -{ - "dependencies": { - "ElmSharp": "1.1.0-beta-016", - "NETStandard.Library": "1.6.0", - "Tizen.Applications": "1.2.6", - "Tizen.Location": "1.0.5", - "Tizen.Maps": "1.0.8" - }, - "frameworks": { - "netstandard1.6": { - "imports": "portable-net45+win8+wpa81+wp8" - } - } -} \ No newline at end of file diff --git a/Xamarin.Forms.Maps.Tizen/packages.config b/Xamarin.Forms.Maps.Tizen/packages.config deleted file mode 100644 index 433f1b9..0000000 --- a/Xamarin.Forms.Maps.Tizen/packages.config +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs b/Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs old mode 100755 new mode 100644 index eb03d81..357c327 --- a/Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs +++ b/Xamarin.Forms.Platform.Tizen/Properties/AssemblyInfo.cs @@ -1,26 +1,10 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; using Xamarin.Forms; using Xamarin.Forms.Platform.Tizen; -[assembly: AssemblyVersion("0.0.1")] -[assembly: AssemblyCompany("Samsung Electronics")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCopyright("Copyright © Samsung Electronics 2016")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyProduct("Xamarin.Forms")] -[assembly: AssemblyTitle("Xamarin.Forms.Platform.Tizen")] -[assembly: AssemblyTrademark("")] -[assembly: CompilationRelaxations(8)] -[assembly: RuntimeCompatibility(WrapNonExceptionThrows = true)] -[assembly: InternalsVisibleTo("Xamarin.Forms.Platform.Tizen.Tests")] -[assembly: ComVisible(false)] - -[assembly: Xamarin.Forms.Dependency(typeof(ResourcesProvider))] -[assembly: Xamarin.Forms.Dependency(typeof(Deserializer))] -[assembly: Xamarin.Forms.Dependency(typeof(NativeBindingService))] -[assembly: Xamarin.Forms.Dependency(typeof(NativeValueConverterService))] +[assembly: Dependency(typeof(ResourcesProvider))] +[assembly: Dependency(typeof(Deserializer))] +[assembly: Dependency(typeof(NativeBindingService))] +[assembly: Dependency(typeof(NativeValueConverterService))] [assembly: ExportRenderer(typeof(Layout), typeof(LayoutRenderer))] [assembly: ExportRenderer(typeof(ScrollView), typeof(ScrollViewRenderer))] diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj old mode 100755 new mode 100644 index 85ad0a4..26d6284 --- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj +++ b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.csproj @@ -1,175 +1,20 @@ - - + + - Debug - AnyCPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C} - Library - Properties - Xamarin.Forms.Platform.Tizen - Xamarin.Forms.Platform.Tizen - 512 - - - .NETStandard - v1.6 - .NETStandard,Version=v1.6 - false - true - $(NoWarn);1701;1702 - - - true - full - true - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 + netstandard1.6 + $(PackageTargetFallback);portable-net45+wp80+win81+wpa81 + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + - + - - - - - {57B8B73D-C3B5-4C42-869E-7B2F17D354AC} - Xamarin.Forms.Core - - - - - - <_TargetFrameworkDirectories>$(MSBuildThisFileDirectory) - <_FullFrameworkReferenceAssemblyPaths>$(MSBuildThisFileDirectory) - true - - \ No newline at end of file + + diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.nuspec b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.nuspec index 2bb7bf8..b9b952c 100644 --- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.nuspec +++ b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.nuspec @@ -8,6 +8,7 @@ https://www.tizen.org/ https://developer.tizen.org/sites/default/files/images/tizen-pinwheel-on-light-rgb_64_64.png false + https://git.tizen.org/cgit/platform/upstream/xamarin-forms/plain/LICENSE Xamarin Forms Renderer to build native UIs for Tizen.Net Copyright 2016 @@ -15,7 +16,7 @@ - - + + diff --git a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json b/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json deleted file mode 100644 index 1c3cb43..0000000 --- a/Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.project.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "dependencies": { - "ElmSharp": "1.1.0-beta-016", - "NETStandard.Library": "1.6.0", - "System.Runtime.Serialization.Xml": "4.1.2", - "Tizen.Applications": "1.2.6", - "Tizen.System.Information": "1.0.1", - "Tizen.WebView": "1.0.0" - }, - "frameworks": { - "netstandard1.6": { - "imports": "portable-net45+win8+wpa81+wp8" - } - } -} \ No newline at end of file diff --git a/Xamarin.Forms.Tizen.sln b/Xamarin.Forms.Tizen.sln index 6cea1ef..b80658d 100644 --- a/Xamarin.Forms.Tizen.sln +++ b/Xamarin.Forms.Tizen.sln @@ -1,21 +1,19 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 14 -VisualStudioVersion = 14.0.25420.1 +# Visual Studio 15 +VisualStudioVersion = 15.0.26228.12 MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.Forms.Platform.Tizen", "Xamarin.Forms.Platform.Tizen\Xamarin.Forms.Platform.Tizen.csproj", "{F77EB771-B082-48C6-979B-F95567C90259}" +EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Core", "Xamarin.Forms.Core\Xamarin.Forms.Core.csproj", "{57B8B73D-C3B5-4C42-869E-7B2F17D354AC}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Platform", "Xamarin.Forms.Platform\Xamarin.Forms.Platform.csproj", "{67F9D3A8-F71E-4428-913F-C37AE82CDB24}" EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Xaml", "Xamarin.Forms.Xaml\Xamarin.Forms.Xaml.csproj", "{9DB2F292-8034-4E06-89AD-98BBDA4306B9}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Platform.Tizen", "Xamarin.Forms.Platform.Tizen\Xamarin.Forms.Platform.Tizen.csproj", "{227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}" -EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Maps", "Xamarin.Forms.Maps\Xamarin.Forms.Maps.csproj", "{7D13BAC2-C6A4-416A-B07E-C169B199E52B}" EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Maps.Tizen", "Xamarin.Forms.Maps.Tizen\Xamarin.Forms.Maps.Tizen.csproj", "{D29D5750-9A39-4E92-A19E-62567D660B7D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Xamarin.Forms.Build.Tasks", "Xamarin.Forms.Build.Tasks\Xamarin.Forms.Build.Tasks.csproj", "{96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Xamarin.Forms.Maps.Tizen", "Xamarin.Forms.Maps.Tizen\Xamarin.Forms.Maps.Tizen.csproj", "{640DD01E-EDF4-47B8-8C91-AC48289B5291}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -24,6 +22,12 @@ Global Turkey|Any CPU = Turkey|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution + {F77EB771-B082-48C6-979B-F95567C90259}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {F77EB771-B082-48C6-979B-F95567C90259}.Debug|Any CPU.Build.0 = Debug|Any CPU + {F77EB771-B082-48C6-979B-F95567C90259}.Release|Any CPU.ActiveCfg = Release|Any CPU + {F77EB771-B082-48C6-979B-F95567C90259}.Release|Any CPU.Build.0 = Release|Any CPU + {F77EB771-B082-48C6-979B-F95567C90259}.Turkey|Any CPU.ActiveCfg = Debug|Any CPU + {F77EB771-B082-48C6-979B-F95567C90259}.Turkey|Any CPU.Build.0 = Debug|Any CPU {57B8B73D-C3B5-4C42-869E-7B2F17D354AC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {57B8B73D-C3B5-4C42-869E-7B2F17D354AC}.Debug|Any CPU.Build.0 = Debug|Any CPU {57B8B73D-C3B5-4C42-869E-7B2F17D354AC}.Release|Any CPU.ActiveCfg = Release|Any CPU @@ -42,30 +46,18 @@ Global {9DB2F292-8034-4E06-89AD-98BBDA4306B9}.Release|Any CPU.Build.0 = Release|Any CPU {9DB2F292-8034-4E06-89AD-98BBDA4306B9}.Turkey|Any CPU.ActiveCfg = Turkey|Any CPU {9DB2F292-8034-4E06-89AD-98BBDA4306B9}.Turkey|Any CPU.Build.0 = Turkey|Any CPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}.Release|Any CPU.Build.0 = Release|Any CPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}.Turkey|Any CPU.ActiveCfg = Release|Any CPU - {227D2CC5-26A1-4CE7-AE25-1B18AF625B9C}.Turkey|Any CPU.Build.0 = Release|Any CPU {7D13BAC2-C6A4-416A-B07E-C169B199E52B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {7D13BAC2-C6A4-416A-B07E-C169B199E52B}.Debug|Any CPU.Build.0 = Debug|Any CPU {7D13BAC2-C6A4-416A-B07E-C169B199E52B}.Release|Any CPU.ActiveCfg = Release|Any CPU {7D13BAC2-C6A4-416A-B07E-C169B199E52B}.Release|Any CPU.Build.0 = Release|Any CPU {7D13BAC2-C6A4-416A-B07E-C169B199E52B}.Turkey|Any CPU.ActiveCfg = Turkey|Any CPU {7D13BAC2-C6A4-416A-B07E-C169B199E52B}.Turkey|Any CPU.Build.0 = Turkey|Any CPU - {D29D5750-9A39-4E92-A19E-62567D660B7D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D29D5750-9A39-4E92-A19E-62567D660B7D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D29D5750-9A39-4E92-A19E-62567D660B7D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D29D5750-9A39-4E92-A19E-62567D660B7D}.Release|Any CPU.Build.0 = Release|Any CPU - {D29D5750-9A39-4E92-A19E-62567D660B7D}.Turkey|Any CPU.ActiveCfg = Release|Any CPU - {D29D5750-9A39-4E92-A19E-62567D660B7D}.Turkey|Any CPU.Build.0 = Release|Any CPU - {96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}.Debug|Any CPU.Build.0 = Debug|Any CPU - {96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}.Release|Any CPU.ActiveCfg = Release|Any CPU - {96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}.Release|Any CPU.Build.0 = Release|Any CPU - {96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}.Turkey|Any CPU.ActiveCfg = Turkey|Any CPU - {96D89208-4EB9-4451-BE73-8A9DF3D9D7B7}.Turkey|Any CPU.Build.0 = Turkey|Any CPU + {640DD01E-EDF4-47B8-8C91-AC48289B5291}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {640DD01E-EDF4-47B8-8C91-AC48289B5291}.Debug|Any CPU.Build.0 = Debug|Any CPU + {640DD01E-EDF4-47B8-8C91-AC48289B5291}.Release|Any CPU.ActiveCfg = Release|Any CPU + {640DD01E-EDF4-47B8-8C91-AC48289B5291}.Release|Any CPU.Build.0 = Release|Any CPU + {640DD01E-EDF4-47B8-8C91-AC48289B5291}.Turkey|Any CPU.ActiveCfg = Debug|Any CPU + {640DD01E-EDF4-47B8-8C91-AC48289B5291}.Turkey|Any CPU.Build.0 = Debug|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE diff --git a/packaging/xamarin-forms-tizen.spec b/packaging/xamarin-forms-tizen.spec index 09c0a30..05a96b1 100644 --- a/packaging/xamarin-forms-tizen.spec +++ b/packaging/xamarin-forms-tizen.spec @@ -18,19 +18,15 @@ Source1: %{name}.manifest AutoReqProv: no ExcludeArch: aarch64 -BuildRequires: mono-compiler -BuildRequires: mono-devel -BuildRequires: referenceassemblies-pcl - BuildRequires: dotnet-build-tools # C# API Requires +BuildRequires: elm-sharp-nuget BuildRequires: csapi-tizen-nuget BuildRequires: csapi-application-nuget BuildRequires: csapi-information-nuget BuildRequires: csapi-location-nuget BuildRequires: csapi-maps-nuget -BuildRequires: elm-sharp-nuget BuildRequires: csapi-webview-nuget %description @@ -46,11 +42,11 @@ Group: Development/Libraries NuGet package for %{name} # for private nuget package -%package nugetpriv +%package nuget-private Summary: Xamarin Forms Private NuGet Group: Development/Libraries -%description nugetpriv +%description nuget-private Xamarin Forms Private NuGet for internal uses %prep @@ -58,37 +54,34 @@ Xamarin Forms Private NuGet for internal uses cp %{SOURCE1} . %build -# Restore NuGet Dependencies -%dotnet_restore Xamarin.Forms.Platform.Tizen -%dotnet_restore Xamarin.Forms.Maps.Tizen - -# Build +# Build Xamarin.Forms.Build.Tasks PKGSRC="$(readlink -f .nuget/packages)" -%dotnet_build Xamarin.Forms.Tizen.sln "/p:PackageSources=$PKGSRC" +%dotnet_build Xamarin.Forms.Build.Tasks "/p:PackageSources=$PKGSRC" + +# Build Xamarin.Forms.Tizen.sln +%dotnet_build Xamarin.Forms.Tizen.sln # Create NuGet Packages %dotnet_pack Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.nuspec %{NUPKG_VERSION} "-BasePath ./.nuspec" %dotnet_pack Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.nuspec %{NUPKG_VERSION} "-BasePath ./.nuspec" -# Xamarin.Forms NuGet Package for private uses +# Xamarin.Forms for internal usage %dotnet_pack .nuspec/Xamarin.Forms.Tizen.nuspec %{XF_VERSION}.%{XF_RELEASE}-tizen-%{XF_DEV_VERSION} "-BasePath ./.nuspec" %install -function install_asm() -{ - mkdir -p %{buildroot}%{_dotnet_assembly_path} - install -p -m 644 $1/bin/%{_dotnet_build_conf}/$1.dll %{buildroot}%{_dotnet_assembly_path} -} - -install_asm Xamarin.Forms.Core -install_asm Xamarin.Forms.Xaml -install_asm Xamarin.Forms.Platform -install_asm Xamarin.Forms.Platform.Tizen -install_asm Xamarin.Forms.Maps -install_asm Xamarin.Forms.Maps.Tizen - -mkdir -p %{buildroot}/nuget -install -p -m 644 *.nupkg %{buildroot}/nuget +%dotnet_install_assembly Xamarin.Forms.Core +%dotnet_install_assembly Xamarin.Forms.Core +%dotnet_install_assembly Xamarin.Forms.Xaml +%dotnet_install_assembly Xamarin.Forms.Platform +%dotnet_install_assembly Xamarin.Forms.Platform.Tizen +%dotnet_install_assembly Xamarin.Forms.Maps +%dotnet_install_assembly Xamarin.Forms.Maps.Tizen + +%dotnet_install_nuget Xamarin.Forms.Platform.Tizen +%dotnet_install_nuget Xamarin.Forms.Maps.Tizen + +# Xamarin.Forms for internal usage +%dotnet_install_nuget Xamarin.Forms %files %manifest %{name}.manifest @@ -99,7 +92,7 @@ install -p -m 644 *.nupkg %{buildroot}/nuget /nuget/Xamarin.Forms.Platform.Tizen.%{NUPKG_VERSION}.nupkg /nuget/Xamarin.Forms.Maps.Tizen.%{NUPKG_VERSION}.nupkg -%files nugetpriv +%files nuget-private /nuget/Xamarin.Forms.%{XF_VERSION}.%{XF_RELEASE}-tizen-%{XF_DEV_VERSION}.nupkg -- 2.7.4