summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorChanho Park <chanho61.park@samsung.com>2013-03-27 16:55:49 +0900
committerChanho Park <chanho61.park@samsung.com>2014-11-18 11:42:56 +0900
commit1d4bb280d62ebd0e22b106389dccb133711fc4a4 (patch)
treea5b37de73b708ea46756ec4a6ae71fb16b7d994d /packaging
parent1f7ec49e47fea0d6757657587cc6e79a3fcc7b91 (diff)
downloadlinux-3.10-1d4bb280d62ebd0e22b106389dccb133711fc4a4.tar.gz
linux-3.10-1d4bb280d62ebd0e22b106389dccb133711fc4a4.tar.bz2
linux-3.10-1d4bb280d62ebd0e22b106389dccb133711fc4a4.zip
packaging: add .spec file to generate kernel-headers
This patch is able to generate kernel-headers by GBS. I'll add build script to generate a kernel binary. Signed-off-by: Chanho Park <chanho61.park@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r--packaging/linux-kernel.spec42
1 files changed, 42 insertions, 0 deletions
diff --git a/packaging/linux-kernel.spec b/packaging/linux-kernel.spec
new file mode 100644
index 00000000000..dbd105f1e9c
--- /dev/null
+++ b/packaging/linux-kernel.spec
@@ -0,0 +1,42 @@
+Name: linux-kernel
+Summary: The Linux Kernel
+Version: 3.8.3
+Release: 1
+License: GPL
+Group: System Environment/Kernel
+Vendor: The Linux Community
+URL: http://www.kernel.org
+Source0: %{name}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{PACKAGE_VERSION}-root
+
+%description
+The Linux Kernel, the operating system core itself
+
+%package headers
+Summary: Header files for the Linux kernel for use by glibc
+Group: Development/System
+Obsoletes: kernel-headers
+Provides: kernel-headers = %{version}
+%description headers
+Kernel-headers includes the C header files that specify the interface
+between the Linux kernel and userspace libraries and programs. The
+header files define structures and constants that are needed for
+building most standard programs and are also needed for rebuilding the
+glibc package.
+
+%prep
+%setup -q
+
+%build
+
+%install
+QA_SKIP_BUILD_ROOT="DO_NOT_WANT"; export QA_SKIP_BUILD_ROOT
+mkdir $RPM_BUILD_ROOT/usr
+make ARCH=arm INSTALL_HDR_PATH=$RPM_BUILD_ROOT/usr headers_install
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files headers
+%defattr (-, root, root)
+/usr/include