# Generated from sproutcore-1.11.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name sproutcore Name: rubygem-%{gem_name} Version: 1.11.0 Release: 1%{?dist} Summary: SproutCore is a platform for building native look-and-feel applications on the web License: MIT URL: http://www.sproutcore.com Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(gemcutter) >= 0.6 # BuildRequires: rubygem(gemcutter) < 1 # BuildRequires: rubygem(rspec) >= 2.5 # BuildRequires: rubygem(rspec) < 3 # BuildRequires: rubygem(less) >= 1.2 # BuildRequires: rubygem(less) < 2 # BuildRequires: rubygem(RedCloth) >= 4.2 # BuildRequires: rubygem(RedCloth) < 5 # BuildRequires: rubygem(BlueCloth) >= 1.0 # BuildRequires: rubygem(BlueCloth) < 2 BuildArch: noarch %description SproutCore is a platform for building native look-and-feel applications on the web. This Ruby library includes a copy of the SproutCore JavaScript framework as well as a Ruby-based build system called Abbot. %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}/sc-build %{_bindir}/sc-build-number %{_bindir}/sc-docs %{_bindir}/sc-gen %{_bindir}/sc-init %{_bindir}/sc-manifest %{_bindir}/sc-phantom %{_bindir}/sc-server %{_bindir}/sproutcore %{gem_instdir}/.mailmap %{gem_instdir}/VERSION.yml %{gem_instdir}/bin %{gem_libdir} %{gem_instdir}/vendor %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG %{gem_instdir}/Gemfile %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %doc %{gem_instdir}/Todo.rdoc %{gem_instdir}/spec %{gem_instdir}/sproutcore.gemspec %changelog * Wed Sep 15 2021 mockbuilder - 1.11.0-1 - Initial package