]> git.pld-linux.org Git - packages/tar.git/blob - tar.spec
- some updates
[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.13.91
10 Release:        0.1
11 Epoch:          1
12 License:        GPL
13 Group:          Applications/Archiving
14 Source0:        ftp://alpha.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
15 # Source0-md5:  0fdffa97f67ff926579c9ada60b50780
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_from_debian_tar_1.13.25-2.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}-nolibrt.patch
24 Patch6:         %{name}-dots.patch
25 Patch7:         %{name}-locale.patch
26 BuildRequires:  autoconf >= 2.57
27 BuildRequires:  automake >= 1.7.5
28 BuildRequires:  bison
29 BuildRequires:  gettext-devel
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 -p0
128 %patch2 -p1
129 %patch3 -p1
130 %patch4 -p1
131 %patch5 -p1
132 %patch6 -p1
133 %patch7 -p1
134
135 rm -f po/stamp-po
136
137 %build
138 %{__gettextize}
139 %{__autoheader}
140 %{__aclocal} -I m4
141 %{__autoconf}
142 %{__autoheader}
143 %{__automake}
144 %configure
145
146 %{__make}
147
148 %install
149 rm -rf $RPM_BUILD_ROOT
150 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
151
152 %{__make} install \
153         DESTDIR=$RPM_BUILD_ROOT
154
155 ln -sf %{_bindir}/tar $RPM_BUILD_ROOT/usr/bin/gtar
156
157 install tar.1 $RPM_BUILD_ROOT%{_mandir}/man1
158 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
159
160 %find_lang %{name}
161
162 %clean
163 rm -rf $RPM_BUILD_ROOT
164
165 %post
166 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
167
168 %postun
169 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
170
171 %files -f %{name}.lang
172 %defattr(644,root,root,755)
173 %doc README NEWS
174 %attr(755,root,root) %{_bindir}/*
175 %attr(755,root,root) /usr/bin/*
176 %{_infodir}/tar.info*
177 %{_mandir}/man1/*
178 %lang(de) %{_mandir}/de/man1/*
179 %lang(es) %{_mandir}/es/man1/*
180 %lang(fi) %{_mandir}/fi/man1/*
181 %lang(fr) %{_mandir}/fr/man1/*
182 %lang(hu) %{_mandir}/hu/man1/*
183 %lang(id) %{_mandir}/id/man1/*
184 %lang(it) %{_mandir}/it/man1/*
185 %lang(ja) %{_mandir}/ja/man1/*
186 %lang(nl) %{_mandir}/nl/man1/*
187 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.126 seconds and 4 git commands to generate.