Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
units
units.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File units.spec of Package units
# # spec file for package units # # Copyright (c) 2014 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 http://bugs.opensuse.org/ # %bcond_with units_cur Name: units Version: 2.11 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 %if %{with units_cur} BuildRequires: python-base Requires: python-Unidecode %endif PreReq: %{install_info_prereq} BuildRoot: %{_tmppath}/%{name}-%{version}-build %if 0%{?suse_version} >= 1230 BuildRequires: gpg-offline %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 %{?gpg_verify: %gpg_verify %{SOURCE1}} %setup -q %build %configure make %{?_smp_mflags} %install # install fails with %%{?_smp_mflags} make DESTDIR=%{buildroot} install %check make check %post %install_info --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/%{name}.info%{ext_info} %files %defattr(-, root, root) %{_bindir}/units %{_datadir}/units %doc COPYING ChangeLog NEWS README %doc %{_infodir}/units.info.gz %doc %{_mandir}/man1/units.1.gz %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