]> git.pld-linux.org Git - packages/cpio.git/blob - cpio.spec
up to 2.15
[packages/cpio.git] / cpio.spec
1 Summary:        GNU cpio archiving program
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
10 Name:           cpio
11 Version:        2.12
12 Release:        1
13 License:        GPL v3+
14 Group:          Applications/Archiving
15 Source0:        http://ftp.gnu.org/gnu/cpio/%{name}-%{version}.tar.bz2
16 # Source0-md5:  93eea9f07c0058c097891c73e4955456
17 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
18 # Source1-md5:  027552f4053477462a09fadc162a5e65
19 Patch0:         %{name}-info.patch
20 Patch1:         %{name}-ifdef.patch
21 URL:            http://www.gnu.org/software/cpio/
22 BuildRequires:  autoconf >= 2.63
23 BuildRequires:  automake >= 1:1.11.1
24 BuildRequires:  gettext-tools >= 0.19
25 BuildRequires:  texinfo
26 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
27
28 %define         _bindir         /bin
29
30 %description
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.
42
43 %description -l de.UTF-8
44 GNU cpio kopiert Dateien in oder aus einem CPIO- oder Tar-Archiv.
45 Archive sind Dateien, die eine Sammlung anderer Dateien und
46 informationen über sie, wie Dateiname, Besitzer, Zugriffszeiten und
47 -berechtigungen, enthalten. Das Archiv kann eine andere Datei auf der
48 Festplatte sein, oder ein Streamerband, oder ein pipe. GNU cpio
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
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.
55
56 %description -l es.UTF-8
57 cpio copia archivos para dentro o para fuera, o de un "archive" cpio o
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.
62
63 %description -l fr.UTF-8
64 cpio copie des fichiers dans ou à partir d'une archive tar ou cpio,
65 qui est un fichier contenant d'autres fichiers plus des informations
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
75 potokiem.
76
77 %description -l pt_BR.UTF-8
78 cpio copia arquivos para dentro ou para fora ou de um "archive" cpio
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
95 teyp veya bir pipe olabilir.
96
97 %description -l uk.UTF-8
98 cpio копіює файли в або з архіву cpio або tar, який являє собою файл,
99 що містить інші файли та інформацію про них, таку як ім'я файлу, його
100 власника, час створення, права доступу і т.і. Архівом може бути файл,
101 стрічка або пайп.
102
103 %prep
104 %setup -q
105 %patch0 -p1
106 %patch1 -p1
107
108 %build
109 %{__gettextize}
110 %{__aclocal} -I m4 -I am
111 %{__autoconf}
112 %{__autoheader}
113 %{__automake}
114 %configure \
115         --disable-silent-rules
116
117 %{__make}
118
119 %install
120 rm -rf $RPM_BUILD_ROOT
121
122 %{__make} install \
123         DESTDIR=$RPM_BUILD_ROOT
124
125 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
126 %{__rm} $RPM_BUILD_ROOT%{_mandir}/README.cpio-non-english-man-pages
127
128 # in PLD rmt is built from tar.spec
129 %{__rm} $RPM_BUILD_ROOT%{_libdir}/rmt
130 %{__rm} $RPM_BUILD_ROOT%{_mandir}/man8/rmt.8*
131 %{__rm} $RPM_BUILD_ROOT%{_mandir}/{es,ja}/man1/mt.1*
132
133 %find_lang %{name}
134
135 %clean
136 rm -rf $RPM_BUILD_ROOT
137
138 %post   -p /sbin/postshell
139 -/usr/sbin/fix-info-dir -c %{_infodir}
140
141 %postun -p /sbin/postshell
142 -/usr/sbin/fix-info-dir -c %{_infodir}
143
144 %files -f %{name}.lang
145 %defattr(644,root,root,755)
146 %doc AUTHORS ChangeLog NEWS README THANKS TODO
147 %attr(755,root,root) %{_bindir}/cpio
148 %lang(es) %{_mandir}/es/man1/cpio.1*
149 %lang(hu) %{_mandir}/hu/man1/cpio.1*
150 %lang(ja) %{_mandir}/ja/man1/cpio.1*
151 %lang(pt_BR) %{_mandir}/pt_BR/man1/cpio.1*
152 %{_infodir}/cpio.info*
153 %{_mandir}/man1/cpio.1*
This page took 0.066164 seconds and 3 git commands to generate.