diff options
author | Anas Nashif <anas.nashif@intel.com> | 2012-10-25 12:30:57 -0700 |
---|---|---|
committer | Anas Nashif <anas.nashif@intel.com> | 2012-10-25 12:30:57 -0700 |
commit | 64ec05c0e7190901145c7c2ff9d68961abc2a69f (patch) | |
tree | fddfd0578bcbb331d2c1b252528c63e2ffa311ba | |
parent | c42b3ab659c294e1c2a0de4b8bcbb4611eb3d005 (diff) | |
download | cpio-64ec05c0e7190901145c7c2ff9d68961abc2a69f.tar.gz cpio-64ec05c0e7190901145c7c2ff9d68961abc2a69f.tar.bz2 cpio-64ec05c0e7190901145c7c2ff9d68961abc2a69f.zip |
add packaging
-rw-r--r-- | packaging/cpio.spec | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/packaging/cpio.spec b/packaging/cpio.spec new file mode 100644 index 0000000..90ae369 --- /dev/null +++ b/packaging/cpio.spec @@ -0,0 +1,50 @@ +Name: cpio +Version: 2.11 +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 +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 + +rm -rf %{buildroot}%{_prefix}/libexec/rmt + + +%docs_package + +%files +%manifest cpio.manifest +%doc COPYING +%{_bindir}/* + |