# Generated from faye-1.2.4.gem by gem2rpm -*- rpm-spec -*- %global gem_name faye Name: rubygem-%{gem_name} Version: 1.2.4 Release: 1%{?dist} Summary: Simple pub/sub messaging for the web License: MIT URL: https://faye.jcoglan.com Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(compass) >= 0.11.0 # BuildRequires: rubygem(compass) < 0.12 # BuildRequires: rubygem(haml) >= 3.1.0 # BuildRequires: rubygem(haml) < 3.2 # BuildRequires: rubygem(permessage_deflate) >= 0.1.0 # BuildRequires: rubygem(puma) >= 2.0.0 # BuildRequires: rubygem(rack-proxy) >= 0.4.0 # BuildRequires: rubygem(rack-proxy) < 0.5 # BuildRequires: rubygem(rack-test) # BuildRequires: rubygem(rspec) >= 2.99.0 # BuildRequires: rubygem(rspec) < 2.100 # BuildRequires: rubygem(rspec-eventmachine) >= 0.2.0 # BuildRequires: rubygem(RedCloth) >= 3.0.0 # BuildRequires: rubygem(RedCloth) < 3.1 # BuildRequires: rubygem(sinatra) # BuildRequires: rubygem(sass) >= 3.2.0 # BuildRequires: rubygem(sass) < 3.3 # BuildRequires: rubygem(staticmatic) # BuildRequires: rubygem(rainbows) >= 4.4.0 # BuildRequires: rubygem(rainbows) < 4.5 # BuildRequires: rubygem(thin) >= 1.2.0 # BuildRequires: rubygem(goliath) # BuildRequires: rubygem(passenger) >= 4.0.0 BuildArch: noarch %description Simple pub/sub messaging for the web. %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.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}/build %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/README.md %changelog * Wed Jun 27 2018 pvalena - 1.2.4-1 - Initial package