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