Summary(uk): GNU bc (ÍÏ×Á ÏÂÒÏÂËÉ ÞÉÓÅÌ) ÔÁ dc (ËÁÌØËÕÌÑÔÏÒ)
Name: bc
Version: 1.06
-Release: 12
+Release: 13
License: GPL
Group: Applications/Math
Source0: ftp://ftp.gnu.org/pub/gnu/bc/%{name}-%{version}.tar.gz
Source3: dc.desktop
Patch0: %{name}-info.patch
Patch1: %{name}-readline.patch
+Patch2: %{name}-flex.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: bison
%setup -q
%patch0 -p1
%patch1 -p1
+%patch2 -p0
%build
%{__aclocal}
%{__autoconf}
+%{__automake}
%configure \
--with-readline
%{__make}
bzip2 -dc %{SOURCE1} | tar -xf - -C $RPM_BUILD_ROOT%{_mandir}
+%clean
+rm -rf $RPM_BUILD_ROOT
+
%post
[ ! -x /usr/sbin/fix-info-dir ] || /usr/sbin/fix-info-dir -c %{_infodir} >/dev/null 2>&1
%lang(pl) %{_mandir}/pl/man1/*
%{_infodir}/*.info*
-
-%clean
-rm -rf $RPM_BUILD_ROOT