X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fcsapi-tizenfx.spec;h=2866f56a218c04729c44e452d0b9762b7a49235e;hb=a75de23e3875239c04654442961d7756b4769882;hp=6f6b8325e8fdd53c568fedebe8741573bdd95f00;hpb=954e6a35f0a9669e665073ee1a6c801f765c283b;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/packaging/csapi-tizenfx.spec b/packaging/csapi-tizenfx.spec index 6f6b832..2866f56 100644 --- a/packaging/csapi-tizenfx.spec +++ b/packaging/csapi-tizenfx.spec @@ -1,21 +1,18 @@ -# !! IMPORTANT !! -# This packaging spec file is for developer testing only. -# For Tizen release, the spec.in file should be used. +# Auto-generated from csapi-tizenfx.spec.in by makespec.sh + +%define TIZEN_NET_API_VERSION 4 +%define TIZEN_NET_RPM_VERSION 4.0.1.28+nui66 +%define TIZEN_NET_NUGET_VERSION 4.0.1-preview1-00028 +%define TIZEN_NET_INTERNAL_NUGET_VERSION 4.0.1.28 %define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework %define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref %define DOTNET_ASSEMBLY_RES_PATH %{DOTNET_ASSEMBLY_PATH}/res %define DOTNET_NUGET_SOURCE /nuget -%define _tizenfx_bin_path Artifacts - -%define TIZEN_NET_API_VERSION 4 -%define TIZEN_NET_NUGET_VERSION 4.0.0 -%define TIZEN_NET_INTERNAL_NUGET_VERSION 4.0.0.999 - Name: csapi-tizenfx Summary: Assemblies of Tizen .NET -Version: 99.99.99 +Version: %{TIZEN_NET_RPM_VERSION} Release: 1 Group: Development/Libraries License: Apache-2.0 @@ -23,15 +20,13 @@ URL: https://www.tizen.org Source0: %{name}-%{version}.tar.gz Source1: %{name}.manifest -BuildRequires: dotnet-build-tools - -BuildArch: noarch +BuildArch: noarch ExcludeArch: aarch64 AutoReqProv: no +BuildRequires: dotnet-build-tools Requires(post): vconf - %description %{summary} @@ -134,6 +129,8 @@ cp %{SOURCE1} . %build +%define _tizenfx_bin_path Artifacts + GetFileList() { PROFILE=$1 cat pkg/PlatformFileList.txt | grep -E "#$PROFILE[[:space:]]|#$PROFILE$" | cut -d# -f1 | sed "s#^#%{DOTNET_ASSEMBLY_PATH}/#"