X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=packaging%2Fcsapi-tizenfx.spec;h=a34a28f9786a59897bcfd13a1c1cb8e93b274ec8;hb=b05d21222ebebe82b5cf942cd2e64907df6427a3;hp=05cf71e6b319f1b322e3ba11b96058f27055445e;hpb=120b96e35b72b33eed17b56334f3fdf344b7132b;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/packaging/csapi-tizenfx.spec b/packaging/csapi-tizenfx.spec index 05cf71e..a34a28f 100644 --- a/packaging/csapi-tizenfx.spec +++ b/packaging/csapi-tizenfx.spec @@ -1,8 +1,8 @@ # Auto-generated from csapi-tizenfx.spec.in by makespec.sh %define TIZEN_NET_API_VERSION 6 -%define TIZEN_NET_RPM_VERSION 6.0.0.14630+nui505 -%define TIZEN_NET_NUGET_VERSION 6.0.0.14630 +%define TIZEN_NET_RPM_VERSION 6.0.0.14668+nui505 +%define TIZEN_NET_NUGET_VERSION 6.0.0.14668 %define DOTNET_ASSEMBLY_PATH /usr/share/dotnet.tizen/framework %define DOTNET_ASSEMBLY_DUMMY_PATH %{DOTNET_ASSEMBLY_PATH}/ref @@ -38,12 +38,12 @@ AutoReqProv: no NuGet package for %{name} %package dummy -Summary: Dummy assemblies of Tizen .NET +Summary: not used package Group: Development/Libraries AutoReqProv: no %description dummy -Dummy assemblies of Tizen .NET +not used package %package full Summary: All Tizen .NET assemblies @@ -66,7 +66,6 @@ All .pdb files of Tizen .NET Summary: Tizen .NET assemblies for Common profile Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: csapi-tizenfx-dummy = %{version}-%{release} AutoReqProv: no %description common @@ -76,7 +75,6 @@ Tizen .NET assemblies for Common profile Summary: Tizen .NET assemblies for Mobile profile Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: csapi-tizenfx-dummy = %{version}-%{release} AutoReqProv: no %description mobile @@ -86,7 +84,6 @@ Tizen .NET assemblies for Mobile profile Summary: Tizen .NET assemblies for Emulator of Mobile profile Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: csapi-tizenfx-dummy = %{version}-%{release} AutoReqProv: no %description mobile-emul @@ -96,7 +93,6 @@ Tizen .NET assemblies for Emulator of Mobile profile Summary: Tizen .NET assemblies for TV profile Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: csapi-tizenfx-dummy = %{version}-%{release} AutoReqProv: no %description tv @@ -106,7 +102,6 @@ Tizen .NET assemblies for TV profile Summary: Tizen .NET assemblies for Wearable profile Group: Development/Libraries Requires: %{name} = %{version}-%{release} -Requires: csapi-tizenfx-dummy = %{version}-%{release} AutoReqProv: no %description wearable @@ -121,9 +116,22 @@ cp %{SOURCE1} . %define _tizenfx_bin_path Artifacts +rm -fr %{_tizenfx_bin_path} +export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true + +%define build_cmd ./tools/scripts/retry.sh ./tools/scripts/timeout.sh -t 600 ./build.sh +%{build_cmd} --full +%{build_cmd} --dummy +%{build_cmd} --pack %{TIZEN_NET_NUGET_VERSION} + GetFileList() { PROFILE=$1 cat packaging/PlatformFileList.txt | grep -E "#$PROFILE[[:space:]]|#$PROFILE$" | cut -d# -f1 | sed "s#^#%{DOTNET_ASSEMBLY_PATH}/#" + for f in $(cat packaging/PlatformFileList.txt | grep -v -E "#$PROFILE[[:space:]]|#$PROFILE$" | cut -d# -f1); do + if [ -f %{_tizenfx_bin_path}/bin/dummy/$f ]; then + echo "%{DOTNET_ASSEMBLY_PATH}/ref/$f" + fi + done } GetFileList common > common.filelist @@ -132,14 +140,6 @@ GetFileList mobile-emul > mobile-emul.filelist GetFileList tv > tv.filelist GetFileList wearable > wearable.filelist -rm -fr %{_tizenfx_bin_path} -export DOTNET_SKIP_FIRST_TIME_EXPERIENCE=true - -%define build_cmd ./tools/scripts/retry.sh ./tools/scripts/timeout.sh -t 600 ./build.sh -%{build_cmd} --full -%{build_cmd} --dummy -%{build_cmd} --pack %{TIZEN_NET_NUGET_VERSION} - %install mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_PATH} mkdir -p %{buildroot}%{DOTNET_ASSEMBLY_DUMMY_PATH} @@ -169,7 +169,7 @@ install -p -m 644 packaging/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE} %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 %license LICENSE @@ -178,11 +178,11 @@ install -p -m 644 packaging/*.nupkg %{buildroot}%{DOTNET_NUGET_SOURCE} %{DOTNET_NUGET_SOURCE}/*.nupkg %files dummy -%attr(644,root,root) %{DOTNET_ASSEMBLY_DUMMY_PATH}/*.dll %files full %manifest %{name}.manifest %attr(644,root,root) %{DOTNET_ASSEMBLY_PATH}/*.dll +%attr(644,root,root) %{DOTNET_ASSEMBLY_DUMMY_PATH}/*.dll %attr(644,root,root) %{DOTNET_ASSEMBLY_RES_PATH}/* %files debug