]> git.pld-linux.org Git - packages/tar.git/blob - tar.spec
1.13.15
[packages/tar.git] / tar.spec
1 Summary:        A GNU file archiving program
2 Summary(de):    GNU-Magnetband-Archivierprogramm (tar)
3 Summary(fr):    Programme d'archivage GNU (tar : GNU Tape Archiver).
4 Summary(pl):    Program do archiwizacji (GNU)
5 Summary(tr):    Yaygýn kullanýlan yedekleyici
6 Name:           tar
7 Version:        1.13.15
8 Release:        1
9 Copyright:      GPL
10 Group:          Utilities/Archiving
11 Group(pl):      Narzêdzia/Archiwizacja
12 Source0:        ftp://alpha.gnu.org/gnu/tar/%{name}-%{version}.tar.gz
13 Source1:        tar.1.pl
14 Patch0:         tar-manpage.patch
15 Patch1:         tar-info.patch
16 Patch2:         tar-pipe.patch
17 Patch3:         tar-namecache.patch
18 Prereq:         /usr/sbin/fix-info-dir
19 Buildroot:      /tmp/%{name}-%{version}-root
20
21 %define         _exec_prefix    /
22 %define         _libexecdir     /sbin
23
24 %description
25 The GNU tar program saves many files together into one archive and can
26 restore individual files (or all of the files) from the archive. Tar can
27 also be used to add supplemental files to an archive and to update or list
28 files in the archive.
29
30 Tar includes multivolume support, automatic archive compression/
31 decompression, the ability to perform remote archives and the ability to
32 perform incremental and full backups.
33
34 If you want to use Tar for remote backups, you'll also need to install the
35 rmt package.
36
37 You should install the tar package, because you'll find its compression and
38 decompression utilities essential for working with files.
39
40 %description -l de
41 Das GNU tar-Programm speichert mehrere Dateien in ein Archiv, und kann
42 einzelne Dateien daraus wiederherstellen (oder auch alle Dateien). Tar kann
43 auch benutzt werden, um einem Archiv Dateien hinzuzufügen, und um die Liste
44 der Dateien im Archiv anzuzeigen oder zu verändern.
45
46 Tar enthält multivolume-Support, automatische
47 Archivkompression/dekompression, the Möglichkeit, Dateien per Netzwerk zu
48 archivieren und die Möglichkeit zu inkrementellen backups.
49
50 Wenn Sie tar für Netzwerkbackups benutzen wollen, brauchen Sie außerdem das
51 rmt-Paket.
52
53 Sie sollten tar installieren, da es wichtig zur Dateibehandlung ist.
54
55 %description -l fr
56 Le programme GNU tar permet de regrouper plusieurs fichiers en une seule
57 archive et d'effectuer diverses opérations sur cette archive (extraction
58 d'un fichier particulier, mise à jour, ajout d'un nouveau fichier, ...).
59
60 Tar gère les archives multi-volumes, la compression et la décompression de
61 manière transparente ainsi que la possibilité de réaliser des sauvegardes
62 incrémentales et des sauvegardes complètes.
63
64 Si vous comptez utiliser Tar pour des sauvegardes distantes, vous devriez
65 également installer le programme rmt.
66
67 Tar devrait être installé sur tout système car ses capacité de
68 (dé)compression sont essentielles pour travailler sur les fichiers.
69
70 Pour profiter pleinement de tar, vous devriez installer les compresseurs
71 gzip et/ou bzip2.
72
73 %description -l pl
74 Program GNU tar s³u¿y do zapisywania wielu plików w pojedynczym archiwum i
75 moze tak¿e s³u¿yæ do odzyskiwania z tak prepaowanych archiwów pojedynczych
76 plików (lub wszystkich). Za jego pomoc± mo¿na tak¿e dodwaæ nowe pliki do ju¿
77 istiej±cego archiwum.
78
79 GNU tar umo¿liwia robienie wieloczê¶ciowych archiwów (multivolume archive),
80 automatyczn± kompresjê i dekompresjê samego archiwum a tak¿e ma mo¿liwo¶æ
81 operowania na zdalnych archiiwach co jest przydatne przy sporz±dzaniu
82 przyrostowych i pe³nych archiwów zasobów.
83
84 Je¿eli zamierzasz u¿ywaæ rprogramu tar do operowania na zdalnych archiwach
85 powiniene¶ doinstalowaæ pakiet rmt.
86
87 GNU tar s³u¿y do zapisywania wielu plików na ta¶mê lub dysk. Mo¿e odtwarzaæ
88 pojedyñcze pliki z archiwum. Umo¿liwia zapis du¿ego archiwum z podzia³em na
89 wiele no¶ników. Tar obs³uguje tak¿e automatyczn± kompresjê/dekompresjê i
90 archiwa zdalne. Posiada specjalne opcje do robienia pe³nych i przyrostowych
91 kopii bezpieczeñstwa. Aby tworzyæ zdalne archiwa tar-a trzeba zainstalowaæ
92 pakiet rmt.
93
94 %description -l tr
95 GNU tar, birden çok dosyayý tek bir manyetik bant ya da disk üzerinde
96 arþivleyebildiði gibi, bu dosyalarýn arþivden tek tek geri yüklenmesine de
97 izin verir. Çok kýsýmlý arþivleri, otomatik arþiv sýkýþtýrma ve açmayý, uzak
98 arþivleri, artýmsal yedeklemeyi destekler.
99
100 %prep
101 %setup -q
102 %patch0 -p1
103 %patch1 -p1
104 %patch2 -p1
105 %patch3 -p1
106
107 %build
108 chmod -R a+rwX .
109 gettextize --copy --force
110 LIBS="-lbsd" ; export LIBS
111 LDFLAGS="-s" ; export LDFLAGS
112 %configure
113
114 (cd doc; cp stamp-vti version.texi; touch *; makeinfo --force tar.texi)
115 make
116
117 %install
118 rm -rf $RPM_BUILD_ROOT
119 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1,%{_mandir}/pl/man1}
120
121 make DESTDIR=$RPM_BUILD_ROOT install
122
123 ln -s %{_bindir}/tar $RPM_BUILD_ROOT/usr/bin/gtar
124 install tar.1 $RPM_BUILD_ROOT%{_mandir}/man1
125 install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/pl/man1
126
127 gzip -9nf $RPM_BUILD_ROOT{%{_infodir}/tar.info*,%{_mandir}/man1/*} \
128         $RPM_BUILD_ROOT%{_mandir}/*/man1/* \
129         README NEWS
130
131 %find_lang %{name}
132
133 %post
134 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
135
136 %postun
137 /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
138
139 %clean
140 rm -rf $RPM_BUILD_ROOT
141
142 %files -f %{name}.lang
143 %defattr(0644,root,root, 0755)
144 %doc NEWS.gz README.gz
145 %attr(755,root,root) %{_bindir}/*
146 %attr(755,root,root) /usr/bin/*
147 %{_infodir}/tar.info*
148 %{_mandir}/man1/*
149 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.036228 seconds and 3 git commands to generate.