--- /dev/null
+###########################################
+## AssemblyName.dll TypeName ##
+## AssemblyName.dll TypeName.Preload() ##
+## The methods must not have parameters. ##
+###########################################
+XSF.dll Xamarin.Forms.Forms.Preload()
ExcludeArch: aarch64
%define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework
+%define DOTNET_PRELOAD_PATH /usr/share/dotnet.tizen/preload
%define DOTNET_NUGET_SOURCE /nuget
%define SKIA_LIBRARY_PATH /usr/lib
%define LIB_HARFBUZZ_NAME libHarfBuzzSharp.2.6.1.so
%install
mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
+mkdir -p %{buildroot}%{DOTNET_PRELOAD_PATH}
mv ./src/XSF/bin/Release/netstandard2.0/XSF.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
+mv ./packaging/XSF.preload %{buildroot}%{DOTNET_PRELOAD_PATH}
mkdir -p %{buildroot}%{SKIA_LIBRARY_PATH}
%ifarch %{ix86}
%manifest %{name}.manifest
%license LICENSE LICENSE.Flora-1.1 LICENSE.Apache-2.0
%attr(644,root,root) %{DOTNET_ASSEMBLY_PATH}/*.dll
-%attr(644,root,root) %{SKIA_LIBRARY_PATH}/*.so
+%attr(644,root,root) %{DOTNET_PRELOAD_PATH}/XSF.preload
+%attr(644,root,root) %{SKIA_LIBRARY_PATH}/*.so
\ No newline at end of file