]> git.pld-linux.org Git - packages/tar.git/blob - tar.spec
- fixed build with gettext 0.12.1
[packages/tar.git] / tar.spec
1 Summary:        A GNU file archiving program
2 Summary(de):    GNU-Magnetband-Archivierprogramm (tar)
3 Summary(es):    GNU Tape Archiver (tar)
4 Summary(fr):    Programme d'archivage GNU (tar: GNU Tape Archiver)
5 Summary(pl):    Program do archiwizacji (GNU)
6 Summary(pt_BR): GNU Tape Archiver (tar)
7 Summary(tr):    Yaygýn kullanýlan yedekleyici
8 Name:           tar
9 Version:        1.13.25
10 Release:        7
11 Epoch:          1
12 License:        GPL
13 Group:          Applications/Archiving
14 Source0:        ftp://alpha.gnu.org/gnu/tar/%{name}-%{version}.tar.gz
15 # Source0-md5:  6ef8c906e81eee441f8335652670ac4a
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_from_debian_tar_1.13.25-2.patch
19 Patch1:         %{name}-info.patch
20 Patch2:         %{name}-pipe.patch
21 Patch3:         %{name}-namecache.patch
22 Patch4:         %{name}-error.patch
23 Patch5:         %{name}-sock.patch
24 Patch6:         %{name}-nolibrt.patch
25 Patch7:         %{name}-man.patch
26 Patch8:         %{name}-ac25x.patch
27 Patch9:         %{name}-dots.patch
28 Patch10:        %{name}-pl.po-fix.patch
29 BuildRequires:  autoconf
30 BuildRequires:  automake
31 BuildRequires:  bison
32 BuildRequires:  gettext-devel
33 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35 %define         _exec_prefix    /
36 %define         _bindir         /bin
37 %define         _libexecdir     /sbin
38
39 %description
40 The GNU tar program saves many files together into one archive and can
41 restore individual files (or all of the files) from the archive. Tar
42 can also be used to add supplemental files to an archive and to update
43 or list files in the archive.
44
45 Tar includes multivolume support, automatic archive compression/
46 decompression, the ability to perform remote archives and the ability
47 to perform incremental and full backups.
48
49 If you want to use Tar for remote backups, you'll also need to install
50 the rmt package.
51
52 %description -l de
53 Das GNU tar-Programm speichert mehrere Dateien in ein Archiv, und kann
54 einzelne Dateien daraus wiederherstellen (oder auch alle Dateien). Tar
55 kann auch benutzt werden, um einem Archiv Dateien hinzuzufügen, und um
56 die Liste der Dateien im Archiv anzuzeigen oder zu verändern.
57
58 Tar enthält multivolume-Support, automatische
59 Archivkompression/dekompression, the Möglichkeit, Dateien per Netzwerk
60 zu archivieren und die Möglichkeit zu inkrementellen backups.
61
62 Wenn Sie tar für Netzwerkbackups benutzen wollen, brauchen Sie
63 außerdem das rmt-Paket.
64
65 %description -l es
66 GNU "tar" guarda varios archivos juntos, en una cinta o archivo de
67 disco, y puede restaurar archivos individuales de este almacenaje.
68 Incluye soporte para multivolúmenes, habilidad de almacenar archivos
69 dispersos, compresión/descompresión automática, almacenajes remotos y
70 características especiales que permiten "tar" ser usado para backups
71 incrementales y completos. Si deseas hacer backups remotos con tar, te
72 hará falta instalar el paquete "rmt".
73
74 %description -l fr
75 Le programme GNU tar permet de regrouper plusieurs fichiers en une
76 seule archive et d'effectuer diverses opérations sur cette archive
77 (extraction d'un fichier particulier, mise à jour, ajout d'un nouveau
78 fichier, ...).
79
80 Tar gère les archives multi-volumes, la compression et la
81 décompression de manière transparente ainsi que la possibilité de
82 réaliser des sauvegardes incrémentales et des sauvegardes complètes.
83
84 Si vous comptez utiliser Tar pour des sauvegardes distantes, vous
85 devriez également installer le programme rmt.
86
87 Tar devrait être installé sur tout système car ses capacité de
88 (dé)compression sont essentielles pour travailler sur les fichiers.
89
90 %description -l pl
91 Program GNU tar s³u¿y do zapisywania wielu plików w pojedynczym
92 archiwum i moze tak¿e s³u¿yæ do odzyskiwania z tak prepaowanych
93 archiwów pojedynczych plików (lub wszystkich). Za jego pomoc± mo¿na
94 tak¿e dodwaæ nowe pliki do ju¿ istiej±cego archiwum.
95
96 GNU tar umo¿liwia robienie wieloczê¶ciowych archiwów (multivolume
97 archive), automatyczn± kompresjê i dekompresjê samego archiwum a tak¿e
98 ma mo¿liwo¶æ operowania na zdalnych archiiwach co jest przydatne przy
99 sporz±dzaniu przyrostowych i pe³nych archiwów zasobów.
100
101 Je¿eli zamierzasz u¿ywaæ rprogramu tar do operowania na zdalnych
102 archiwach powiniene¶ doinstalowaæ pakiet rmt.
103
104 GNU tar s³u¿y do zapisywania wielu plików na ta¶mê lub dysk. Mo¿e
105 odtwarzaæ pojedyñcze pliki z archiwum. Umo¿liwia zapis du¿ego archiwum
106 z podzia³em na wiele no¶ników. Tar obs³uguje tak¿e automatyczn±
107 kompresjê/dekompresjê i archiwa zdalne. Posiada specjalne opcje do
108 robienia pe³nych i przyrostowych kopii bezpieczeñstwa. Aby tworzyæ
109 zdalne archiwa tar-a trzeba zainstalowaæ pakiet rmt.
110
111 %description -l pt_BR
112 GNU "tar" guarda vários arquivos juntos em uma fita ou arquivo de
113 disco, e pode restaurar arquivos individuais desta armazenagem. Ele
114 inclui suporte para multi-volumes, habilidade de armazenar arquivos
115 dispersos, compressão/descompressão automática, armazenamentos remotos
116 e características especiais que permitem "tar" ser usado para backups
117 incrementais e completos. Se você deseja fazer backups remotos com
118 tar, você irá precisar instalar o pacote "rmt".
119
120 %description -l tr
121 GNU tar, birden çok dosyayý tek bir manyetik bant ya da disk üzerinde
122 arþivleyebildiði gibi, bu dosyalarýn arþivden tek tek geri
123 yüklenmesine de izin verir. Çok kýsýmlý arþivleri, otomatik arþiv
124 sýkýþtýrma ve açmayý, uzak arþivleri, artýmsal yedeklemeyi destekler.
125
126 %prep
127 %setup -q
128 %patch0 -p2
129 %patch1 -p1
130 %patch2 -p1
131 %patch3 -p1
132 %patch4 -p1
133 %patch5 -p1
134 %patch6 -p1
135 %patch7 -p0
136 %patch8 -p1
137 %patch9 -p1
138 %patch10 -p1
139
140 %build
141 chmod -R a+rwX .
142 rm -f missing m4/{ccstdc,codeset,gettext,glibc21,iconv,isc-posix,lcmessage,progtest,ulonglong}.m4
143 mv -f m4/{inttypes.m4,jm-inttypes.m4}
144 %{__gettextize}
145 %{__autoheader}
146 %{__aclocal} -I m4
147 %{__autoconf}
148 %{__automake}
149 %configure
150
151 cd doc
152 cp -f stamp-vti version.texi
153 touch *
154 makeinfo --force tar.texi
155 cd ..
156
157 %{__make}
158
159 %install
160 rm -rf $RPM_BUILD_ROOT
161 install -d $RPM_BUILD_ROOT{/usr/bin,%{_mandir}/man1}
162
163 %{__make} DESTDIR=$RPM_BUILD_ROOT install
164
165 ln -sf %{_bindir}/tar $RPM_BUILD_ROOT/usr/bin/gtar
166 install tar.1 $RPM_BUILD_ROOT%{_mandir}/man1
167 bzip2 -dc %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
168
169 %find_lang %{name}
170
171 %clean
172 rm -rf $RPM_BUILD_ROOT
173
174 %post
175 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
176
177 %postun
178 [ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
179
180 %files -f %{name}.lang
181 %defattr(644,root,root,755)
182 %doc README NEWS
183 %attr(755,root,root) %{_bindir}/*
184 %attr(755,root,root) /usr/bin/*
185 %{_infodir}/tar.info*
186 %{_mandir}/man1/*
187 %lang(de) %{_mandir}/de/man1/*
188 %lang(es) %{_mandir}/es/man1/*
189 %lang(fi) %{_mandir}/fi/man1/*
190 %lang(fr) %{_mandir}/fr/man1/*
191 %lang(hu) %{_mandir}/hu/man1/*
192 %lang(id) %{_mandir}/id/man1/*
193 %lang(it) %{_mandir}/it/man1/*
194 %lang(ja) %{_mandir}/ja/man1/*
195 %lang(nl) %{_mandir}/nl/man1/*
196 %lang(pl) %{_mandir}/pl/man1/*
This page took 0.067946 seconds and 3 git commands to generate.