Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1583598
 поиск   регистрация   авторизация 
 
Группа :: Архивирование/Резервное копирование
Пакет: tar

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Name: tar
Version: 1.15.1
Release: alt0.M24.1

Summary: A GNU file archiving program
License: GPL
Group: Archiving/Backup
Url: http://www.gnu.org/software/tar/
Packager: Dmitry V. Levin <ldv at altlinux.org>

Source: http://ftp.gnu.org/gnu/%name/%name-%version.tar.bz2
Source1: append.at

Patch0: tar-1.15.1-cvs-20050105-parse_opt.patch
Patch1: tar-1.15.1-cvs-20050113-name_size.patch
Patch2: tar-1.15.1-cvs-20050303-seekable.patch
Patch3: tar-1.15.1-cvs-20050303-newer-verbose.patch
Patch4: tar-1.15.1-cvs-20050512-pad.patch
Patch5: tar-1.15.1-cvs-20050613-is_avoided_name.patch
Patch6: tar-1.15.1-cvs-20050801-sparse-totals.patch
Patch7: tar-1.15.1-cvs-20051105-tests.patch
Patch8: tar-1.15.1-up-savedir.patch
Patch9: tar-1.15.1-cvs-20050622-xheader.patch
Patch11: tar-1.15.1-alt-parse_opt-Iy.patch
Patch12: tar-1.15.1-alt-texinfo.patch
Patch13: tar-1.15.1-alt-without-librt.patch
Patch14: tar-1.15.1-alt-contains_dot_dot.patch
Patch15: tar-1.15.1-rh-owl-unreadable-segfault.patch
Patch16: tar-1.15.1-mdk-optimize-ignored.patch
Patch17: tar-1.15.1-deb-doc.patch
Patch18: tar-1.15.1-deb-lone-zero-block-warning.patch
Patch19: tar-1.15.1-alt-warnings.patch
Patch20: tar-1.15.1-alt-tests.patch

Requires(post): %install_info
Requires(preun): %uninstall_info

BuildPreReq: cvs, help2man

Summary(ru_RU.KOI8-R): Утилита проекта GNU для архивации файлов

%description
The GNU tar program saves many files together into one archive and
can restore individual files (or all of the files) from the archive.
tar can also be used to add supplemental files to an archive and to
update or list files in the archive.  tar includes multivolume support,
automatic archive compression/decompression, the ability to perform
remote archives and the ability to perform incremental and full backups.

%prep
%setup -q
%__install -pm644 %_sourcedir/append.at tests/

%patch0 -p0
%patch1 -p0
%patch2 -p0
%patch3 -p0
%patch4 -p0
%patch5 -p0
%patch6 -p0
%patch7 -p0
%patch8 -p1
%patch9 -p1
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
%patch15 -p1
%patch16 -p1
%patch17 -p1
%patch18 -p1
%patch19 -p1
%patch20 -p1

find -type f -name \*.orig -delete -print

%build
autoreconf -fisv
export tar_cv_path_RSH=%_bindir/ssh
%configure --bindir=/bin --with-rmt=/sbin/rmt
%make_build
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check}}}
%__bzip2 -9fk ChangeLog

%install
%__mkdir_p %buildroot{%_bindir,%_man1dir}
%makeinstall bindir=%buildroot/bin
%__ln_s ../../bin/%name %buildroot%_bindir/g%name
help2man %buildroot/bin/%name >%buildroot%_man1dir/%name.1
%find_lang %name

%post
%install_info %name.info

%preun
%uninstall_info %name.info

%files -f %name.lang
/bin/%name
%_bindir/g%name
%_mandir/man?/*
%_infodir/%name.info*
%doc AUTHORS ChangeLog.bz2 NEWS README THANKS TODO

%changelog

Полный changelog можно просмотреть здесь

 
design & coding: Vladimir Lettiev aka crux © 2004-2005