]>
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 |
5224e8bf | 11 | Version: 2.15 |
5570dd38 | 12 | Release: 1 |
7d15bb67 | 13 | License: GPL v3+ |
4ac361af | 14 | Group: Applications/Archiving |
b88e2c69 | 15 | Source0: https://ftp.gnu.org/gnu/cpio/%{name}-%{version}.tar.bz2 |
5224e8bf | 16 | # Source0-md5: 3394d444ca1905ea56c94b628b706a0b |
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 | |
a329c181 | 20 | Patch1: %{name}-ifdef.patch |
bcb4f03b | 21 | URL: http://www.gnu.org/software/cpio/ |
5570dd38 JP |
22 | BuildRequires: autoconf >= 2.71 |
23 | BuildRequires: automake >= 1:1.16.5 | |
3d15769d | 24 | BuildRequires: gettext-tools >= 0.19 |
1c15e2f1 | 25 | BuildRequires: texinfo |
00d993df | 26 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
b37a1769 | 27 | |
bcb4f03b | 28 | %define _bindir /bin |
1e1ab00e | 29 | |
b37a1769 | 30 | %description |
23f4dc30 | 31 | GNU cpio copies files into or out of a cpio or tar archive. Archives |
32 | are files which contain a collection of other files plus information | |
33 | about them, such as their file name, owner, timestamps, and access | |
34 | permissions. The archive can be another file on the disk, a magnetic | |
35 | tape, or a pipe. GNU cpio supports the following archive formats: | |
36 | binary, old ASCII, new ASCII, crc, HPUX binary, HPUX old ASCII, old | |
37 | tar and POSIX.1 tar. By default, cpio creates binary format archives, | |
38 | so that they are compatible with older cpio programs. When it is | |
39 | extracting files from archives, cpio automatically recognizes which | |
40 | kind of archive it is reading and can read archives created on | |
41 | machines with a different byte-order. | |
a05baf5d | 42 | |
8f18574c | 43 | %description -l de.UTF-8 |
23f4dc30 | 44 | GNU cpio kopiert Dateien in oder aus einem CPIO- oder Tar-Archiv. |
45 | Archive sind Dateien, die eine Sammlung anderer Dateien und | |
8f18574c | 46 | informationen über sie, wie Dateiname, Besitzer, Zugriffszeiten und |
2c28e871 | 47 | -berechtigungen, enthalten. Das Archiv kann eine andere Datei auf der |
48 | Festplatte sein, oder ein Streamerband, oder ein pipe. GNU cpio | |
8f18574c JR |
49 | unterstützt die archiv-Formate binary, old ASCII, new ASCII, crc, HPUX |
50 | binary, HPUX old ASCII, old tar und POSIX.1 tar. Standardmäßig erzeugt | |
51 | cpio Archive im binary-Format, so daß sie mit älteren cpio-Programmen | |
23f4dc30 | 52 | kompatibel sind. Beim Extrahieren von Dateien aus Archiven erkennt |
53 | cpio das Format automatisch, es kann auch Archive lesen, die auf | |
54 | Computern mit anderer Byteordnung erzeugt wurden. | |
b37a1769 | 55 | |
8f18574c | 56 | %description -l es.UTF-8 |
dfcfd1c3 | 57 | cpio copia archivos para dentro o para fuera, o de un "archive" cpio o |
8f18574c JR |
58 | tar, que es un archivo que contiene otros archivos, más información |
59 | sobre ellos, como su nombre de archivo, dueño y permisos de acceso. | |
60 | "archive" puede ser otro archivo en el disco, una cinta magnética o un | |
61 | pipe. cpio posee tres modos de operación. | |
d9a35cbe | 62 | |
8f18574c JR |
63 | %description -l fr.UTF-8 |
64 | cpio copie des fichiers dans ou à partir d'une archive tar ou cpio, | |
b37a1769 | 65 | qui est un fichier contenant d'autres fichiers plus des informations |
8f18574c JR |
66 | sur ceux-ci, comme leur nom, leur propriétaire, la date et les |
67 | permissions. L'archive peut être un autre fichier sur le disque, une | |
68 | bande ou un tube. cpio possède trois modes de fonctionnement. | |
69 | ||
70 | %description -l pl.UTF-8 | |
71 | cpio kopiuje pliki do/z archiwum cpio lub tar-a, które jest | |
72 | pojedynczym zbiorem zawierającym pozostałe pliki wraz z dodatkowymi | |
73 | informacjami jak np. nazwa, właściciel, czas modyfikacji i prawa | |
74 | dostępu. Archiwum może być plikiem na dysku, taśmie magnetycznej, albo | |
23f4dc30 | 75 | potokiem. |
b37a1769 | 76 | |
8f18574c | 77 | %description -l pt_BR.UTF-8 |
dfcfd1c3 | 78 | cpio copia arquivos para dentro ou para fora ou de um "archive" cpio |
8f18574c JR |
79 | ou tar, que é um arquivo que contém outros arquivos mais informações |
80 | sobre eles, como o seu nome de arquivo, dono e permissões de acesso. O | |
81 | "archive" pode ser outro arquivo no disco, uma fita magnética ou um | |
82 | pipe. cpio possui três modos de operação. | |
83 | ||
84 | %description -l ru.UTF-8 | |
85 | cpio копирует файлы в или из архива cpio или tar, который представляет | |
86 | собой файл, содержащий другие файлы и информацию о них, такую как имя | |
87 | файла, его хозяин, время создания, права доступа и т.д. Архивом может | |
88 | быть файл, лента или пайп. | |
89 | ||
90 | %description -l tr.UTF-8 | |
91 | cpio programı, cpio veya tar arşivlerinden dosya çeker ya da bu | |
92 | arşivlere dosya koyar. Bu arşivler, dosyaların içeriğinden ve ayrıca | |
93 | dosyanın adı, sahibi, zaman bilgileri ve erişim hakları gibi | |
94 | bilgilerden oluşur. Arşiv, disk üzerinde başka bir dosya, manyetik bir | |
23f4dc30 | 95 | teyp veya bir pipe olabilir. |
b37a1769 | 96 | |
8f18574c JR |
97 | %description -l uk.UTF-8 |
98 | cpio копіює файли в або з архіву cpio або tar, який являє собою файл, | |
99 | що містить інші файли та інформацію про них, таку як ім'я файлу, його | |
100 | власника, час створення, права доступу і т.і. Архівом може бути файл, | |
101 | стрічка або пайп. | |
2c28e871 | 102 | |
b37a1769 | 103 | %prep |
104 | %setup -q | |
94a8f23b | 105 | %patch0 -p1 |
b37a1769 | 106 | %patch1 -p1 |
bcb4f03b | 107 | |
b37a1769 | 108 | %build |
bcb4f03b | 109 | %{__gettextize} |
a329c181 | 110 | %{__aclocal} -I m4 -I am |
1ddc0ff4 | 111 | %{__autoconf} |
bcb4f03b JB |
112 | %{__autoheader} |
113 | %{__automake} | |
a329c181 JB |
114 | %configure \ |
115 | --disable-silent-rules | |
1e1ab00e | 116 | |
920f554b | 117 | %{__make} |
b37a1769 | 118 | |
119 | %install | |
120 | rm -rf $RPM_BUILD_ROOT | |
b37a1769 | 121 | |
d974e8ce PG |
122 | %{__make} install \ |
123 | DESTDIR=$RPM_BUILD_ROOT | |
9aa34f45 | 124 | |
dfcfd1c3 | 125 | bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir} |
3d15769d | 126 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.cpio-non-english-man-pages |
dfcfd1c3 | 127 | |
a329c181 | 128 | # in PLD rmt is built from tar.spec |
fd2eaf35 | 129 | %{__rm} $RPM_BUILD_ROOT%{_libexecdir}/rmt |
3d15769d JB |
130 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/rmt.8* |
131 | %{__rm} $RPM_BUILD_ROOT%{_mandir}/{es,ja}/man1/mt.1* | |
a329c181 | 132 | |
bcb4f03b JB |
133 | %find_lang %{name} |
134 | ||
dfcfd1c3 JB |
135 | %clean |
136 | rm -rf $RPM_BUILD_ROOT | |
94a8f23b | 137 | |
a329c181 | 138 | %post -p /sbin/postshell |
9e44b588 | 139 | -/usr/sbin/fix-info-dir -c %{_infodir} |
94a8f23b | 140 | |
a329c181 | 141 | %postun -p /sbin/postshell |
9e44b588 | 142 | -/usr/sbin/fix-info-dir -c %{_infodir} |
b37a1769 | 143 | |
bcb4f03b | 144 | %files -f %{name}.lang |
3af090f8 | 145 | %defattr(644,root,root,755) |
bcb4f03b | 146 | %doc AUTHORS ChangeLog NEWS README THANKS TODO |
b3a1f077 | 147 | %attr(755,root,root) %{_bindir}/cpio |
dfcfd1c3 JB |
148 | %lang(es) %{_mandir}/es/man1/cpio.1* |
149 | %lang(hu) %{_mandir}/hu/man1/cpio.1* | |
150 | %lang(ja) %{_mandir}/ja/man1/cpio.1* | |
2c28e871 | 151 | %lang(pt_BR) %{_mandir}/pt_BR/man1/cpio.1* |
b3a1f077 | 152 | %{_infodir}/cpio.info* |
153 | %{_mandir}/man1/cpio.1* |