# Auto-generated from csapi-tizenfx.spec.in by makespec.sh
%define TIZEN_NET_API_VERSION 6
-%define TIZEN_NET_RPM_VERSION 6.0.0.14754+nui505
-%define TIZEN_NET_NUGET_VERSION 6.0.0.14754
+%define TIZEN_NET_RPM_VERSION 6.0.0.14842+nui550
+%define TIZEN_NET_NUGET_VERSION 6.0.0.14842
%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_TOOLS_PATH /usr/share/dotnet.tizen/tools
%define DOTNET_NUGET_SOURCE /nuget
Name: csapi-tizenfx
%description nuget
NuGet package for %{name}
+%package tools
+Summary: Tools for TizenFX
+Group: Development/Libraries
+AutoReqProv: no
+
+%description tools
+Tools for TizenFX
+
%package dummy
Summary: not used package
Group: Development/Libraries
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_DUMMY_PATH}
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_RES_PATH}
mkdir -p %{buildroot}%{DOTNET_NUGET_SOURCE}
+mkdir -p %{buildroot}%{DOTNET_TOOLS_PATH}
# Install Runtime Assemblies
install -p -m 644 %{_tizenfx_bin_path}/bin/public/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
install -p -m 644 %{_tizenfx_bin_path}/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE}
install -p -m 644 packaging/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE}
+# Install Tools
+install -p -m 644 tools/bin/* %{buildroot}%{DOTNET_TOOLS_PATH}
+
%post
/usr/bin/vconftool set -t int db/dotnet/tizen_api_version %{TIZEN_NET_API_VERSION} -f
/usr/bin/vconftool set -t string db/dotnet/tizen_api_path %{DOTNET_ASSEMBLY_PATH} -f
%files nuget
%{DOTNET_NUGET_SOURCE}/*.nupkg
+%files tools
+%manifest %{name}.manifest
+%{DOTNET_TOOLS_PATH}/*
+
%files dummy
%files full