2017-02-01 15:25:35 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package rubygem-os
|
|
|
|
|
#
|
2022-01-28 11:23:51 +00:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2017-02-01 15:25:35 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2019-05-05 16:48:11 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-02-01 15:25:35 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# This file was generated with a gem2rpm.yml and not just plain gem2rpm.
|
|
|
|
|
# All sections marked as MANUAL, license headers, summaries and descriptions
|
|
|
|
|
# can be maintained in that file. Please consult this file before editing any
|
|
|
|
|
# of those fields
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
Name: rubygem-os
|
2022-01-28 11:23:51 +00:00
|
|
|
Version: 1.1.4
|
2017-02-01 15:25:35 +00:00
|
|
|
Release: 0
|
|
|
|
|
%define mod_name os
|
|
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
2017-03-15 13:56:43 +00:00
|
|
|
BuildRequires: %{ruby}
|
|
|
|
|
BuildRequires: ruby-macros >= 5
|
2020-05-07 22:49:56 +00:00
|
|
|
URL: http://github.com/rdp/os
|
2019-05-05 16:48:11 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2017-02-01 15:25:35 +00:00
|
|
|
Source1: gem2rpm.yml
|
|
|
|
|
Summary: Simple and easy way to know if you're on windows or not (reliably),
|
|
|
|
|
License: MIT
|
|
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
The OS gem allows for some useful and easy functions, like OS.windows? (=>
|
|
|
|
|
true or false) OS.bits ( => 32 or 64) etc".
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
|
%install
|
|
|
|
|
%gem_install \
|
2020-09-25 22:45:12 +00:00
|
|
|
--doc-files="ChangeLog LICENSE README.md" \
|
2017-02-01 15:25:35 +00:00
|
|
|
-f
|
|
|
|
|
|
|
|
|
|
%gem_packages
|
|
|
|
|
|
|
|
|
|
%changelog
|