%global gem_name packaging_rake_tasks Name: rubygem-packaging_rake_tasks Version: 1.5.4 Release: 0 %define mod_name packaging_rake_tasks %define mod_full_name %{mod_name}-%{version} BuildRequires: ruby(release) rubygems-devel rubygem(rspec) >= 3 rubygem(did_you_mean) URL: http://github.org/openSUSE/packaging_tasks Source: http://rubygems.org/gems/%{mod_full_name}.gem Source1: gem2rpm.yml Summary: Rake tasks providing tasks to package project in git and integration License: LGPL-2.1-only Group: Development/Languages/Ruby %description Rake tasks to allow easy packaging ruby projects in git for Build Service or other packaging service. %prep %autosetup -n %{mod_full_name} -p1 gem unpack %{SOURCE0} %build gem build ../%{mod_full_name}.gemspec %install %gem_install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} %{gem_libdir} %{_datadir}/gems/doc/%{mod_full_name}/ %{_datadir}/gems/gems/%{mod_full_name}/ %exclude %{gem_cache} %{gem_spec} %changelog