From 985b2d0fecdb3d703ea8f3f3e5ebc8339c095602 Mon Sep 17 00:00:00 2001 From: Sehong Na Date: Sat, 31 May 2014 12:58:41 +0900 Subject: [PATCH] Initialize Tizen 2.3 --- packaging/macros.mobile | 1 + packaging/macros.wearable | 1 + packaging/profile-macros.spec | 35 +++++++++++++++++++++++++++++++++++ 3 files changed, 37 insertions(+) create mode 100644 packaging/macros.mobile create mode 100644 packaging/macros.wearable create mode 100644 packaging/profile-macros.spec diff --git a/packaging/macros.mobile b/packaging/macros.mobile new file mode 100644 index 0000000..2f235f9 --- /dev/null +++ b/packaging/macros.mobile @@ -0,0 +1 @@ +%tizen_profile_mobile 1 diff --git a/packaging/macros.wearable b/packaging/macros.wearable new file mode 100644 index 0000000..48c2ce6 --- /dev/null +++ b/packaging/macros.wearable @@ -0,0 +1 @@ +%tizen_profile_wearable 1 diff --git a/packaging/profile-macros.spec b/packaging/profile-macros.spec new file mode 100644 index 0000000..8e085a2 --- /dev/null +++ b/packaging/profile-macros.spec @@ -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 -- 2.7.4