+# Auto-generated from csapi-tizenfx.spec.in by makespec.sh
+
+%define TIZEN_NET_API_VERSION 5
+%define TIZEN_NET_RPM_VERSION 5.0.0.383+nui66
+%define TIZEN_NET_NUGET_VERSION 5.0.0-preview1-00383
+%define TIZEN_NET_INTERNAL_NUGET_VERSION 5.0.0.383
+
%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 5
-%define TIZEN_NET_NUGET_VERSION 5.0.0-preview1-00367
-%define TIZEN_NET_INTERNAL_NUGET_VERSION 5.0.0.367
-
Name: csapi-tizenfx
Summary: Assemblies of Tizen .NET
-Version: 5.0.0.367+nui61.1
+Version: %{TIZEN_NET_RPM_VERSION}
Release: 1
Group: Development/Libraries
License: Apache-2.0
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}
%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}/#"