-Name: org.tizen.oobe
-Summary: org.tizen.oobe
-Version: 1.0.32
+Name: org.tizen.oobe-test
+Summary: org.tizen.oobe-test
+Version: 7.7.7
Release: 1
Group: N/A
License: Apache-2.0
ExclusiveArch: i586 x86 i486 i686 i386 armv7l arm aarch64
+AutoReqProv: no
BuildRequires: pkgconfig(libtzplatform-config)
+BuildRequires: dotnet-build-tools
+
+Requires(post): /usr/bin/vconftool
Requires(post): /usr/bin/tpk-backend
-%define internal_name org.tizen.oobe
%define preload_tpk_path %{TZ_SYS_RO_APP}/.preload-tpk
+
%description
-profile/iot/apps/native/oobe
-This is a container package which have preload TPK/WGT files
+%{summary}
%prep
%setup -q
+cp %{SOURCE1} .
%build
+dotnet clean Oobe/Oobe.sln
+dotnet restore Oobe/Oobe.sln --source https://tizen.myget.org/F/dotnet/api/v3/index.json
+dotnet build Oobe/Oobe.sln
+
%install
-rm -rf %{buildroot}
mkdir -p %{buildroot}/%{preload_tpk_path}
-install packaging/%{internal_name}-%{version}.tpk %{buildroot}/%{preload_tpk_path}/
+install ${buildroot}/* %{buildroot}/%{preload_tpk_path}/
%post