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