# Generated from fxruby-enhancement-0.2.3.gem by gem2rpm -*- rpm-spec -*- %global gem_name fxruby-enhancement Name: rubygem-%{gem_name} Version: 0.2.3 Release: 1%{?dist} Summary: fxruby enhancements License: MIT URL: http://github.com/flajann2/fxruby-enhancement Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby >= 2.3.1 # BuildRequires: rubygem(rspec) >= 3 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(yard) >= 0.7 # BuildRequires: rubygem(yard) < 1 # BuildRequires: rubygem(juwelier) >= 2 # BuildRequires: rubygem(juwelier) < 3 # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(pry) # BuildRequires: rubygem(pry-byebug) >= 3 # BuildRequires: rubygem(pry-doc) # BuildRequires: rubygem(pry-remote) # BuildRequires: rubygem(pry-rescue) >= 1 # BuildRequires: rubygem(pry-stack_explorer) BuildArch: noarch %description The fxruby library is an excellent wrapper for the FOX toolkit. However, it reflects the C++-ness of FOX, rather than being more Ruby-like. As such, creating composed objects with it tends to be rather ugly and cumbersome. fxruby-enhancement is a wrapper for the wrapper, to "rubyfy" it and make it more easy to use for Rubyists. fxruby-enhancement is basically a DSL of sorts, and every effort has been taken to make it intuitive to use. Once you get the hang of it, you should be able to look at the FXRuby API documentation and infer the DSL construct for fxruby-enhancement. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep %setup -q -n %{gem_name}-%{version} %build # Create the gem as gem install only works on a gem file gem build ../%{gem_name}-%{version}.gemspec # %%gem_install compiles any C extensions and installs the gem into ./%%gem_dir # by default, so that we can move it into the buildroot in %%install %gem_install %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %{gem_instdir}/.gitmodules %{gem_instdir}/.ruby-version %{gem_instdir}/.semver %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/build %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/.document %exclude %{gem_instdir}/.rspec %{gem_instdir}/Gemfile %{gem_instdir}/Gemfile.lock %doc %{gem_instdir}/README.org %{gem_instdir}/Rakefile %{gem_instdir}/examples %{gem_instdir}/fxruby-enhancement.gemspec %{gem_instdir}/spec %changelog * Mon Sep 13 2021 mockbuilder - 0.2.3-1 - Initial package