Summary(ru): ëÏÍÐÒÅÓÓÏÒ ÆÁÊÌÏ× ÎÁ ÏÓÎÏ×Å ÁÌÇÏÒÉÔÍÁ ÂÌÏÞÎÏÊ ÓÏÒÔÉÒÏ×ËÉ
Name: bzip2
Version: 1.0.3
-Release: 1
+Release: 4
Epoch: 0
License: BSD-like
Group: Applications/Archiving
Source1: http://www.mif.pg.gda.pl/homepages/ankry/man-PLD/%{name}-non-english-man-pages.tar.bz2
# Source1-md5: 5ffc3dbdd40080a8c22c3b4c3143cdd7
Patch0: %{name}-libtoolizeautoconf.patch
+Patch1: %{name}-toctou.patch
# Modified from http://www.vanheusden.com/Linux/bzip2-1.0.2.diff.gz
-Patch1: %{name}-progress-counter-1.0.2.patch
+Patch2: %{name}-progress-counter-1.0.2.patch
URL: http://www.bzip.org/
BuildRequires: autoconf
BuildRequires: automake
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%define specflags_ia32 -fomit-frame-pointer
+
%description
Bzip2 compresses files using the Burrows-Wheeler block-sorting text
compression algorithm, and Huffman coding. Compression is generally
Summary: libbz2 library
Summary(fr): Librairie libbz2
Summary(pl): Biblioteka libbz2
-Group: Development/Libraries
+Group: Libraries
%ifarch %{x8664} ia64 ppc64 s390x sparc64
Provides: libbz2.so.1.0()(64bit)
%else
Group: Development/Libraries
Requires: %{name}-devel = %{epoch}:%{version}-%{release}
-%define specflags_ia32 -fomit-frame-pointer
-
%description static
Static libbz2 library.
-%description libs -l fr
+%description static -l fr
Librairie statique d'en-tête pour bzip2.
%description static -l pl
%prep
%setup -q
%patch0 -p1
-%{?with_progress:%patch1 -p1}
+%patch1 -p1
+%{?with_progress:%patch2 -p1}
%build
%{__aclocal}
%files
%defattr(644,root,root,755)
-%doc README* NEWS Y2K_INFO doc/*.html
+%doc CHANGES LICENSE README* Y2K_INFO doc/*.html
%attr(755,root,root) %{_bindir}/*
%{_mandir}/man1/*
%lang(es) %{_mandir}/es/man1/*