Name: ug-nfc-efl
Summary: NFC Setting UI
-Version: 3.1.6
+Version: 3.1.7
Release: 0
Group: App/Network
License: Flora-1.1
popd
mkdir -p wearable_ins
+mkdir -p wearable_ins/packages
mv %{buildroot}/%{_prefix}/apps/org.tizen.nfc-setting-app/* wearable_ins/
+mv %{buildroot}/usr/share/packages/* wearable_ins/packages/
%endif
%install
mkdir -p %{buildroot}/usr/share/packages
mv common_ins/packages/* %{buildroot}/usr/share/packages/
+mv wearable_ins/packages/* %{buildroot}/usr/share/packages/
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if common || tv || ivi || "undefined"
%files
%defattr(-,root,root,-)
%{_datadir}/license/LICENSE.Flora
-%{_datadir}/packages/*
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
# if common || tv || ivi || "undefined"
%if "%{?profile}" != "wearable" && "%{?profile}" != "mobile"
%files profile_common
/usr/ug/common/lib/*
+%{_datadir}/packages/ug-nfc-efl.xml
%endif
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
%if "%{?profile}" != "common" && "%{?profile}" != "wearable" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%files profile_mobile
/usr/ug/mobile/lib/*
+%{_datadir}/packages/ug-nfc-efl.xml
%endif
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability
%if "%{?profile}" != "common" && "%{?profile}" != "mobile" && "%{?profile}" != "tv" && "%{?profile}" != "ivi"
%files profile_wearable
%{_prefix}/apps/org.tizen.nfc-setting-app/*
+%{_datadir}/packages/org.tizen.nfc-setting-app.xml
%endif
# This is for backward-compatibility. This does not deteriorate 4.0 Configurability