# Generated from bitters-2.0.4.gem by gem2rpm -*- rpm-spec -*- %global gem_name bitters Name: rubygem-%{gem_name} Version: 2.0.4 Release: 1%{?dist} Summary: Scaffold styles, variables and structure for Bourbon projects License: MIT URL: https://github.com/thoughtbot/bitters Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rspec) # BuildRequires: rubygem(sass) >= 3.4 # BuildRequires: rubygem(sass) < 4 BuildArch: noarch %description Bitters helps designers start projects faster by defining a basic set of Sass variables, default element style and project structure. It's been specifically designed for use within web applications. Bitters should live in your project's root Sass directory and we encourage you to modify and extend it to meet your design and brand requirements. %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}/bitters %{gem_instdir}/.circleci %{gem_instdir}/.dependabot %exclude %{gem_instdir}/.gitignore %exclude %{gem_instdir}/.hound.yml %{gem_instdir}/.stylelintrc.json %{gem_instdir}/.tool-versions %{gem_instdir}/CODE_OF_CONDUCT.md %license %{gem_instdir}/LICENSE.md %{gem_instdir}/RELEASING.md %{gem_instdir}/bin %{gem_instdir}/contrib %{gem_instdir}/core %{gem_libdir} %{gem_instdir}/netlify.toml %{gem_instdir}/package-lock.json %{gem_instdir}/package.json %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %{gem_instdir}/Gemfile %doc %{gem_instdir}/README.md %{gem_instdir}/Rakefile %{gem_instdir}/bitters.gemspec %{gem_instdir}/spec %changelog * Sun Sep 12 2021 mockbuilder - 2.0.4-1 - Initial package