-Source: ftp://prep.ai.mit.edu/pug/gnu/%{name}-%{version}.tar.gz
-Patch0: bc-info.patch
-Patch1: bc-DESTDIR.patch
-Prereq: /sbin/install-info
-Buildroot: /tmp/%{name}-%{version}-root
-
-%description
-bc is a text mode calculator of sorts. It has many extended
-features such as base translation. It can also accept input
-from stdin and return output. dc is the RPN version.
+Source0: ftp://ftp.gnu.org/pub/gnu/bc/%{name}-%{version}.tar.gz
+Patch0: %{name}-info.patch
+Patch1: %{name}-DESTDIR.patch
+Patch2: %{name}-longline.patch
+BuildRequires: ncurses-devel >= 5.0
+BuildRequires: readline-devel >= 4.1
+BuildRequires: flex
+BuildRequires: bison
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The bc package includes bc and dc. Bc is an arbitrary precision
+numeric processing arithmetic language. Dc is an interactive arbitrary
+precision stack based calculator, which can be used as a text mode
+calculator. Install the bc package if you need its number handling
+capabilities or if you would like to use its text mode calculator.