summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorWonYoung Choi <wy80.choi@samsung.com>2017-06-19 16:51:45 +0900
committerKangho Hur <kangho.hur@samsung.com>2017-10-23 13:34:36 +0900
commit7cb753fee3bab937b351cd6e4e3bd061f86182ec (patch)
treef56cdacb5d6a553922641cec10a0369ea37f9b50 /packaging
parent40cf8dde716689ba4e2b17e1b9e72ba4632c20fb (diff)
downloadxamarin-forms-7cb753fee3bab937b351cd6e4e3bd061f86182ec.tar.gz
xamarin-forms-7cb753fee3bab937b351cd6e4e3bd061f86182ec.tar.bz2
xamarin-forms-7cb753fee3bab937b351cd6e4e3bd061f86182ec.zip
Change project files to MSBuild 14 format
Change-Id: I772315bad5d661b764527a051014ce856cce967e
Diffstat (limited to 'packaging')
-rw-r--r--packaging/xamarin-forms-tizen.spec42
1 files changed, 6 insertions, 36 deletions
diff --git a/packaging/xamarin-forms-tizen.spec b/packaging/xamarin-forms-tizen.spec
index b0858137..9e3a1a72 100644
--- a/packaging/xamarin-forms-tizen.spec
+++ b/packaging/xamarin-forms-tizen.spec
@@ -1,20 +1,12 @@
-%define XF_VERSION 2.3.5
-%define XF_RELEASE 233
-
-# Increase this XF_DEV_VERSION when any public APIs of Xamarin.Forms.Platform.Tizen are changed.
-%define XF_DEV_VERSION 009
-
Name: xamarin-forms-tizen
Summary: Xamarin.Forms for Tizen platform
-Version: %{XF_VERSION}
+Version: 2.3.5
Release: 0
License: MIT
Group: Graphics & UI Framework/Libraries
Source0: %{name}-%{version}.tar.gz
Source1: %{name}.manifest
-%define NUPKG_VERSION %{XF_VERSION}-r%{XF_RELEASE}-%{XF_DEV_VERSION}
-
AutoReqProv: no
ExcludeArch: aarch64
@@ -63,46 +55,24 @@ Xamarin Forms Private NuGet for internal uses
cp %{SOURCE1} .
%build
-# Build Xamarin.Forms.Build.Tasks
-PKGSRC="$(readlink -f .nuget/packages)"
-%dotnet_build Xamarin.Forms.Build.Tasks "/p:PackageSources=$PKGSRC"
+%dotnet_restore Xamarin.Forms.Platform.Tizen
+%dotnet_restore Xamarin.Forms.Maps.Tizen
-# Build Xamarin.Forms.Tizen.sln
-%dotnet_build Xamarin.Forms.Tizen.sln
+%dotnet_build Xamarin.Forms.Xaml
+%dotnet_build Xamarin.Forms.Platform.Tizen
+%dotnet_build Xamarin.Forms.Maps.Tizen
-# Create NuGet Packages
-%dotnet_pack Xamarin.Forms.Platform.Tizen/Xamarin.Forms.Platform.Tizen.nuspec %{NUPKG_VERSION}
-%dotnet_pack Xamarin.Forms.Maps.Tizen/Xamarin.Forms.Maps.Tizen.nuspec %{NUPKG_VERSION}
-
-# Xamarin.Forms for internal usage
-%dotnet_pack .nuspec/Xamarin.Forms.Tizen.nuspec %{NUPKG_VERSION} "-BasePath ./.nuspec"
%install
%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
%license LICENSE
%attr(644,root,root) %{dotnet_assembly_files}
-%files nuget
-/nuget/Xamarin.Forms.Platform.Tizen.%{NUPKG_VERSION}.nupkg
-/nuget/Xamarin.Forms.Maps.Tizen.%{NUPKG_VERSION}.nupkg
-
-%files nuget-private
-/nuget/Xamarin.Forms.%{NUPKG_VERSION}.nupkg
-
-
-