# Generated from lokeshh_rubypython-0.7.1.gem by gem2rpm -*- rpm-spec -*- %global gem_name lokeshh_rubypython Name: rubygem-%{gem_name} Version: 0.7.1 Release: 1%{?dist} Summary: RubyPython is a bridge between the Ruby and Python interpreters License: MIT Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(rubyforge) >= 2.0.4 # BuildRequires: rubygem(hoe-doofus) >= 1.0 # BuildRequires: rubygem(hoe-doofus) < 2 # BuildRequires: rubygem(hoe-gemspec2) >= 1.1 # BuildRequires: rubygem(hoe-gemspec2) < 2 # BuildRequires: rubygem(hoe-git) >= 1.5 # BuildRequires: rubygem(hoe-git) < 2 # BuildRequires: rubygem(hoe-hg) >= 1.0 # BuildRequires: rubygem(hoe-hg) < 2 # BuildRequires: rubygem(hoe-rubygems) >= 1.0 # BuildRequires: rubygem(hoe-rubygems) < 2 # BuildRequires: rubygem(hoe-travis) >= 1.2 # BuildRequires: rubygem(hoe-travis) < 2 # BuildRequires: rubygem(rspec) >= 2.0 # BuildRequires: rubygem(rspec) < 3 # BuildRequires: rubygem(tilt) >= 1.0 # BuildRequires: rubygem(tilt) < 2 # BuildRequires: rubygem(hoe) >= 3.8 # BuildRequires: rubygem(hoe) < 4 BuildArch: noarch %description RubyPython is a bridge between the Ruby and Python interpreters. It embeds a running Python interpreter in the Ruby application's process using FFI and provides a means for wrapping, converting, and calling Python objects and methods. RubyPython uses FFI to marshal the data between the Ruby and Python VMs and make Python calls. You can: * Inherit from Python classes. * Configure callbacks from Python. * Run Python generators (on Ruby 1.9.2 or later). %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} # rspec spec popd %files %dir %{gem_instdir} %{gem_instdir}/.autotest %exclude %{gem_instdir}/.gitignore %{gem_instdir}/.hgignore %{gem_instdir}/.hgtags %license %{gem_instdir}/License.rdoc %{gem_instdir}/Manifest.txt %{gem_instdir}/PostInstall.txt %{gem_instdir}/autotest %{gem_libdir} %{gem_instdir}/website %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %exclude %{gem_instdir}/.rspec %doc %{gem_instdir}/Contributors.rdoc %doc %{gem_instdir}/History.rdoc %doc %{gem_instdir}/README.rdoc %{gem_instdir}/Rakefile %{gem_instdir}/spec %changelog * Mon Sep 13 2021 mockbuilder - 0.7.1-1 - Initial package