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