# Generated from rbt-0.6.79.gem by gem2rpm -*- rpm-spec -*- %global gem_name rbt Name: rubygem-%{gem_name} Version: 0.6.79 Release: 1%{?dist} Summary: This gem is called RBT, which stands short for the "Ruby Build Tools". Essentially, this is a collection of different ruby scripts/classes that may allow you to compile or otherwise install programs from source or from binary, from a remote or from a local location. Even if you do not plan to install or compile anything, many different programs are registered in this project, which may help you in other ways, such as if you wish to determine which particular binary on your Linux system belongs to which particular program. In August 2018, the Cookbooks project was merged into RBT, mostly because it is easier to keep the code synced that way. The Cookbooks project, available under the Cookbooks submodule (at RBT::Cookbooks) is tasked to handle the dataset that keeps all "cookbooks" registered. In some ways the Cookbooks submodule is similar to the LFS/BLFS (Linux from Scratch / Beyond Linux from Scratch) project and can be seen as complementary to these projects. Note that the rbt project as a whole may do some changes, when installing something, which may be unwanted by you. For the time being, this will remain this way, so I do not recommend anyone to use this project in production - but eventually, there will be an option called --simulate, which will sort of simulate, without installing or changing anything persistently. There are presently 3570 registered programs available in the RBT project. For more information about the project, have a look at the documentation, which can be found at the bottom right side of the homepage of this gem ( or simply visit this link, directly: http://www.rubydoc.info/gems/rbt/ ) License: GPL-2.0 URL: https://www.rubydoc.info/gems/rbt/ Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel >= 3.0.3 BuildRequires: ruby >= 2.6.2 BuildArch: noarch %description This gem is called RBT, which stands short for the "Ruby Build Tools". Essentially, this is a collection of different ruby scripts/classes that may allow you to compile or otherwise install programs from source or from binary, from a remote or from a local location. Even if you do not plan to install or compile anything, many different programs are registered in this project, which may help you in other ways, such as if you wish to determine which particular binary on your Linux system belongs to which particular program. In August 2018, the Cookbooks project was merged into RBT, mostly because it is easier to keep the code synced that way. The Cookbooks project, available under the Cookbooks submodule (at RBT::Cookbooks) is tasked to handle the dataset that keeps all "cookbooks" registered. In some ways the Cookbooks submodule is similar to the LFS/BLFS (Linux from Scratch / Beyond Linux from Scratch) project and can be seen as complementary to these projects. Note that the rbt project as a whole may do some changes, when installing something, which may be unwanted by you. For the time being, this will remain this way, so I do not recommend anyone to use this project in production - but eventually, there will be an option called --simulate, which will sort of simulate, without installing or changing anything persistently. There are presently 3570 registered programs available in the RBT project. For more information about the project, have a look at the documentation, which can be found at the bottom right side of the homepage of this gem ( or simply visit this link, directly: http://www.rubydoc.info/gems/rbt/ ) . . %package doc Summary: Documentation for %{name} Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name}. %prep gem unpack %{SOURCE0} %setup -q -D -T -n %{gem_name}-%{version} gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec %build # Create the gem as gem install only works on a gem file gem build %{gem_name}.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 -pa .%{_bindir}/* \ %{buildroot}%{_bindir}/ find %{buildroot}%{gem_instdir}/bin -type f | xargs chmod a+x %check pushd .%{gem_instdir} # Run the test suite. popd %files %dir %{gem_instdir} %{_bindir}/autoupdate_this_program %{_bindir}/blfs %{_bindir}/colour_make %{_bindir}/colour_make_install %{_bindir}/compile_these_programs %{_bindir}/cookbooks %{_bindir}/home_dir %{_bindir}/homepage %{_bindir}/infobox %{_bindir}/ntrad %{_bindir}/parse_help %{_bindir}/rbt %{_bindir}/rbt_config %{_bindir}/rbt_download %{_bindir}/rbt_test_alias %{_bindir}/remove_symlinks %{_bindir}/report_total_size_of_all_archives %{_bindir}/ruby_libtool %{_bindir}/scookie %{_bindir}/search_for_tags %{_bindir}/show_all_about %{_bindir}/show_configuration_options %{_bindir}/symlink_program %{_bindir}/url_action %{gem_instdir}/bin %{gem_instdir}/img %{gem_libdir} %exclude %{gem_instdir}/rbt.gemspec %{gem_instdir}/www %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %doc %{gem_instdir}/doc %{gem_instdir}/test %changelog * Mon Apr 08 2019 mockbuilder - 0.6.79-1 - Initial package