summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packaging/ug-nfc-efl.spec9
1 files changed, 7 insertions, 2 deletions
diff --git a/packaging/ug-nfc-efl.spec b/packaging/ug-nfc-efl.spec
index 0aebb7e..3553ba4 100644
--- a/packaging/ug-nfc-efl.spec
+++ b/packaging/ug-nfc-efl.spec
@@ -1,6 +1,6 @@
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
@@ -133,7 +133,9 @@ make %{?jobs:-j%jobs}
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
@@ -142,6 +144,7 @@ cp -af %{_builddir}/%{name}-%{version}/LICENSE.Flora %{buildroot}/usr/share/lice
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"
@@ -201,13 +204,13 @@ rm /usr/ug/lib/libug-nfc-efl*
%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
@@ -215,6 +218,7 @@ rm /usr/ug/lib/libug-nfc-efl*
%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
@@ -222,6 +226,7 @@ rm /usr/ug/lib/libug-nfc-efl*
%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