# Generated from glimmer-2.7.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name glimmer Name: rubygem-%{gem_name} Version: 2.7.1 Release: 1%{?dist} Summary: Glimmer - DSL Framework for Ruby GUI and More License: MIT URL: http://github.com/AndyObtiva/glimmer Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec-mocks) >= 3.5.0 # BuildRequires: rubygem(rspec-mocks) < 3.6 # BuildRequires: rubygem(rspec) >= 3.5.0 # BuildRequires: rubygem(rspec) < 3.6 # BuildRequires: rubygem(puts_debuggerer) >= 0.13 # BuildRequires: rubygem(puts_debuggerer) < 1 # BuildRequires: rubygem(jeweler) >= 2.0.0 # BuildRequires: rubygem(jeweler) < 3.0.0 # BuildRequires: rubygem(coveralls) # BuildRequires: rubygem(simplecov) >= 0.16.1 # BuildRequires: rubygem(simplecov) < 0.17 # BuildRequires: rubygem(simplecov-lcov) >= 0.7.0 # BuildRequires: rubygem(simplecov-lcov) < 0.8 # BuildRequires: rubygem(rake-tui) BuildArch: noarch %description Glimmer is a Ruby DSL Framework for Ruby GUI and More, consisting of a DSL Engine and an Observable / Observer / Data-Binding Library (including Observable Model, Observable Array, and Observable Hash). Used in Glimmer DSL for SWT (JRuby Desktop Development GUI Framework), Glimmer DSL for Opal (Pure Ruby Web GUI and Auto-Webifier of Desktop Apps), Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library), Glimmer DSL for Tk (Ruby Tk Desktop Development GUI Library), Glimmer DSL for GTK (Ruby-GNOME Desktop Development GUI Library), Glimmer DSL for FX (FOX Toolkit Ruby Desktop Development GUI Library), Glimmer DSL for Swing (JRuby Swing Desktop Development GUI Library), Glimmer DSL for JFX (JRuby JavaFX Desktop Development GUI Library), Glimmer DSL for XML (& HTML), and Glimmer DSL for CSS. %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} %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/PROCESS.md %{gem_instdir}/VERSION %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/README.md %{gem_instdir}/glimmer.gemspec %changelog * Sat Feb 26 2022 mockbuilder - 2.7.1-1 - Initial package