Summary: A utility for converting amounts from one unit to another Name: units Version: 1.88 Release: %mkrel 1 Source0: ftp://ftp.gnu.org/pub/gnu/units/%{name}-%{version}.tar.gz Patch0: units-1.88-man-typo.patch Patch1: units-1.88-datafile-location.patch Url: http://www.gnu.org/software/units/units.html License: GPLv3+ Group: Office BuildRequires: readline-devel %description The âunits' program converts quantities expressed in various scales to their equivalents in other scales. The âunits' program can handle multiplicative scale changes as well as nonlinear conversions such as Fahrenheit to Celsius. Temperature and other nonlinear conversions are handled using a functional notation. %prep %setup -q %patch0 -p1 -b .typofix %patch1 -p0 -b .locationfix %build autoreconf -vfi %configure2_5x %make %install rm -rf %{buildroot} %makeinstall_std %check %make check %post %_install_info %{name}.info %preun %_remove_install_info %{name}.info %clean rm -rf %{buildroot} %files %defattr(-,root,root) %{_bindir}/%{name} %{_datadir}/%{name}/%{name}.dat %{_infodir}/%{name}.info* %{_mandir}/man1/%{name}* %changelog * Sat Sep 03 2011 wally <wally> 1.88-1.mga2 + Revision: 138240 - imported package units