]> git.pld-linux.org Git - packages/cpio.git/blob - cpio.spec
- release 22,
[packages/cpio.git] / cpio.spec
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ý
6 Name:           cpio
7 Version:        2.4.2
8 Release:        22
9 License:        GPL
10 Group:          Applications/Archiving
11 Group(de):      Applikationen/Archivierung
12 Group(pl):      Aplikacje/Archiwizacja
13 Source0:        ftp://prep.ai.mit.edu/pub/gnu/cpio/%{name}-%{version}.tar.gz
14 Patch0:         %{name}-glibc.patch
15 Patch1:         %{name}-mtime.patch
16 Patch2:         %{name}-svr4compat.patch
17 Patch3:         %{name}-info.patch
18 Patch4:         %{name}-glibc21.patch
19 Patch5:         %{name}-longlongdev.patch
20 Patch6:         %{name}-DESTDIR.patch
21 Patch7:         %{name}-stdout.patch
22 Patch8:         %{name}-emptylink.patch
23 Patch9:         %{name}-errorcode.patch
24 Patch10:        %{name}-gethostname_is_in_libc_aka_no_libnsl.patch
25 Patch11:        %{name}-man.patch
26 BuildRequires:  autoconf
27 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29 %define         _exec_prefix    /
30
31 %description
32 GNU cpio copies files into or out of a cpio or tar archive. Archives
33 are files which contain a collection of other files plus information
34 about them, such as their file name, owner, timestamps, and access
35 permissions. The archive can be another file on the disk, a magnetic
36 tape, or a pipe. GNU cpio supports the following archive formats:
37 binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old
38 tar and POSIX.1 tar. By default, cpio creates binary format archives,
39 so that they are compatible with older cpio programs. When it is
40 extracting files from archives, cpio automatically recognizes which
41 kind of archive it is reading and can read archives created on
42 machines with a different byte-order.
43
44 %description -l de
45 GNU cpio kopiert Dateien in oder aus einem CPIO- oder Tar-Archiv.
46 Archive sind Dateien, die eine Sammlung anderer Dateien und
47 informationen über sie, wie Dateiname, Besitzer, Zugriffszeiten und
48 -berechtigungen, enthalten. Das Archiv kann eine andere Datei auf
49 der Festplatte sein, oder ein Streamerband, oder ein pipe. GNU cpio
50 unterstützt die archiv-Formate binary, old ASCII, new ASCII, crc, HPUX
51 binary, HPUX old ASCII, old tar und POSIX.1 tar. Standardmäßig erzeugt
52 cpio Archive im binary-Format, so daß sie mit älteren cpio-Programmen
53 kompatibel sind. Beim Extrahieren von Dateien aus Archiven erkennt
54 cpio das Format automatisch, es kann auch Archive lesen, die auf
55 Computern mit anderer Byteordnung erzeugt wurden.
56
57 %description -l fr
58 cpio copie des fichiers dans ou à partir d'une archive tar ou cpio,
59 qui est un fichier contenant d'autres fichiers plus des informations
60 sur ceux-ci, comme leur nom, leur propriétaire, la date et les
61 permissions. L'archive peut être un autre fichier sur le disque, une
62 bande ou un tube. cpio possède trois modes de fonctionnement.
63
64 %description -l pl
65 cpio kopiuje pliki do/z archiwum cpio lub tar-a, które jest
66 pojedynczym zbiorem zawieraj±cym pozosta³e pliki wraz z dodatkowymi
67 informacjami jak np. nazwa, w³a¶ciciel, czas modyfikacji i prawa
68 dostêpu. Archiwum mo¿e byæ plikiem na dysku, ta¶mie magetycznej, albo
69 potokiem.
70
71 %description -l tr
72 cpio programý, cpio veya tar arþivlerinden dosya çeker ya da bu
73 arþivlere dosya koyar. Bu arþivler, dosyalarýn içeriðinden ve ayrýca
74 dosyanýn adý, sahibi, zaman bilgileri ve eriþim haklarý gibi
75 bilgilerden oluþur. Arþiv, disk üzerinde baþka bir dosya, manyetik bir
76 teyp veya bir pipe olabilir.
77
78 %prep
79 %setup -q
80 %patch0 -p1
81 %patch1 -p1
82 %patch2 -p1
83 %patch3 -p1
84 %patch4 -p1
85 %patch5 -p1
86 %patch6 -p1
87 %patch7 -p1
88 %patch8 -p1
89 %patch9 -p1
90 %patch10 -p1
91 %patch11 -p1
92 chmod -R a+Xr,u+Xw .
93
94 %build
95 autoconf
96 %configure 
97
98 %{__make}
99
100 %install
101 rm -rf $RPM_BUILD_ROOT
102
103 %{__make} install DESTDIR=$RPM_BUILD_ROOT 
104         
105 gzip -9nf README
106
107 %post
108 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
109
110 %postun
111 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
112
113 %clean
114 rm -rf $RPM_BUILD_ROOT
115
116 %files
117 %defattr(644,root,root,755)
118 %doc README.gz
119 %attr(755,root,root) /bin/cpio
120 %{_infodir}/cpio*
121 %{_mandir}/man1/cpio.*
This page took 0.100505 seconds and 4 git commands to generate.