-%bcond_with tests
+#
+# Conditional build:
+%bcond_with tests # perform make check
+#
Summary: A GNU file archiving program
Summary(de.UTF-8): GNU-Magnetband-Archivierprogramm (tar)
Summary(es.UTF-8): GNU Tape Archiver (tar)
Summary(pt_BR.UTF-8): GNU Tape Archiver (tar)
Summary(tr.UTF-8): Yaygın kullanılan yedekleyici
Name: tar
-Version: 1.18
-Release: 1
+Version: 1.19
+Release: 2
Epoch: 1
License: GPL v3+
Group: Applications/Archiving
-Source0: ftp://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
-# Source0-md5: 70170208d7c1bb9ab40120579434b6a3
+Source0: http://ftp.gnu.org/gnu/tar/%{name}-%{version}.tar.bz2
+# Source0-md5: bcc2e19b19823b9ab68c94586067a792
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 4e4b1655fe42c27a4eb5d7bcd82e74ac
Patch0: %{name}-man-debian.patch
Patch2: %{name}-info.patch
Patch3: %{name}-pl.po-update.patch
Patch4: %{name}-sock.patch
-Patch5: %{name}-dots.patch
-Patch6: %{name}-zero-block.patch
+Patch5: %{name}-zero-block.patch
URL: http://www.gnu.org/software/tar/tar.html
BuildRequires: autoconf >= 2.60
BuildRequires: automake >= 1:1.9
BuildRequires: gettext-devel >= 0.16
BuildRequires: sed >= 4.0
BuildRequires: texinfo
+Conflicts: amanda-client < 2.5.2
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _exec_prefix /
%patch3 -p1
%patch4 -p1
%patch5 -p1
-%patch6 -p1
rm -f po/stamp-po
%clean
rm -rf $RPM_BUILD_ROOT
-%post
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%post -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
-%postun
-[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
+%postun -p /sbin/postshell
+-/usr/sbin/fix-info-dir -c %{_infodir}
%files -f %{name}.lang
%defattr(644,root,root,755)