Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37564759
en ru br
ALT Linux repos
S:1.35.0.20.1cdad4cc-alt1
5.0: 1.20-alt1
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

Group :: Archiving/Backup
RPM: tar

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: tar
Version: 1.20
Release: alt1.M41.1

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

# ftp://ftp.gnu.org/gnu/tar/tar-%version.tar.bz2

Source: tar-%version.tar
Source1: tar.1
Patch: tar-%version-%release.patch

Patch1: tar-1.20-CVE-2010-0624.patch

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

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
%patch -p1
%patch1 -p1
bzip2 -9fk ChangeLog

%build
export tar_cv_path_RSH=%_bindir/ssh
%configure --bindir=/bin --with-rmt=/sbin/rmt
sed -i '/HAVE_CLOCK_GETTIME/d' config.h
%make_build LIB_CLOCK_GETTIME=
%{?!__buildreqs:%{?!_without_check:%{?!_disable_check:%make_build -k check LIB_CLOCK_GETTIME=}}}

%install
mkdir -p %buildroot{%_bindir,%_man1dir}
%makeinstall bindir=%buildroot/bin LIB_CLOCK_GETTIME=
ln -s ../../bin/tar %buildroot%_bindir/gtar
install -pm644 %_sourcedir/tar.1 %buildroot%_man1dir/
%find_lang %name

%post
%install_info tar.info

%preun
%uninstall_info tar.info

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

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin