# Generated from glimmer-dsl-libui-0.5.8.gem by gem2rpm -*- rpm-spec -*- %global gem_name glimmer-dsl-libui Name: rubygem-%{gem_name} Version: 0.5.8 Release: 1%{?dist} Summary: Glimmer DSL for LibUI License: MIT URL: http://github.com/AndyObtiva/glimmer-dsl-libui Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(juwelier) >= 2.4.9 # BuildRequires: rubygem(juwelier) < 3.0.0 # BuildRequires: rubygem(rspec) >= 3.0 # BuildRequires: rubygem(rspec) < 4 # BuildRequires: rubygem(rake-tui) >= 0.2.1 # BuildRequires: rubygem(puts_debuggerer) >= 0.13.1 # BuildRequires: rubygem(puts_debuggerer) < 0.14 # BuildRequires: rubygem(coveralls) = 0.8.23 # BuildRequires: rubygem(simplecov) >= 0.16.1 # BuildRequires: rubygem(simplecov) < 0.17 # BuildRequires: rubygem(simplecov-lcov) >= 0.7.0 # BuildRequires: rubygem(simplecov-lcov) < 0.8 BuildArch: noarch %description Glimmer DSL for LibUI (Prerequisite-Free Ruby Desktop Development GUI Library) - Winner of Fukuoka Ruby Award Competition 2022 Special Award - No need to pre-install any prerequisites. Just install the gem and have platform-independent native GUI that just works! Glimmer DSL for LibUI aims to provide declarative DSL syntax that visually maps to GUI control hierarchy, convention over configuration via smart defaults, automation of low-level details, requiring the least amount of syntax possible to build GUI, bidirectional data-binding, and custom keyword support. %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}/ mkdir -p %{buildroot}%{_bindir} cp -a .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} # rspec spec popd %files %dir %{gem_instdir} %{_bindir}/girb %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/VERSION %{gem_instdir}/bin %{gem_instdir}/icons %{gem_libdir} %{gem_instdir}/sounds %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %{gem_instdir}/examples %{gem_instdir}/glimmer-dsl-libui.gemspec %changelog * Tue Apr 19 2022 mockbuilder - 0.5.8-1 - Initial package