Bump to cpio 2.8 25/70625/1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 20 May 2016 01:50:14 +0000 (10:50 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Fri, 20 May 2016 01:50:14 +0000 (10:50 +0900)
[Model] ALL
[BinType] AP
[Customer] OPEN

[Issue#] N/A
[Request] N/A
[Occurrence Version] N/A

[Problem] GPL3 license issue at CPIO-2.9
[Cause & Measure] downgrade to CPIO-2.8 (GPL2)
[Checking Method] cpio binary execute

[Team] Open Source Management and Setting Part
[Developer] dh0128.kwak
[Solution company] Samsung
[Change Type] N/A

Change-Id: I456b4a0e2410b6b16588dbb7ec35bdfd4ba5d640
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
packaging/cpio.manifest [new file with mode: 0644]
packaging/cpio.spec [new file with mode: 0644]

diff --git a/packaging/cpio.manifest b/packaging/cpio.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/cpio.spec b/packaging/cpio.spec
new file mode 100644 (file)
index 0000000..e6945c9
--- /dev/null
@@ -0,0 +1,50 @@
+Name:           cpio
+Version:        2.8
+Release:        0
+License:        GPL-2.0
+Summary:        A GNU archiving program
+Url:            http://www.gnu.org/software/cpio/
+Group:          Base/Tools
+Source0:        ftp://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.gz
+Source1001:    cpio.manifest
+BuildRequires:  autoconf
+
+%description
+GNU cpio copies files into or out of a cpio or tar archive.  Archives
+are files which contain a collection of other files plus information
+about them, such as their file name, owner, timestamps, and access
+permissions.  The archive can be another file on the disk, a magnetic
+tape, or a pipe.  GNU cpio supports the following archive formats:  binary,
+old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar and POSIX.1
+tar.  By default, cpio creates binary format archives, so that they are
+compatible with older cpio programs.  When it is extracting files from
+archives, cpio automatically recognizes which kind of archive it is reading
+and can read archives created on machines with a different byte-order.
+
+Install cpio if you need a program to manage file archives.
+
+%prep
+%setup -q
+cp %{SOURCE1001} .
+
+
+%build
+export ac_cv_prog_cc_c99=no
+%configure --disable-nls
+
+make %{?_smp_mflags}
+
+%install
+%make_install
+mkdir -p %{buildroot}%{_mandir}/man1
+
+rm -rf %{buildroot}%{_prefix}/libexec/rmt
+
+
+%docs_package
+
+%files
+%manifest %{name}.manifest
+%license COPYING
+%{_bindir}/*
+