Репозиторий Sisyphus
Последнее обновление: 1 октября 2023 | Пакетов: 18631 | Посещений: 37917907
en ru br
Репозитории ALT
S:1.35.0.20.1cdad4cc-alt1
5.1: 1.23-alt4
4.1: 1.20-alt1.M41.1
4.0: 1.15.1-alt8
3.0: 1.15.1-alt2
+updates:1.15.1-alt4.M30.2
www.altlinux.org/Changes

Группа :: Архивирование/Резервное копирование
Пакет: tar

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

Name: tar
Version: 1.15.1
Release: alt2

Summary: A GNU file archiving program
License: GPL
Group: Archiving/Backup
Url: http://www.gnu.org/software/tar/

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

Patch1: tar-1.15.1-alt-parse_opt-Iy.patch
Patch2: tar-1.15.1-alt-texinfo.patch
Patch3: tar-1.15.1-alt-without-librt.patch
Patch4: tar-1.15.1-alt-contains_dot_dot.patch
Patch5: tar-1.15.1-rh-owl-unreadable-segfault.patch
Patch6: tar-1.15.1-mdk-optimize-ignored.patch
Patch7: tar-1.15.1-deb-doc.patch
Patch8: tar-1.15.1-deb-lone-zero-block-warning.patch
Patch9: tar-1.15.1-alt-warnings.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/

%patch1 -p1
%patch2 -p1
%patch3 -p1
%patch4 -p1
%patch5 -p1
%patch6 -p1
%patch7 -p1
%patch8 -p1
%patch9 -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 $RPM_BUILD_ROOT{%_bindir,%_man1dir}
%makeinstall bindir=$RPM_BUILD_ROOT/bin libexecdir=$RPM_BUILD_ROOT/sbin
%__ln_s ../../bin/%name $RPM_BUILD_ROOT%_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 можно просмотреть здесь

 
дизайн и разработка: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
текущий майнтейнер: Michael Shigorin