%install
# ninja install
+mkdir -p %{buildroot}%{_bindir}
+
+cp out/host/chip-tool %{buildroot}%{_bindir}/
+cp out/host/chip-lighting-app %{buildroot}%{_bindir}/
+cp out/host/chip-all-clusters-app %{buildroot}%{_bindir}/
+cp out/host/chip-shell %{buildroot}%{_bindir}/
+cp out/host/minimal-mdns-client %{buildroot}%{_bindir}/
+cp out/host/minimal-mdns-server %{buildroot}%{_bindir}/
%post
%files
%manifest %{name}.manifest
%license LICENSE
+
+%package test
+Summary: Connected Home over IP Test applications
+Requires: %{name} = %{version}-%{release}
+
+%description test
+This package is for CHIP test applications
+
+%files test
+%manifest %{name}.manifest
+%{_bindir}/chip-tool
+%{_bindir}/chip-lighting-app
+%{_bindir}/chip-all-clusters-app
+%{_bindir}/chip-shell
+%{_bindir}/minimal-mdns-client
+%{_bindir}/minimal-mdns-server