# Generated from ProMotion-3.0.0.gem by gem2rpm -*- rpm-spec -*- %global gem_name ProMotion Name: rubygem-%{gem_name} Version: 3.0.0 Release: 1%{?dist} Summary: ProMotion is a fast way to get started building RubyMotion apps. Instead of dealing with UIViewControllers, UITableViewControllers, and the like, you work with Screens. We abstract the view controller boilerplate to make iOS development more like Ruby and less like Objective-C. With a memorable, concise API and a friendly, helpful community, ProMotion is a great way to get started with iOS development License: MIT URL: https://github.com/infinitered/ProMotion Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby # BuildRequires: rubygem(webstub) >= 1.1 # BuildRequires: rubygem(webstub) < 2 # BuildRequires: rubygem(motion-stump) >= 0.3 # BuildRequires: rubygem(motion-stump) < 1 # BuildRequires: rubygem(motion-redgreen) >= 1.0 # BuildRequires: rubygem(motion-redgreen) < 2 BuildArch: noarch %description ProMotion gives RubyMotion iOS view controllers a more Ruby-like API. %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} # Run the test suite. popd %files %dir %{gem_instdir} %{_bindir}/promotion %{gem_instdir}/bin %{gem_libdir} %exclude %{gem_cache} %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/README.md %{gem_instdir}/spec %changelog * Tue Sep 14 2021 mockbuilder - 3.0.0-1 - Initial package