2010-11-10 12:31:12 +00:00
|
|
|
#
|
2011-01-25 09:27:21 +00:00
|
|
|
# spec file for package rubygem-ruby-dbus
|
2010-11-10 12:31:12 +00:00
|
|
|
#
|
2023-01-18 13:35:36 +00:00
|
|
|
# Copyright (c) 2023 SUSE LLC
|
2010-11-10 12:31:12 +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-10-15 19:58:28 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2010-11-10 12:31:12 +00:00
|
|
|
#
|
2014-10-16 12:58:04 +00:00
|
|
|
|
2010-11-10 12:31:12 +00:00
|
|
|
|
2014-10-16 12:58: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
|
|
|
|
|
#
|
|
|
|
|
|
2010-11-10 12:31:12 +00:00
|
|
|
Name: rubygem-ruby-dbus
|
2023-10-03 07:53:20 +00:00
|
|
|
Version: 0.23.1
|
2011-07-26 06:54:13 +00:00
|
|
|
Release: 0
|
2010-11-10 12:31:12 +00:00
|
|
|
%define mod_name ruby-dbus
|
2011-08-04 12:50:15 +00:00
|
|
|
%define mod_full_name %{mod_name}-%{version}
|
2014-10-16 08:39:01 +00:00
|
|
|
# MANUAL
|
2022-02-11 19:19:39 +00:00
|
|
|
BuildRequires: %{rubygem nokogiri >= 1.12}
|
2014-10-16 12:58:04 +00:00
|
|
|
BuildRequires: %{rubygem packaging_rake_tasks}
|
|
|
|
|
BuildRequires: %{rubygem rake}
|
2022-02-11 19:19:39 +00:00
|
|
|
BuildRequires: %{rubygem rspec >= 3.9}
|
2023-10-25 08:44:30 +00:00
|
|
|
BuildRequires: dbus-1-daemon
|
|
|
|
|
BuildRequires: dbus-1-tools
|
2013-04-16 19:46:53 +00:00
|
|
|
BuildRequires: netcfg
|
2014-10-16 08:39:01 +00:00
|
|
|
# /MANUAL
|
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
2022-02-24 10:28:34 +00:00
|
|
|
BuildRequires: %{ruby >= 2.4.0}
|
2014-10-16 08:39:01 +00:00
|
|
|
BuildRequires: %{rubygem gem2rpm}
|
2014-10-16 12:58:04 +00:00
|
|
|
BuildRequires: ruby-macros >= 5
|
2021-01-21 09:11:11 +00:00
|
|
|
URL: https://github.com/mvidner/ruby-dbus
|
2017-10-13 12:52:14 +00:00
|
|
|
Source: https://rubygems.org/gems/%{mod_full_name}.gem
|
2014-10-16 12:58:04 +00:00
|
|
|
Source1: gem2rpm.yml
|
2010-11-10 12:31:12 +00:00
|
|
|
Summary: Ruby module for interaction with D-Bus
|
2023-06-23 08:09:38 +00:00
|
|
|
License: LGPL-2.1-or-later
|
2011-08-04 12:50:15 +00:00
|
|
|
Group: Development/Languages/Ruby
|
|
|
|
|
|
2014-10-16 08:39:01 +00:00
|
|
|
%description
|
|
|
|
|
Pure Ruby module for interaction with D-Bus IPC system.
|
2011-08-04 12:50:15 +00:00
|
|
|
|
2010-11-10 12:31:12 +00:00
|
|
|
%prep
|
2013-04-29 21:39:26 +00:00
|
|
|
|
2010-11-10 12:31:12 +00:00
|
|
|
%build
|
2014-10-16 08:39:01 +00:00
|
|
|
|
2010-11-10 12:31:12 +00:00
|
|
|
%install
|
2014-10-16 08:39:01 +00:00
|
|
|
%gem_install \
|
2016-09-21 21:06:47 +00:00
|
|
|
--doc-files="COPYING NEWS.md README.md" \
|
2014-10-16 08:39:01 +00:00
|
|
|
-f
|
2010-11-10 12:31:12 +00:00
|
|
|
|
2014-10-16 08:39:01 +00:00
|
|
|
# MANUAL
|
2010-11-10 12:31:12 +00:00
|
|
|
%check
|
2016-05-12 19:54:51 +00:00
|
|
|
(pushd %{buildroot}%{gem_base}/gems/%{mod_full_name} && rake test)
|
2014-10-16 08:39:01 +00:00
|
|
|
#/ MANUAL
|
2010-11-10 12:31:12 +00:00
|
|
|
|
2014-10-16 08:39:01 +00:00
|
|
|
%gem_packages
|
2010-11-10 12:31:12 +00:00
|
|
|
|
|
|
|
|
%changelog
|