Summary: GNU Tape Archiver (tar) Summary(de): GNU-Magnetband-Archivierprogramm (tar) Summary(fr): Programme d'archivage GNU (tar : GNU Tape Archiver). Summary(pl): Program do archiwizacji (GNU) Summary(tr): Yaygýn kullanýlan yedekleyici Name: tar Version: 1.12 Release: 10 Copyright: GPL Group: Utilities/Archiving Group(pl): Narzędzia/Archiwizacja Source0: ftp://prep.ai.mit.edu/pub/gnu/%{name}-%{version}.tar.gz Source1: tar-pl.po.patch Patch0: tar-manpage.patch Patch1: tar-bzip2.patch Patch2: tar-cached_uid.patch Patch3: tar-bzip2-locale.patch Patch4: tar-info.patch Patch5: tar-pipe.patch Patch6: tar-namecache.patch Prereq: /sbin/install-info Buildroot: /tmp/%{name}-%{version}-root %description GNU `tar' saves many files together into a single tape or disk archive, and can restore individual files from the archive. It includes multivolume support, the ability to archive sparse files, automatic archive compression/decompression, remote archives and special features that allow `tar' to be used for incremental and full backups. If you wish to do remote backups with tar, you will need to install the `rmt' package as well. %description -l de GNU 'tar' speichert viele Dateien zusammen in ein einzelnes Band- oder Disk-Archiv und kann einzelne Dateien aus dem Archiv wiederherstellen. Es beinhaltet Multivolume-Support, die Fähigkeit, seltene Dateien zu archivieren, automatische Archiv-Komprimierung und Dekomprimierung, Archive an entfernten Standorten und Spezialfunktionen, die es ermöglichen, 'tar' für inkrementelle und vollständige Backups einzusetzen. Wenn Sie vorhaben, Remote-Backups mit tar zu erstellen, dann benötigen Sie dazu das rmt-Paket. %description -l fr GNU tar sauvegarde plusieurs fichiers sur une seule archive sur bande ou sur disque et peut restaurer les fichiers individuellement ŕ partir de l'archive. Il comprend une gestion multi-volumes, la possibilité d'archiver des fichiers éparpillés, la compression/décompression automatique de l'archive, les archives distantes et des caractéristiques spéciales permettant ŕ tar d'ętre utilisé pour des sauvegardes incrémentales et complčtes. Si vous souhaitez faire des sauvegardes distantes avec tar, vous devrez installer aussi le paquetage Ť rmt ť. %description -l pl GNU tar służy do zapisywania wielu plików na taśmę lub dysk. Może odtwarzać pojedyńcze pliki z archiwum. Umożliwia zapis dużego archiwum z podziałem na wiele nośników. Tar obsługuje także automatyczną kompresję/dekompresję i archiwa zdalne. Posiada specjalne opcje do robienia pełnych i przyrostowych kopii bezpieczeństwa. Aby tworzyć zdalne archiwa tar-a trzeba zainstalować pakiet rmt. %description -l tr GNU tar, birden çok dosyayý tek bir manyetik bant ya da disk üzerinde arţivleyebildiđi gibi, bu dosyalarýn arţivden tek tek geri yüklenmesine de izin verir. Çok kýsýmlý arţivleri, otomatik arţiv sýkýţtýrma ve açmayý, uzak arţivleri, artýmsal yedeklemeyi destekler. %prep %setup -q %patch0 -p1 %patch1 -p0 %patch2 -p0 %patch3 -p0 %patch4 -p1 %patch5 -p1 %patch6 -p1 install %{SOURCE1} po %build LIBS="-lbsd" CFLAGS="$RPM_OPT_FLAGS" LDFLAGS="-s" \ ./configure %{_target_platform} \ --prefix=/usr \ --bindir=/bin \ --libexecdir=/sbin (cd doc; cp stamp-vti version.texi; touch *; makeinfo --force tar.texi) make %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/usr/{bin,man/man1} make prefix=$RPM_BUILD_ROOT/usr bindir=$RPM_BUILD_ROOT/bin libexecdir=$RPM_BUILD_ROOT/sbin install ln -s ../../bin/tar $RPM_BUILD_ROOT%{_bindir}/gtar install tar.1 $RPM_BUILD_ROOT%{_mandir}/man1 gzip -9nf $RPM_BUILD_ROOT/usr/{info/tar.info*,man/man1/*} gzip -9nf README NEWS %find_lang %{name} %post /sbin/install-info %{_infodir}/tar.info.gz /etc/info-dir %preun if [ $1 = 0 ]; then /sbin/install-info --delete %{_infodir}/tar.info.gz /etc/info-dir fi %clean rm -rf $RPM_BUILD_ROOT %files -f %{name}.lang %defattr(0644,root,root, 0755) %doc NEWS.gz README.gz %attr(755,root,root) /bin/* %attr(755,root,root) %{_bindir}/* %{_infodir}/tar.info* %{_mandir}/man1/* %changelog * Thu Feb 10 1999 Michał Kuratczyk [1.12-8] - added Group(pl) - added gzipping documentation - cosmetic changes * Mon Dec 27 1998 Tomasz Kłoczko [1.12-7] - standarized {un}registering info pages (added tar-info.patch), - added gzipping man pages. * Sat Nov 21 1998 Tomasz Kłoczko [1.12-6] - added {un}registering info page in %post %preun with --entry. * Mon Sep 21 1998 Tomasz Kłoczko [1.12-5] - changed Buildroot to /tmp/%%{name}-%%{version}-root, - added using %%{name} and %%{version} in Source, - added static subpackage, - changed passing $RPM_OPT_FLAGS, LIBS and LDFLAGS (now as a configure enviroment variable). * Wed Sep 2 1998 Konrad Stępień [1.12-5] - added %%{PACKAGE_VERSION} macros to Buildroot and Source, - patched to better performaance which unknown uid/gid, - Source adres changed to regular URL, - updated pl locales to 1.12, - added bzip2 support, update man page and pl locales, - translation for pl, - changed mkdir to install -d, - added %doc. * Tue Aug 4 1998 Jeff Johnson - add %{_bindir}/gtar symlink (change #421) * Tue Jul 14 1998 Jeff Johnson - Fiddle bindir/libexecdir to get RH install correct. - Don't include /sbin/rmt -- use the rmt from dump. - Turn on nls. * Mon Apr 27 1998 Prospector System - translations modified for de, fr, tr * Thu Oct 16 1997 Donnie Barnes - updated from 1.11.8 to 1.12 - various spec file cleanups - /sbin/install-info support * Thu Jun 19 1997 Erik Troan - built against glibc * Thu May 29 1997 Michael Fulbright - Fixed to include rmt