# Generated from buildr-1.5.8.gem by gem2rpm -*- rpm-spec -*- %global gem_name buildr Name: rubygem-%{gem_name} Version: 1.5.8 Release: 1%{?dist} Summary: Build like you code License: Apache-2.0 URL: http://buildr.apache.org/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 1.8.6 BuildRequires: ruby # BuildRequires: rubygem(jekyll) = 3.1.3 # BuildRequires: rubygem(RedCloth) = 4.2.9 # BuildRequires: rubygem(jekylltask) = 1.1.0 # BuildRequires: rubygem(pygments.rb) = 0.6.3 # BuildRequires: rubygem(jekyll-textile-converter) = 0.1.0 # BuildRequires: rubygem(hoe) = 3.15.1 # BuildRequires: rubygem(rspec-expectations) = 2.14.3 # BuildRequires: rubygem(rspec-mocks) = 2.14.3 # BuildRequires: rubygem(rspec-core) = 2.14.5 # BuildRequires: rubygem(rspec) = 2.14.1 # BuildRequires: rubygem(rspec-retry) = 0.2.1 # BuildRequires: rubygem(test-unit) = 3.2.1 # BuildRequires: rubygem(ci_reporter) = 1.9.0 # BuildRequires: rubygem(pygmentize) = 0.0.3 # BuildRequires: rubygem(saikuro_treemap) = 0.2.0 # BuildRequires: rubygem(atoulme-Saikuro) = 1.2.1 # BuildRequires: rubygem(zapwhite) = 2.14.0 BuildArch: noarch %description Apache Buildr is a build system for Java-based applications, including support for Scala, Groovy and a growing number of JVM languages and tools. We wanted something that's simple and intuitive to use, so we only need to tell it what to do, and it takes care of the rest. But also something we can easily extend for those one-off tasks, with a language that's a joy to use. %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 # ruby -e 'Dir.glob "./test/**/*_test.rb", &method(:require)' popd %files %dir %{gem_instdir} %{_bindir}/buildr %license %{gem_instdir}/LICENSE %{gem_instdir}/NOTICE %{gem_instdir}/_buildr %{gem_instdir}/_jbuildr %{gem_instdir}/addon %{gem_instdir}/bin %{gem_instdir}/buildr.buildfile %{gem_instdir}/etc %{gem_libdir} %{gem_instdir}/rakelib %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/buildr.gemspec %doc %{gem_instdir}/doc %{gem_instdir}/spec %changelog * Sun Sep 12 2021 mockbuilder - 1.5.8-1 - Initial package