packaging: Add ARTIK-5/10 spec files for GBS build 73/62473/3 submit/tizen/20160318.071304
authorjino.cho <jino.cho@samsung.com>
Wed, 16 Mar 2016 08:26:04 +0000 (17:26 +0900)
committerjino.cho <jino.cho@samsung.com>
Thu, 17 Mar 2016 08:44:57 +0000 (17:44 +0900)
This patch adds the .spec files to make possible gbs build.

Change-Id: I8e48e93d730ce3e409725b9eead28008695fd616
Signed-off-by: jino.cho <jino.cho@samsung.com>
packaging/u-boot-artik10.manifest [new file with mode: 0644]
packaging/u-boot-artik10.spec [new file with mode: 0644]
packaging/u-boot-artik5.manifest [new file with mode: 0644]
packaging/u-boot-artik5.spec [new file with mode: 0644]

diff --git a/packaging/u-boot-artik10.manifest b/packaging/u-boot-artik10.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/u-boot-artik10.spec b/packaging/u-boot-artik10.spec
new file mode 100644 (file)
index 0000000..6d80017
--- /dev/null
@@ -0,0 +1,42 @@
+Name: u-boot-artik10
+Summary: Bootloader for Embedded boards based on ARM processor
+Version: 2012.07
+Release: 0
+Group: System/Kernel
+License: GPL-2.0+
+ExclusiveArch: %{arm}
+URL: http://www.denx.de/wiki/U-Boot
+Source0: %{name}-%{version}.tar.bz2
+Source1001: packaging/u-boot-artik10.manifest
+
+%description
+bootloader for Embedded boards based on ARM processor
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+make distclean
+make artik10_config
+
+# Build tools
+make  %{?_smp_mflags} HOSTSTRIP=/bin/true tools
+
+# Build image
+make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'`
+
+%install
+rm -rf %{buildroot}
+
+# u-boot installation
+mkdir -p %{buildroot}/boot/u-boot
+install -d %{buildroot}/boot/u-boot
+install -m 755 u-boot.bin %{buildroot}/boot/u-boot
+
+%clean
+
+%files
+%manifest u-boot-artik10.manifest
+%defattr(-,root,root,-)
+/boot/u-boot
diff --git a/packaging/u-boot-artik5.manifest b/packaging/u-boot-artik5.manifest
new file mode 100644 (file)
index 0000000..017d22d
--- /dev/null
@@ -0,0 +1,5 @@
+<manifest>
+ <request>
+    <domain name="_"/>
+ </request>
+</manifest>
diff --git a/packaging/u-boot-artik5.spec b/packaging/u-boot-artik5.spec
new file mode 100644 (file)
index 0000000..bb67585
--- /dev/null
@@ -0,0 +1,42 @@
+Name: u-boot-artik5
+Summary: Bootloader for Embedded boards based on ARM processor
+Version: 2012.07
+Release: 0
+Group: System/Kernel
+License: GPL-2.0+
+ExclusiveArch: %{arm}
+URL: http://www.denx.de/wiki/U-Boot
+Source0: %{name}-%{version}.tar.bz2
+Source1001: packaging/u-boot-artik5.manifest
+
+%description
+bootloader for Embedded boards based on ARM processor
+
+%prep
+%setup -q
+
+%build
+cp %{SOURCE1001} .
+make distclean
+make artik5_config
+
+# Build tools
+make  %{?_smp_mflags} HOSTSTRIP=/bin/true tools
+
+# Build image
+make %{?_smp_mflags} EXTRAVERSION=`echo %{vcs} | sed 's/.*u-boot.*#\(.\{9\}\).*/-g\1-TIZEN.org/'`
+
+%install
+rm -rf %{buildroot}
+
+# u-boot installation
+mkdir -p %{buildroot}/boot/u-boot
+install -d %{buildroot}/boot/u-boot
+install -m 755 u-boot.bin %{buildroot}/boot/u-boot
+
+%clean
+
+%files
+%manifest u-boot-artik5.manifest
+%defattr(-,root,root,-)
+/boot/u-boot