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