1 Summary: GNU cpio archiving program
2 Summary(de): GNU-cpio-Archivierungsprogramm
3 Summary(fr): Programme d'archivage cpio de GNU
4 Summary(pl): Program archwizuj±cy na licencji GNU
5 Summary(tr): GNU cpio arþivleme programý
10 Group: Utilities/Archiving
11 Group(pl): Narzêdzia/Archiwizacja
12 Source: ftp://prep.ai.mit.edu/pub/gnu/cpio/%{name}-%{version}.tar.gz
13 Patch0: cpio-glibc.patch
14 Patch1: cpio-mtime.patch
15 Patch2: cpio-svr4compat.patch
16 Patch3: cpio-info.patch
17 Patch4: cpio-glibc21.patch
18 Patch5: cpio-longlongdev.patch
19 Patch6: cpio-DESTDIR.patch
20 Patch7: cpio-stdout.patch
21 Patch8: cpio-emptylink.patch
22 Prereq: /usr/sbin/fix-info-dir
23 Buildroot: /tmp/%{name}-%{version}-root
25 %define _exec_prefix /
28 GNU cpio copies files into or out of a cpio or tar archive. Archives are
29 files which contain a collection of other files plus information about them,
30 such as their file name, owner, timestamps, and access permissions. The
31 archive can be another file on the disk, a magnetic tape, or a pipe. GNU
32 cpio supports the following archive formats: binary, old ASCII, new ASCII,
33 crc, HPUX binary, HPUX old ASCII, old tar and POSIX.1 tar. By default, cpio
34 creates binary format archives, so that they are compatible with older cpio
35 programs. When it is extracting files from archives, cpio automatically
36 recognizes which kind of archive it is reading and can read archives created
37 on machines with a different byte-order.
39 Install cpio if you need a program to manage file archives.
42 GNU cpio kopiert Dateien in oder aus einem CPIO- oder Tar-Archiv. Archive
43 sind Dateien, die eine Sammlung anderer Dateien und informationen über sie,
44 wie Dateiname, Besitzer, Zugriffszeiten und -berechtigungen, enthalten. Das
45 Archiv kann eine andere Datei auf der Festplatte sein, oder ein
46 Streamerband, oder ein pipe. GNU cpio unterstützt die archiv-Formate binary,
47 old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old tar und POSIX.1
48 tar. Standardmäßig erzeugt cpio Archive im binary-Format, so daß sie mit
49 älteren cpio-Programmen kompatibel sind. Beim Extrahieren von Dateien aus
50 Archiven erkennt cpio das Format automatisch, es kann auch Archive lesen,
51 die auf Computern mit anderer Byteordnung erzeugt wurden.
54 cpio copie des fichiers dans ou à partir d'une archive tar ou cpio,
55 qui est un fichier contenant d'autres fichiers plus des informations
56 sur ceux-ci, comme leur nom, leur propriétaire, la date et les permissions.
57 L'archive peut être un autre fichier sur le disque, une bande ou un tube.
58 cpio possède trois modes de fonctionnement.
61 cpio kopiuje pliki do/z archiwum cpio lub tar-a, które jest pojedynczym
62 zbiorem zawieraj±cym pozosta³e pliki wraz z dodatkowymi informacjami jak np.
63 nazwa, w³a¶ciciel, czas modyfikacji i prawa dostêpu. Archiwum mo¿e byæ
64 plikiem na dysku, ta¶mie magetycznej, albo potokiem.
67 cpio programý, cpio veya tar arþivlerinden dosya çeker ya da bu arþivlere
68 dosya koyar. Bu arþivler, dosyalarýn içeriðinden ve ayrýca dosyanýn adý,
69 sahibi, zaman bilgileri ve eriþim haklarý gibi bilgilerden oluþur. Arþiv,
70 disk üzerinde baþka bir dosya, manyetik bir teyp veya bir pipe olabilir.
85 LDFLAGS="-s"; export LDFLAGS
91 rm -rf $RPM_BUILD_ROOT
93 make install DESTDIR=$RPM_BUILD_ROOT
95 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/cpio*,%{_mandir}/man1/*} \
99 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
102 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
105 rm -rf $RPM_BUILD_ROOT
108 %defattr(644,root,root,755)
110 %attr(755,root,root) /bin/cpio
112 %{_mandir}/man1/cpio.*