- Update to 0.4.0 - update sfcc dependency - cleanup .gemspec - complete docs - install docs OBS-URL: https://build.opensuse.org/request/show/1240172 OBS-URL: https://build.opensuse.org/package/show/systemsmanagement:wbem/rubygem-provider-testing?expand=0&rev=8
59 lines
1.8 KiB
RPMSpec
59 lines
1.8 KiB
RPMSpec
#
|
|
# spec file for package rubygem-provider-testing (Version 0.0.1)
|
|
#
|
|
# Copyright (c) 2013 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/
|
|
#
|
|
|
|
# norootforbuild
|
|
|
|
Name: rubygem-provider-testing
|
|
Version: 0.4.0
|
|
%define mod_name provider-testing
|
|
%define mod_full_name %{mod_name}-%{version}
|
|
%if 0%{?suse_version}
|
|
BuildRequires: ruby-macros >= 1
|
|
%endif
|
|
Url: https://github.com/kkaempf/provider-testing
|
|
License: LGPL-2.1
|
|
Group: Development/Tools/Other
|
|
AutoReqProv: on
|
|
Release: 2
|
|
Summary: CIM provider test framework
|
|
Source: %{mod_full_name}.gem
|
|
Requires: sblim-sfcb
|
|
BuildRequires: rubygem(sfcc) >= 0.10.0
|
|
BuildRequires: rubygem(yard)
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
|
|
|
%description
|
|
A Ruby framework for automated CIM provider testing
|
|
|
|
%prep
|
|
%gem_unpack
|
|
#if you need patches, apply them here and replace the # with a % sign in the surrounding lines
|
|
#gem_build
|
|
|
|
%build
|
|
|
|
%install
|
|
(cd %{mod_name}-%{version}; rake -I lib doc)
|
|
%gem_install --doc-files="LICENSE README.md" -f
|
|
%gem_cleanup
|
|
|
|
%gem_packages
|
|
%license %{mod_name}-%{version}/LICENSE
|
|
%doc %{mod_name}-%{version}/doc
|
|
|
|
%changelog
|