File units.spec of Package units

# spec file for package units
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via

Name:           units
BuildRequires:  bison
BuildRequires:  readline-devel
Version:        2.02
Release:        0
Summary:        Conversion Utility
License:        LGPL-2.1+
Group:          Productivity/Scientific/Physics
Source2:        units.keyring
%if 0%{?suse_version} >= 1230
BuildRequires:  gpg-offline
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
PreReq:         %install_info_prereq

The 'units' program converts quantities expressed in various scales to
their equivalents in other scales.

Units can also convert temperature values (Fahrenheit to Celsius, for
example) but this needs a slightly different input syntax. See the man
page for details.

    Adrian Mariano <>

%{?gpg_verify: %gpg_verify %{SOURCE1}}



%install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} 

%install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info}

%defattr(-, root, root)
%doc %{_infodir}/
%doc %{_mandir}/man1/units.1.gz