]>
Commit | Line | Data |
---|---|---|
3af090f8 | 1 | Summary: GNU cpio archiving program |
a7206c02 ER |
2 | Summary(de.UTF-8): GNU-cpio-Archivierungsprogramm |
3 | Summary(es.UTF-8): Programa de empaquetado cpio de la GNU (usado por el utilitario rpm) | |
4 | Summary(fr.UTF-8): Programme d'archivage cpio de GNU | |
5 | Summary(pl.UTF-8): Program archwizujący na licencji GNU | |
6 | Summary(pt_BR.UTF-8): Programa de empacotamento cpio da GNU (usado pelo utilitário rpm) | |
7 | Summary(ru.UTF-8): Архивная программа GNU | |
8 | Summary(tr.UTF-8): GNU cpio arşivleme programı | |
9 | Summary(uk.UTF-8): Архівна програма GNU | |
3af090f8 | 10 | Name: cpio |
7d15bb67 | 11 | Version: 2.9 |
887f538b | 12 | Release: 1 |
7d15bb67 | 13 | License: GPL v3+ |
4ac361af | 14 | Group: Applications/Archiving |
bcb4f03b | 15 | Source0: ftp://ftp.gnu.org/gnu/cpio/%{name}-%{version}.tar.bz2 |
7d15bb67 | 16 | # Source0-md5: e387abfdae3a0b9a8a5f762db653a96d |
75d8c49f | 17 | Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2 |
bcb4f03b JB |
18 | # Source1-md5: 027552f4053477462a09fadc162a5e65 |
19 | Patch0: %{name}-info.patch | |
4638599f | 20 | Patch1: %{name}-locale.patch |
887f538b | 21 | Patch2: %{name}-pl.po-update.patch |
bcb4f03b | 22 | URL: http://www.gnu.org/software/cpio/ |
4638599f JB |
23 | BuildRequires: autoconf >= 2.59 |
24 | BuildRequires: automake >= 1:1.8 | |
25 | BuildRequires: gettext-devel >= 0.16 | |
1c15e2f1 | 26 | BuildRequires: texinfo |
00d993df | 27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b37a1769 | 28 | |
bcb4f03b | 29 | %define _bindir /bin |
1e1ab00e | 30 | |
b37a1769 | 31 | %description |
23f4dc30 | 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. | |
a05baf5d | 43 | |
8f18574c | 44 | %description -l de.UTF-8 |
23f4dc30 | 45 | GNU cpio kopiert Dateien in oder aus einem CPIO- oder Tar-Archiv. |
46 | Archive sind Dateien, die eine Sammlung anderer Dateien und | |
8f18574c | 47 | informationen über sie, wie Dateiname, Besitzer, Zugriffszeiten und |
2c28e871 | 48 | -berechtigungen, enthalten. Das Archiv kann eine andere Datei auf der |
49 | Festplatte sein, oder ein Streamerband, oder ein pipe. GNU cpio | |
8f18574c JR |
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 | |
23f4dc30 | 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. | |
b37a1769 | 56 | |
8f18574c | 57 | %description -l es.UTF-8 |
dfcfd1c3 | 58 | cpio copia archivos para dentro o para fuera, o de un "archive" cpio o |
8f18574c JR |
59 | tar, que es un archivo que contiene otros archivos, más información |
60 | sobre ellos, como su nombre de archivo, dueño y permisos de acceso. | |
61 | "archive" puede ser otro archivo en el disco, una cinta magnética o un | |
62 | pipe. cpio posee tres modos de operación. | |
d9a35cbe | 63 | |
8f18574c JR |
64 | %description -l fr.UTF-8 |
65 | cpio copie des fichiers dans ou à partir d'une archive tar ou cpio, | |
b37a1769 | 66 | qui est un fichier contenant d'autres fichiers plus des informations |
8f18574c JR |
67 | sur ceux-ci, comme leur nom, leur propriétaire, la date et les |
68 | permissions. L'archive peut être un autre fichier sur le disque, une | |
69 | bande ou un tube. cpio possède trois modes de fonctionnement. | |
70 | ||
71 | %description -l pl.UTF-8 | |
72 | cpio kopiuje pliki do/z archiwum cpio lub tar-a, które jest | |
73 | pojedynczym zbiorem zawierającym pozostałe pliki wraz z dodatkowymi | |
74 | informacjami jak np. nazwa, właściciel, czas modyfikacji i prawa | |
75 | dostępu. Archiwum może być plikiem na dysku, taśmie magnetycznej, albo | |
23f4dc30 | 76 | potokiem. |
b37a1769 | 77 | |
8f18574c | 78 | %description -l pt_BR.UTF-8 |
dfcfd1c3 | 79 | cpio copia arquivos para dentro ou para fora ou de um "archive" cpio |
8f18574c JR |
80 | ou tar, que é um arquivo que contém outros arquivos mais informações |
81 | sobre eles, como o seu nome de arquivo, dono e permissões de acesso. O | |
82 | "archive" pode ser outro arquivo no disco, uma fita magnética ou um | |
83 | pipe. cpio possui três modos de operação. | |
84 | ||
85 | %description -l ru.UTF-8 | |
86 | cpio копирует файлы в или из архива cpio или tar, который представляет | |
87 | собой файл, содержащий другие файлы и информацию о них, такую как имя | |
88 | файла, его хозяин, время создания, права доступа и т.д. Архивом может | |
89 | быть файл, лента или пайп. | |
90 | ||
91 | %description -l tr.UTF-8 | |
92 | cpio programı, cpio veya tar arşivlerinden dosya çeker ya da bu | |
93 | arşivlere dosya koyar. Bu arşivler, dosyaların içeriğinden ve ayrıca | |
94 | dosyanın adı, sahibi, zaman bilgileri ve erişim hakları gibi | |
95 | bilgilerden oluşur. Arşiv, disk üzerinde başka bir dosya, manyetik bir | |
23f4dc30 | 96 | teyp veya bir pipe olabilir. |
b37a1769 | 97 | |
8f18574c JR |
98 | %description -l uk.UTF-8 |
99 | cpio копіює файли в або з архіву cpio або tar, який являє собою файл, | |
100 | що містить інші файли та інформацію про них, таку як ім'я файлу, його | |
101 | власника, час створення, права доступу і т.і. Архівом може бути файл, | |
102 | стрічка або пайп. | |
2c28e871 | 103 | |
b37a1769 | 104 | %prep |
105 | %setup -q | |
887f538b | 106 | %patch2 -p1 |
94a8f23b | 107 | %patch0 -p1 |
b37a1769 | 108 | %patch1 -p1 |
bcb4f03b JB |
109 | |
110 | rm -f po/stamp-po | |
b37a1769 | 111 | |
112 | %build | |
bcb4f03b JB |
113 | %{__gettextize} |
114 | %{__aclocal} -I m4 | |
1ddc0ff4 | 115 | %{__autoconf} |
bcb4f03b JB |
116 | %{__autoheader} |
117 | %{__automake} | |
9aa34f45 | 118 | %configure |
1e1ab00e | 119 | |
920f554b | 120 | %{__make} |
b37a1769 | 121 | |
122 | %install | |
123 | rm -rf $RPM_BUILD_ROOT | |
b37a1769 | 124 | |
d974e8ce PG |
125 | %{__make} install \ |
126 | DESTDIR=$RPM_BUILD_ROOT | |
9aa34f45 | 127 | |
dfcfd1c3 JB |
128 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
129 | ||
bcb4f03b JB |
130 | %find_lang %{name} |
131 | ||
dfcfd1c3 JB |
132 | %clean |
133 | rm -rf $RPM_BUILD_ROOT | |
94a8f23b | 134 | |
135 | %post | |
dc3c3e16 | 136 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
94a8f23b | 137 | |
a05baf5d | 138 | %postun |
dc3c3e16 | 139 | [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1 |
b37a1769 | 140 | |
bcb4f03b | 141 | %files -f %{name}.lang |
3af090f8 | 142 | %defattr(644,root,root,755) |
bcb4f03b | 143 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
b3a1f077 | 144 | %attr(755,root,root) %{_bindir}/cpio |
dfcfd1c3 JB |
145 | %lang(es) %{_mandir}/es/man1/cpio.1* |
146 | %lang(hu) %{_mandir}/hu/man1/cpio.1* | |
147 | %lang(ja) %{_mandir}/ja/man1/cpio.1* | |
2c28e871 | 148 | %lang(pt_BR) %{_mandir}/pt_BR/man1/cpio.1* |
b3a1f077 | 149 | %{_infodir}/cpio.info* |
150 | %{_mandir}/man1/cpio.1* |