# # 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