Package ruby-algebrick: Specfile

%define  pkgname algebrick

Name:    ruby-%pkgname
Version: 0.7.5
Release: alt1.1

Summary: Typed structs on steroids based on algebraic types and pattern matching.
License: Apache-2.0
Group:   Development/Ruby

Packager:  Ruby Maintainers Team <>
BuildArch: noarch

Source:  %pkgname-%version.tar

BuildRequires(pre): rpm-build-ruby
BuildRequires: ruby-tool-setup


%package doc
Summary: Documentation files for %name
Group: Documentation

BuildArch: noarch

%description doc
Documentation files for %{name}.

%setup -n %pkgname-%version
# Remove empty class with unmets
rm -rf lib/algebrick/serializers.rb


%rdoc lib/
# Remove unnecessary files
rm -f %buildroot%ruby_ri_sitedir/{Object/cdesc-Object.ri,cache.ri,created.rid}

%ruby_test_unit -Ilib:test test

%doc README*

%files doc

* Wed Jul 11 2018 Andrey Cherepanov <> 0.7.5-alt1.1
- Rebuild with new Ruby autorequirements.

* Fri Jun 01 2018 Andrey Cherepanov <> 0.7.5-alt1
- Initial build for Sisyphus