%install
rm -rf %{buildroot}
-mkdir -p %{buildroot}/usr/share/license
mkdir -p %{buildroot}/etc/config
mkdir -p %{buildroot}/usr/share/upgrade/scripts
cp -f 500.msg-service.sh %{buildroot}/usr/share/upgrade/scripts
echo "If you want to keep using %name after uninstalling this, you need to reinstall %name after uninstalling this."
%files profile_mobile
%manifest msg-manager.manifest
+%license LICENSE.APLv2
%{_bindir}/msg-server.mobile
%{_libdir}/libmsg_plugin_manager.so.mobile
%{_libdir}/libmsg_mapi.so.*.mobile
echo "If you want to keep using %name after uninstalling this, you need to reinstall %name after uninstalling this."
%files profile_wearable
%manifest msg-manager.manifest
+%license LICENSE.APLv2
%{_bindir}/msg-server.wearable
%{_libdir}/libmsg_plugin_manager.so.wearable
%{_libdir}/libmsg_mapi.so.*.wearable