]> git.pld-linux.org Git - packages/cpio.git/blob - cpio.spec
- removed all Group fields translations (oure rpm now can handle translating
[packages/cpio.git] / cpio.spec
1 Summary:        GNU cpio archiving program
2 Summary(de):    GNU-cpio-Archivierungsprogramm 
3 Summary(es):    Programa de empaquetado cpio de la GNU (usado por el utilitario rpm)
4 Summary(fr):    Programme d'archivage cpio de GNU
5 Summary(pl):    Program archwizuj±cy na licencji GNU
6 Summary(pt_BR): Programa de empacotamento cpio da GNU (usado pelo utilitário rpm)
7 Summary(tr):    GNU cpio arþivleme programý
8 Name:           cpio
9 Version:        2.4.2
10 Release:        27
11 License:        GPL
12 Group:          Applications/Archiving
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 Patch8:         %{name}-emptylink.patch
22 Patch9:         %{name}-errorcode.patch
23 Patch10:        %{name}-gethostname_is_in_libc_aka_no_libnsl.patch
24 Patch11:        %{name}-man.patch
25 Patch12:        %{name}-debian36.patch
26 Patch13:        %{name}-freebsd.patch
27 Patch14:        %{name}-bug56346.patch
28 BuildRequires:  autoconf
29 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30
31 %define         _exec_prefix    /
32
33 %description
34 GNU cpio copies files into or out of a cpio or tar archive. Archives
35 are files which contain a collection of other files plus information
36 about them, such as their file name, owner, timestamps, and access
37 permissions. The archive can be another file on the disk, a magnetic
38 tape, or a pipe. GNU cpio supports the following archive formats:
39 binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old
40 tar and POSIX.1 tar. By default, cpio creates binary format archives,
41 so that they are compatible with older cpio programs. When it is
42 extracting files from archives, cpio automatically recognizes which
43 kind of archive it is reading and can read archives created on
44 machines with a different byte-order.
45
46 %description -l de
47 GNU cpio kopiert Dateien in oder aus einem CPIO- oder Tar-Archiv.
48 Archive sind Dateien, die eine Sammlung anderer Dateien und
49 informationen über sie, wie Dateiname, Besitzer, Zugriffszeiten und
50 -berechtigungen, enthalten. Das Archiv kann eine andere Datei auf
51 der Festplatte sein, oder ein Streamerband, oder ein pipe. GNU cpio
52 unterstützt die archiv-Formate binary, old ASCII, new ASCII, crc, HPUX
53 binary, HPUX old ASCII, old tar und POSIX.1 tar. Standardmäßig erzeugt
54 cpio Archive im binary-Format, so daß sie mit älteren cpio-Programmen
55 kompatibel sind. Beim Extrahieren von Dateien aus Archiven erkennt
56 cpio das Format automatisch, es kann auch Archive lesen, die auf
57 Computern mit anderer Byteordnung erzeugt wurden.
58
59 %description -l pt_BR
60 cpio copia arquivos para dentro ou para fora ou de um "archive" cpio
61 ou tar, que é um arquivo que contém outros arquivos mais informações
62 sobre eles, como o seu nome de arquivo, dono e permissões de acesso. O
63 "archive" pode ser outro arquivo no disco, uma fita magnética ou um
64 pipe. cpio possui três modos de operação.
65
66 %description -l fr
67 cpio copie des fichiers dans ou à partir d'une archive tar ou cpio,
68 qui est un fichier contenant d'autres fichiers plus des informations
69 sur ceux-ci, comme leur nom, leur propriétaire, la date et les
70 permissions. L'archive peut être un autre fichier sur le disque, une
71 bande ou un tube. cpio possède trois modes de fonctionnement.
72
73 %description -l pl
74 cpio kopiuje pliki do/z archiwum cpio lub tar-a, które jest
75 pojedynczym zbiorem zawieraj±cym pozosta³e pliki wraz z dodatkowymi
76 informacjami jak np. nazwa, w³a¶ciciel, czas modyfikacji i prawa
77 dostêpu. Archiwum mo¿e byæ plikiem na dysku, ta¶mie magetycznej, albo
78 potokiem.
79
80 %description -l es
81 cpio copia archivos para dentro o para fuera, o de un "archive" cpio o
82 tar, que es un archivo que contiene otros archivos, más información
83 sobre ellos, como su nombre de archivo, dueño y permisos de acceso.
84 "archive" puede ser otro archivo en el disco, una cinta magnética o un
85 pipe. cpio posee tres modos de operación.
86
87 %description -l tr
88 cpio programý, cpio veya tar arþivlerinden dosya çeker ya da bu
89 arþivlere dosya koyar. Bu arþivler, dosyalarýn içeriðinden ve ayrýca
90 dosyanýn adý, sahibi, zaman bilgileri ve eriþim haklarý gibi
91 bilgilerden oluþur. Arþiv, disk üzerinde baþka bir dosya, manyetik bir
92 teyp veya bir pipe olabilir.
93
94 %prep
95 %setup -q
96 %patch0 -p1
97 %patch1 -p1
98 %patch2 -p1
99 %patch3 -p1
100 %patch4 -p1
101 %patch5 -p1
102 %patch6 -p1
103 %patch8 -p1
104 %patch9 -p1
105 %patch10 -p1
106 %patch11 -p1
107 %patch12 -p1
108 %patch13 -p1
109 %patch14 -p1
110 chmod -R a+Xr,u+Xw .
111
112 %build
113 autoconf
114 %configure 
115
116 %{__make}
117
118 %install
119 rm -rf $RPM_BUILD_ROOT
120
121 %{__make} install DESTDIR=$RPM_BUILD_ROOT 
122         
123 gzip -9nf README
124
125 %post
126 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
127
128 %postun
129 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
130
131 %clean
132 rm -rf $RPM_BUILD_ROOT
133
134 %files
135 %defattr(644,root,root,755)
136 %doc README.gz
137 %attr(755,root,root) /bin/cpio
138 %{_infodir}/cpio*
139 %{_mandir}/man1/cpio.*
This page took 0.042857 seconds and 3 git commands to generate.