Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Backports:SLE-15:Update
units
units.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File units.spec of Package units
# # spec file for package units # # Copyright (c) 2017 SUSE LINUX 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 http://bugs.opensuse.org/ # %bcond_without units_cur Name: units Version: 2.16 Release: 0 Summary: Conversion Utility License: GPL-3.0+ Group: Productivity/Scientific/Physics Url: http://www.gnu.org/software/units/ Source0: http://ftp.gnu.org/gnu/units/units-%{version}.tar.gz Source1: http://ftp.gnu.org/gnu/units/units-%{version}.tar.gz.sig Source2: units.keyring BuildRequires: bison BuildRequires: readline-devel Requires(post): %{install_info_prereq} Requires(preun): %{install_info_prereq} %if %{with units_cur} BuildRequires: python-base %endif %description 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. %prep %setup -q %build %configure make %{?_smp_mflags} %install # install fails with %%{?_smp_mflags} %make_install %check make %{?_smp_mflags} check %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %preun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %files %{_bindir}/units %{_datadir}/units %doc COPYING ChangeLog NEWS README %{_infodir}/units.info%{ext_info} %{_mandir}/man1/units.1%{ext_man} %if %{with units_cur} %{_bindir}/units_cur %endif %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor