2011-07-06 10:57:41 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package rubygem-kgio
|
|
|
|
|
#
|
2021-07-01 14:48:49 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2011-07-06 10:57:41 +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.
|
|
|
|
|
|
2020-02-10 23:49:12 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2011-07-06 10:57:41 +00:00
|
|
|
#
|
|
|
|
|
|
2012-08-01 05:13:42 +00:00
|
|
|
|
2014-11-12 17:11:31 +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
|
|
|
|
|
#
|
|
|
|
|
|
2011-07-06 10:57:41 +00:00
|
|
|
Name: rubygem-kgio
|
2021-07-01 14:48:49 +00:00
|
|
|
Version: 2.11.4
|
2011-07-06 10:57:41 +00:00
|
|
|
Release: 0
|
|
|
|
|
%define mod_name kgio
|
2011-08-24 21:22:23 +00:00
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
2011-07-06 10:57:41 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2014-11-12 17:11:31 +00:00
|
|
|
BuildRequires: %{rubydevel}
|
|
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
2015-02-11 00:28:19 +00:00
|
|
|
BuildRequires: ruby-macros >= 5
|
2020-02-10 23:49:12 +00:00
|
|
|
URL: https://yhbt.net/kgio/
|
2018-02-08 06:49:41 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2014-11-12 17:11:31 +00:00
|
|
|
Source1: rubygem-kgio-rpmlintrc
|
|
|
|
|
Source2: gem2rpm.yml
|
2011-07-06 10:57:41 +00:00
|
|
|
Summary: kinder, gentler I/O for Ruby
|
2020-02-10 23:49:12 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2012-08-01 05:13:42 +00:00
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
|
|
2011-07-06 10:57:41 +00:00
|
|
|
%description
|
2018-02-08 06:49:41 +00:00
|
|
|
This is a legacy project, do not use it for new projects. Ruby
|
|
|
|
|
2.3 and later should make this obsolete. kgio provides
|
|
|
|
|
non-blocking I/O methods for Ruby without raising exceptions on
|
|
|
|
|
EAGAIN and EINPROGRESS.
|
2011-07-06 10:57:41 +00:00
|
|
|
|
|
|
|
|
%prep
|
2012-08-01 05:13:42 +00:00
|
|
|
|
2011-07-06 10:57:41 +00:00
|
|
|
%build
|
2012-08-01 05:13:42 +00:00
|
|
|
|
2011-07-06 10:57:41 +00:00
|
|
|
%install
|
2014-10-12 16:07:19 +00:00
|
|
|
%gem_install \
|
2015-09-07 15:11:44 +00:00
|
|
|
--doc-files="COPYING LICENSE NEWS README" \
|
2014-10-12 16:07:19 +00:00
|
|
|
-f
|
|
|
|
|
%gem_cleanup
|
2011-07-06 10:57:41 +00:00
|
|
|
|
2014-10-12 16:07:19 +00:00
|
|
|
%gem_packages
|
2011-07-06 10:57:41 +00:00
|
|
|
|
|
|
|
|
%changelog
|