From: Sehong Na Date: Sat, 31 May 2014 03:58:41 +0000 (+0900) Subject: Initialize Tizen 2.3 X-Git-Tag: 2.3a_release X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=985b2d0fecdb3d703ea8f3f3e5ebc8339c095602;p=toolchains%2Fprofile-macros.git Initialize Tizen 2.3 --- 985b2d0fecdb3d703ea8f3f3e5ebc8339c095602 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