]> git.pld-linux.org Git - packages/tar.git/blob - tar.spec
c0924b3e00037b52161668a24c610aa29eea5fe8
[packages/tar.git] / tar.spec
1 Summary:        A GNU file archiving program
2 Summary(de.UTF-8):      GNU-Magnetband-Archivierprogramm (tar)
3 Summary(es.UTF-8):      GNU Tape Archiver (tar)
4 Summary(fr.UTF-8):      Programme d'archivage GNU (tar: GNU Tape Archiver)
5 Summary(pl.UTF-8):      Program do archiwizacji (GNU)
6 Summary(pt_BR.UTF-8):   GNU Tape Archiver (tar)
7 Summary(tr.UTF-8):      Yaygın kullanılan yedekleyici
8 Name:           tar
9 Version:        1.17
10 Release:        1
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:  c6c4f1c075dbf0f75c29737faa58f290
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.60
27 BuildRequires:  automake >= 1:1.9
28 BuildRequires:  bison
29 BuildRequires:  gettext-devel >= 0.16
30 BuildRequires:  sed >= 4.0
31 BuildRequires:  texinfo
32 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34 %define         _exec_prefix    /
35 %define         _bindir         /bin
36 %define         _libexecdir     /sbin
37
38 %description
39 The GNU tar program saves many files together into one archive and can
40 restore individual files (or all of the files) from the archive. Tar
41 can also be used to add supplemental files to an archive and to update
42 or list files in the archive.
43
44 Tar includes multivolume support, automatic archive compression/
45 decompression, the ability to perform remote archives and the ability
46 to perform incremental and full backups.
47
48 If you want to use Tar for remote backups, you'll also need to install
49 the rmt package.
50
51 %description -l de.UTF-8
52 Das GNU tar-Programm speichert mehrere Dateien in ein Archiv, und kann
53 einzelne Dateien daraus wiederherstellen (oder auch alle Dateien). Tar
54 kann auch benutzt werden, um einem Archiv Dateien hinzuzufügen, und um
55 die Liste der Dateien im Archiv anzuzeigen oder zu verändern.
56
57 Tar enthält multivolume-Support, automatische
58 Archivkompression/dekompression, the Möglichkeit, Dateien per Netzwerk
59 zu archivieren und die Möglichkeit zu inkrementellen backups.
60
61 Wenn Sie tar für Netzwerkbackups benutzen wollen, brauchen Sie
62 außerdem das rmt-Paket.
63
64 %description -l es.UTF-8
65 GNU "tar" guarda varios archivos juntos, en una cinta o archivo de
66 disco, y puede restaurar archivos individuales de este almacenaje.
67 Incluye soporte para multivolúmenes, habilidad de almacenar archivos
68 dispersos, compresión/descompresión automática, almacenajes remotos y
69 características especiales que permiten "tar" ser usado para backups
70 incrementales y completos. Si deseas hacer backups remotos con tar, te
71 hará falta instalar el paquete "rmt".
72
73 %description -l fr.UTF-8
74 Le programme GNU tar permet de regrouper plusieurs fichiers en une
75 seule archive et d'effectuer diverses opérations sur cette archive
76 (extraction d'un fichier particulier, mise à jour, ajout d'un nouveau
77 fichier, ...).
78
79 Tar gère les archives multi-volumes, la compression et la
80 décompression de manière transparente ainsi que la possibilité de
81 réaliser des sauvegardes incrémentales et des sauvegardes complètes.
82
83 Si vous comptez utiliser Tar pour des sauvegardes distantes, vous
84 devriez également installer le programme rmt.
85
86 Tar devrait être installé sur tout système car ses capacité de
87 (dé)compression sont essentielles pour travailler sur les fichiers.
88
89 %description -l pl.UTF-8
90 Program GNU tar służy do zapisywania wielu plików w pojedynczym
91 archiwum i może także służyć do odzyskiwania z tak preparowanych
92 archiwów pojedynczych plików (lub wszystkich). Za jego pomocą można
93 także dodawać nowe pliki do już istniejącego archiwum.
94
95 GNU tar umożliwia robienie wieloczęściowych archiwów (multivolume
96 archive), automatyczną kompresję i dekompresję samego archiwum a także
97 ma możliwość operowania na zdalnych archiwach co jest przydatne przy
98 sporządzaniu przyrostowych i pełnych archiwów zasobów.
99
100 Jeżeli zamierzasz używać programu tar do operowania na zdalnych
101 archiwach powinieneś doinstalować pakiet rmt.
102
103 GNU tar służy do zapisywania wielu plików na taśmę lub dysk. Może
104 odtwarzać pojedyncze pliki z archiwum. Umożliwia zapis dużego archiwum
105 z podziałem na wiele nośników. Tar obsługuje także automatyczną
106 kompresję/dekompresję i archiwa zdalne. Posiada specjalne opcje do
107 robienia pełnych i przyrostowych kopii bezpieczeństwa. Aby tworzyć
108 zdalne archiwa tar-a trzeba zainstalować pakiet rmt.
109
110 %description -l pt_BR.UTF-8
111 GNU "tar" guarda vários arquivos juntos em uma fita ou arquivo de
112 disco, e pode restaurar arquivos individuais desta armazenagem. Ele
113 inclui suporte para multi-volumes, habilidade de armazenar arquivos
114 dispersos, compressão/descompressão automática, armazenamentos remotos
115 e características especiais que permitem "tar" ser usado para backups
116 incrementais e completos. Se você deseja fazer backups remotos com
117 tar, você irá precisar instalar o pacote "rmt".
118
119 %description -l tr.UTF-8
120 GNU tar, birden çok dosyayı tek bir manyetik bant ya da disk üzerinde
121 arşivleyebildiği gibi, bu dosyaların arşivden tek tek geri
122 yüklenmesine de izin verir. Çok kısımlı arşivleri, otomatik arşiv
123 sıkıştırma ve açmayı, uzak arşivleri, artımsal yedeklemeyi destekler.
124
125 %prep
126 %setup -q
127 %patch0 -p2
128 %patch1 -p1
129 %patch2 -p1
130 %patch3 -p1
131 %patch4 -p1
132 %patch5 -p1
133 %patch6 -p1
134
135 rm -f po/stamp-po
136
137 %build
138 %{__gettextize}
139 %{__aclocal} -I m4
140 %{__autoconf}
141 %{__autoheader}
142 %{__automake}
143 %configure
144
145 %{__make}
146
147 %install
148 rm -rf $RPM_BUILD_ROOT
149 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
150
151 %{__make} install \
152         DESTDIR=$RPM_BUILD_ROOT
153
154 ln -sf %{_bindir}/tar $RPM_BUILD_ROOT/usr/bin/gtar
155
156 install tar.1 $RPM_BUILD_ROOT%{_mandir}/man1
157 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
158
159 rm -rf $RPM_BUILD_ROOT%{_datadir}/locale/no
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.070861 seconds and 2 git commands to generate.