# Generated from simple-feed-3.0.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name simple-feed Name: rubygem-%{gem_name} Version: 3.0.1 Release: 1%{?dist} Summary: Create multiple types of social networking activity feeds with simple-feed gem, which uses a pluggable backend provider implementation, and ships with a Redis provider by default License: MIT URL: https://github.com/kigster/simple-feed Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(awesome_print) # BuildRequires: rubygem(codeclimate-test-reporter) # BuildRequires: rubygem(codecov) # BuildRequires: rubygem(rspec) # BuildRequires: rubygem(rspec-its) # BuildRequires: rubygem(rubocop) # BuildRequires: rubygem(simplecov) # BuildRequires: rubygem(uuid) # BuildRequires: rubygem(yard) BuildArch: noarch %description This gem implements flexible time-ordered activity feeds commonly used withing social networking applications. As events occur, they are pushed into the Feed and distributed to all users that need to see the event. Upon the user visiting their "feed page", a pre-populated ordered list of events is returned by the library. Typically the data stored in the feed is a short-hand condensed variant of models, but it can also be a fully Marshalled objects, or JSON serializations. . %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}/.codeclimate.yml %exclude %{gem_instdir}/.envrc %{gem_instdir}/.github %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.relaxed-rubocop-2.4.yml %exclude %{gem_instdir}/.rubocop.yml %exclude %{gem_instdir}/.rubocop_todo.yml %exclude %{gem_instdir}/.travis.yml %exclude %{gem_instdir}/.yardopts %{gem_instdir}/Guardfile %license %{gem_instdir}/LICENSE.txt %{gem_instdir}/bin %{gem_instdir}/codecov.yml %{gem_libdir} %{gem_instdir}/man %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/CHANGELOG.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.adoc %{gem_instdir}/Rakefile %{gem_instdir}/examples %{gem_instdir}/simple-feed.gemspec %changelog * Wed Sep 15 2021 mockbuilder - 3.0.1-1 - Initial package