Summary(uk): òÏÚÐÁËÏ×Õ×ÁÞ ÆÁÊÌ¦× .zip
Name: unrar
Version: 3.00
-Release: 1
+Release: 2
License: Freeware
Group: Applications/Archiving
Source0: http://www.rarlab.com/rar/%{name}src.tar.gz
Source1: %{name}.1
Source2: %{name}.1.pl
Patch0: %{name}-makefile.patch
-BuildRequires: gcc-c++
+Patch1: %{name}-gcc3.patch
+BuildRequires: libstdc++-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
%prep
%setup -q -c
%patch0 -p1
+%patch1 -p1
%build
%{__make} -f makefile.gcc CC=%{__cc} CXX=%{__cxx} OPT="%{rpmcflags}"
install unrar $RPM_BUILD_ROOT%{_bindir}
install %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1
install %{SOURCE2} $RPM_BUILD_ROOT%{_mandir}/pl/man1
-gzip -9nf *.txt
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc *.txt.gz
+%doc *.txt
%{_mandir}/man1/*
%lang(pl) %{_mandir}/pl/man1/*
%attr(755,root,root) %{_bindir}/*