Sophie

Sophie

distrib > Mandriva > 2008.0 > x86_64 > by-pkgid > f2415972327d4cc38bb8fd5bc8c52d4d > files > 2

units-1.86-2mdv2008.0.src.rpm

%define	name	units
%define version 1.86
%define release %mkrel 2

Summary:	A utility for converting amounts from one unit to another
Name:		%{name}
Version:	%{version}
Release:	%{release}
Source0:	ftp://ftp.gnu.org/pub/gnu/units/%{name}-%{version}.tar.bz2
Url:		http://www.gnu.org/software/units/units.html
License:	GPL
Group:		Office
BuildRequires:	ncurses-devel readline-devel
BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-buildroot

%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

%build
%configure
%make

make check

%install
rm -rf $RPM_BUILD_ROOT

%makeinstall

%post
%_install_info %{name}.info

%preun
%_remove_install_info %{name}.info

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root)
%{_bindir}/units
%{_datadir}/units.dat
%{_infodir}/*
%{_mandir}/man1/units.1*




%changelog

* Wed Mar 14 2007 Claudio Matsuoka <claudio@mandriva.com> 1.86-2mdv2007.1
+ Revision: 143815
- Fixed description to match actual package features (closes: #26243)

* Thu Jan 18 2007 Gustavo De Nardin <gustavodn@mandriva.com> 1.86-1mdv2007.1
+ Revision: 110471
- new version 1.86
- removed DESTDIR patch, made unnecessary by upstream changes
- removed unneeded and old gpm-devel from BuildRequires

* Sun Jan 01 2006 Mandriva Linux Team <http://www.mandrivaexpert.com/> 1.85-2mdk
- Rebuild

* Wed Jun 01 2005 Götz Waschk <waschk@mandriva.org> 1.85-1mdk
- drop patches 2,3
- New release 1.85

* Thu Jan 20 2005 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.80-4mdk
- rebuild for new readline
- fix summary-ended-with-dot

* Wed Jun 30 2004 Per Øyvind Karlsen <peroyvind@linux-mandrake.com> 1.80-3mdk
- fix buildrequires
- P3 from fedora:
	o fix parsecs #96982
- cosmetics