Initialize Tizen 2.3 tizen_2.3 2.3a_release submit/tizen_2.3/20140531.105409
authorSehong Na <sehong.na@samsung.com>
Sat, 31 May 2014 03:58:41 +0000 (12:58 +0900)
committerSehong Na <sehong.na@samsung.com>
Sat, 31 May 2014 03:58:41 +0000 (12:58 +0900)
packaging/macros.mobile [new file with mode: 0644]
packaging/macros.wearable [new file with mode: 0644]
packaging/profile-macros.spec [new file with mode: 0644]

diff --git a/packaging/macros.mobile b/packaging/macros.mobile
new file mode 100644 (file)
index 0000000..2f235f9
--- /dev/null
@@ -0,0 +1 @@
+%tizen_profile_mobile 1
diff --git a/packaging/macros.wearable b/packaging/macros.wearable
new file mode 100644 (file)
index 0000000..48c2ce6
--- /dev/null
@@ -0,0 +1 @@
+%tizen_profile_wearable 1
diff --git a/packaging/profile-macros.spec b/packaging/profile-macros.spec
new file mode 100644 (file)
index 0000000..8e085a2
--- /dev/null
@@ -0,0 +1,35 @@
+Summary:        macros for profile build
+Name:           profile-macros
+Version:        1
+Release:        1
+Group:          System/Base
+License:        GPLv2+
+BuildArch:      noarch
+Source0:        macros.mobile
+Source1:        macros.wearable
+
+%description
+Macros for profile build
+
+%prep
+
+%build
+
+%install
+mkdir -p %{buildroot}/etc/rpm
+%if %{_repository} == "wearable"
+install -m 644 %{SOURCE1} %{buildroot}/etc/rpm
+%else
+install -m 644 %{SOURCE0} %{buildroot}/etc/rpm
+%endif
+
+%post
+
+%postun
+
+%files
+%if %{_repository} == "wearable"
+%config /etc/rpm/macros.wearable
+%else
+%config /etc/rpm/macros.mobile
+%endif