# Generated from social_stream-2.2.2.gem by gem2rpm -*- rpm-spec -*-
%global gem_name social_stream

Name: rubygem-%{gem_name}
Version: 2.2.2
Release: 1%{?dist}
Summary: A core for building social network websites
License: MIT
URL: http://social-stream.dit.upm.es/
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
BuildRequires: ruby(release)
BuildRequires: rubygems-devel
BuildRequires: ruby
# BuildRequires: rubygem(capybara) >= 0.3.9
# BuildRequires: rubygem(capybara) < 0.4
# BuildRequires: rubygem(mysql2)
# BuildRequires: rubygem(debugger)
# BuildRequires: rubygem(rspec-rails) >= 2.8.0
# BuildRequires: rubygem(rspec-rails) < 2.9
# BuildRequires: rubygem(factory_girl) >= 1.3.2
# BuildRequires: rubygem(factory_girl) < 1.4
# BuildRequires: rubygem(forgery) >= 0.4.2
# BuildRequires: rubygem(forgery) < 0.5
# BuildRequires: rubygem(ci_reporter) >= 1.6.4
# BuildRequires: rubygem(ci_reporter) < 1.7
# BuildRequires: rubygem(pry-rails) >= 0.2.2
# BuildRequires: rubygem(pry-rails) < 0.3
# BuildRequires: rubygem(meta_request) >= 0.2.0
# BuildRequires: rubygem(meta_request) < 0.3
BuildArch: noarch

%description
Social Stream is a Ruby on Rails engine for building social network websites.
It supports contacts, posts, file uploads, private messages and much more.


%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}
# Run the test suite.
popd

%files
%dir %{gem_instdir}
%exclude %{gem_instdir}/.gitignore
%exclude %{gem_instdir}/.travis.yml
%exclude %{gem_instdir}/.yardopts
%license %{gem_instdir}/LICENSE
%{gem_instdir}/base
%{gem_instdir}/bin
%{gem_instdir}/config
%{gem_instdir}/events
%{gem_libdir}
%{gem_instdir}/linkser
%{gem_instdir}/oauth2_server
%{gem_instdir}/ostatus
%{gem_instdir}/places
%{gem_instdir}/presence
%exclude %{gem_cache}
%{gem_spec}

%files doc
%doc %{gem_docdir}
%exclude %{gem_instdir}/.rspec
%doc %{gem_instdir}/CONTRIBUTING.md
%{gem_instdir}/Gemfile
%doc %{gem_instdir}/README.rdoc
%{gem_instdir}/Rakefile
%doc %{gem_instdir}/documents
%doc %{gem_instdir}/release.thor
%{gem_instdir}/social_stream.gemspec
%{gem_instdir}/spec

%changelog
* Wed Sep 15 2021 mockbuilder - 2.2.2-1
- Initial package