]> git.pld-linux.org Git - packages/tar.git/blob - tar.spec
- [FIX] non-recoverable error (lone zero block) on certain archives.
[packages/tar.git] / tar.spec
1 Summary:        A GNU file archiving program
2 Summary(de):    GNU-Magnetband-Archivierprogramm (tar)
3 Summary(es):    GNU Tape Archiver (tar)
4 Summary(fr):    Programme d'archivage GNU (tar: GNU Tape Archiver)
5 Summary(pl):    Program do archiwizacji (GNU)
6 Summary(pt_BR): GNU Tape Archiver (tar)
7 Summary(tr):    Yaygýn kullanýlan yedekleyici
8 Name:           tar
9 Version:        1.14
10 Release:        2
11 Epoch:          1
12 License:        GPL
13 Group:          Applications/Archiving
14 Source0:        ftp://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
15 # Source0-md5:  f1932e0fbd4641885bfdcc75495c91b7
16 Source1:        http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
17 # Source1-md5:  4e4b1655fe42c27a4eb5d7bcd82e74ac
18 Patch0:         %{name}-man-debian.patch
19 Patch1:         %{name}-man.patch
20 Patch2:         %{name}-info.patch
21 Patch3:         %{name}-pl.po-update.patch
22 Patch4:         %{name}-sock.patch
23 Patch5:         %{name}-dots.patch
24 Patch6:         %{name}-zero-block.patch
25 URL:            http://www.gnu.org/software/tar/tar.html
26 BuildRequires:  autoconf >= 2.59
27 BuildRequires:  automake >= 1.8
28 BuildRequires:  bison
29 BuildRequires:  gettext-devel >= 0.14.1
30 BuildRequires:  texinfo
31 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33 %define         _exec_prefix    /
34 %define         _bindir         /bin
35 %define         _libexecdir     /sbin
36
37 %description
38 The GNU tar program saves many files together into one archive and can
39 restore individual files (or all of the files) from the archive. Tar
40 can also be used to add supplemental files to an archive and to update
41 or list files in the archive.
42
43 Tar includes multivolume support, automatic archive compression/
44 decompression, the ability to perform remote archives and the ability
45 to perform incremental and full backups.
46
47 If you want to use Tar for remote backups, you'll also need to install
48 the rmt package.
49
50 %description -l de
51 Das GNU tar-Programm speichert mehrere Dateien in ein Archiv, und kann
52 einzelne Dateien daraus wiederherstellen (oder auch alle Dateien). Tar
53 kann auch benutzt werden, um einem Archiv Dateien hinzuzufügen, und um
54 die Liste der Dateien im Archiv anzuzeigen oder zu verändern.
55
56 Tar enthält multivolume-Support, automatische
57 Archivkompression/dekompression, the Möglichkeit, Dateien per Netzwerk
58 zu archivieren und die Möglichkeit zu inkrementellen backups.
59
60 Wenn Sie tar für Netzwerkbackups benutzen wollen, brauchen Sie
61 außerdem das rmt-Paket.
62
63 %description -l es
64 GNU "tar" guarda varios archivos juntos, en una cinta o archivo de
65 disco, y puede restaurar archivos individuales de este almacenaje.
66 Incluye soporte para multivolúmenes, habilidad de almacenar archivos
67 dispersos, compresión/descompresión automática, almacenajes remotos y
68 características especiales que permiten "tar" ser usado para backups
69 incrementales y completos. Si deseas hacer backups remotos con tar, te
70 hará falta instalar el paquete "rmt".
71
72 %description -l fr
73 Le programme GNU tar permet de regrouper plusieurs fichiers en une
74 seule archive et d'effectuer diverses opérations sur cette archive
75 (extraction d'un fichier particulier, mise à jour, ajout d'un nouveau
76 fichier, ...).
77
78 Tar gère les archives multi-volumes, la compression et la
79 décompression de manière transparente ainsi que la possibilité de
80 réaliser des sauvegardes incrémentales et des sauvegardes complètes.
81
82 Si vous comptez utiliser Tar pour des sauvegardes distantes, vous
83 devriez également installer le programme rmt.
84
85 Tar devrait être installé sur tout système car ses capacité de
86 (dé)compression sont essentielles pour travailler sur les fichiers.
87
88 %description -l pl
89 Program GNU tar s³u¿y do zapisywania wielu plików w pojedynczym
90 archiwum i moze tak¿e s³u¿yæ do odzyskiwania z tak prepaowanych
91 archiwów pojedynczych plików (lub wszystkich). Za jego pomoc± mo¿na
92 tak¿e dodwaæ nowe pliki do ju¿ istiej±cego archiwum.
93
94 GNU tar umo¿liwia robienie wieloczê¶ciowych archiwów (multivolume
95 archive), automatyczn± kompresjê i dekompresjê samego archiwum a tak¿e
96 ma mo¿liwo¶æ operowania na zdalnych archiiwach co jest przydatne przy
97 sporz±dzaniu przyrostowych i pe³nych archiwów zasobów.
98
99 Je¿eli zamierzasz u¿ywaæ rprogramu tar do operowania na zdalnych
100 archiwach powiniene¶ doinstalowaæ pakiet rmt.
101
102 GNU tar s³u¿y do zapisywania wielu plików na ta¶mê lub dysk. Mo¿e
103 odtwarzaæ pojedyñcze pliki z archiwum. Umo¿liwia zapis du¿ego archiwum
104 z podzia³em na wiele no¶ników. Tar obs³uguje tak¿e automatyczn±
105 kompresjê/dekompresjê i archiwa zdalne. Posiada specjalne opcje do
106 robienia pe³nych i przyrostowych kopii bezpieczeñstwa. Aby tworzyæ
107 zdalne archiwa tar-a trzeba zainstalowaæ pakiet rmt.
108
109 %description -l pt_BR
110 GNU "tar" guarda vários arquivos juntos em uma fita ou arquivo de
111 disco, e pode restaurar arquivos individuais desta armazenagem. Ele
112 inclui suporte para multi-volumes, habilidade de armazenar arquivos
113 dispersos, compressão/descompressão automática, armazenamentos remotos
114 e características especiais que permitem "tar" ser usado para backups
115 incrementais e completos. Se você deseja fazer backups remotos com
116 tar, você irá precisar instalar o pacote "rmt".
117
118 %description -l tr
119 GNU tar, birden çok dosyayý tek bir manyetik bant ya da disk üzerinde
120 arþivleyebildiði gibi, bu dosyalarýn arþivden tek tek geri
121 yüklenmesine de izin verir. Çok kýsýmlý arþivleri, otomatik arþiv
122 sýkýþtýrma ve açmayý, uzak arþivleri, artýmsal yedeklemeyi destekler.
123
124 %prep
125 %setup -q
126 %patch0 -p2
127 %patch1 -p1
128 %patch2 -p1
129 %patch3 -p1
130 %patch4 -p1
131 %patch5 -p1
132 %patch6 -p1
133
134 rm -f po/stamp-po
135
136 # temporary (configure.ac uses gl_AC_TYPE_LONG_LONG while gettext 0.14
137 # defines jm_AC_TYPE_LONG_LONG)
138 mv -f m4/{longlong.m4,glonglong.m4}
139
140 %build
141 %{__gettextize}
142 %{__autoheader}
143 %{__aclocal} -I m4
144 %{__autoconf}
145 %{__autoheader}
146 %{__automake}
147 %configure
148
149 %{__make}
150
151 %install
152 rm -rf $RPM_BUILD_ROOT
153 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
154
155 %{__make} install \
156         DESTDIR=$RPM_BUILD_ROOT
157
158 ln -sf %{_bindir}/tar $RPM_BUILD_ROOT/usr/bin/gtar
159
160 install tar.1 $RPM_BUILD_ROOT%{_mandir}/man1
161 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
162
163 %find_lang %{name}
164
165 %clean
166 rm -rf $RPM_BUILD_ROOT
167
168 %post
169 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
170
171 %postun
172 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
173
174 %files -f %{name}.lang
175 %defattr(644,root,root,755)
176 %doc README NEWS
177 %attr(755,root,root) %{_bindir}/*
178 %attr(755,root,root) /usr/bin/*
179 %{_infodir}/tar.info*
180 %{_mandir}/man1/*
181 %lang(de) %{_mandir}/de/man1/*
182 %lang(es) %{_mandir}/es/man1/*
183 %lang(fi) %{_mandir}/fi/man1/*
184 %lang(fr) %{_mandir}/fr/man1/*
185 %lang(hu) %{_mandir}/hu/man1/*
186 %lang(id) %{_mandir}/id/man1/*
187 %lang(it) %{_mandir}/it/man1/*
188 %lang(ja) %{_mandir}/ja/man1/*
189 %lang(nl) %{_mandir}/nl/man1/*
190 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.103879 seconds and 3 git commands to generate.