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