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