diff options
author | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 01:12:19 +0900 |
---|---|---|
committer | HyungKyu Song <hk76.song@samsung.com> | 2013-02-16 01:12:19 +0900 |
commit | 9976048cfef130abda2667ca352bda6d89632afa (patch) | |
tree | f4556c926854d1bde6ce2a4960337950843f02a0 /packaging/cpio.spec | |
parent | 43e15e32d26b017f436da3dd40334b4df292e5a5 (diff) | |
download | cpio-tizen_2.0.tar.gz cpio-tizen_2.0.tar.bz2 cpio-tizen_2.0.zip |
Diffstat (limited to 'packaging/cpio.spec')
-rw-r--r-- | packaging/cpio.spec | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/packaging/cpio.spec b/packaging/cpio.spec new file mode 100644 index 0000000..f20214f --- /dev/null +++ b/packaging/cpio.spec @@ -0,0 +1,59 @@ +Name: cpio +Version: 2.8 +Release: 3 +License: GPL-3.0+ +Summary: A GNU archiving program +Url: http://www.gnu.org/software/cpio/ +Group: Applications/Archiving +Source0: ftp://ftp.gnu.org/gnu/cpio/cpio-%{version}.tar.gz +Source1: cpio.1 +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 + + + +%build +cp %{SOURCE1001} . +export ac_cv_prog_cc_c99=no +%configure --disable-nls + +make %{?_smp_mflags} + +%install +%make_install +mkdir -p %{buildroot}%{_mandir}/man1 +cp -a %{SOURCE1} %{buildroot}%{_mandir}/man1 + + +mkdir -p %{buildroot}/bin +ln -sf ../usr/bin/cpio %{buildroot}/bin/ +rm -rf %{buildroot}%{_prefix}/libexec/rmt + + + +%docs_package + +%files +%manifest cpio.manifest +%doc COPYING +%{_bindir}/* +/bin/cpio + + |