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