1 %define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework
2 %define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref
3 %define DOTNET_ASSEMBLY_RES_PATH %{DOTNET_ASSEMBLY_PATH}/res
4 %define DOTNET_NUGET_SOURCE /nuget
7 Summary: Assemblies of Tizen .NET
10 Group: Development/Libraries
12 URL: https://www.tizen.org
13 Source0: %{name}-%{version}.tar.gz
14 Source1: %{name}.manifest
23 Summary: NuGet package for %{name}
24 Group: Development/Libraries
28 NuGet package for %{name}
31 Summary: Dummy assemblies of Tizen .NET
32 Group: Development/Libraries
36 Dummy assemblies of Tizen .NET
39 Summary: Tizen .NET assemblies for TV profile
40 Group: Development/Libraries
41 Requires: csapi-tizenfx-dummy
45 Tizen .NET assemblies for TV profile
54 mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH}
55 mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_DUMMY_PATH}
56 mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_RES_PATH}
57 mkdir -p %{buildroot}%{DOTNET_NUGET_SOURCE}
59 install -p -m 644 binaries/frameworks/*.dll %{buildroot}%{DOTNET_ASSEMBLY_PATH}
60 install -p -m 644 binaries/frameworks/res/* %{buildroot}%{DOTNET_ASSEMBLY_RES_PATH}
61 install -p -m 644 binaries/frameworks_dummy/*.dll %{buildroot}%{DOTNET_ASSEMBLY_DUMMY_PATH}
62 install -p -m 644 binaries/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE}
65 %manifest %{name}.manifest
67 %attr(644,root,root) %{DOTNET_ASSEMBLY_PATH}/*.dll
68 %attr(644,root,root) %{DOTNET_ASSEMBLY_RES_PATH}/*
71 %{DOTNET_NUGET_SOURCE}/*.nupkg
74 %attr(644,root,root) %{DOTNET_ASSEMBLY_DUMMY_PATH}/*.dll
76 %files tv -f csapi-tizenfx-tv.files
77 %manifest %{name}.manifest