# Generated from jquery-rails-2.0.2.gem by gem2rpm -*- rpm-spec -*- %global gem_name jquery-rails Summary: Use jQuery with Rails 3 Name: rubygem-%{gem_name} Version: 3.0.4 Release: 1%{?dist} Group: Development/Languages # jquery-rails itself is MIT, bundled JavaScripts are the rest License: MIT and (MIT or GPLv2) and (MIT or BSD or GPLv2) and BSD URL: http://rubygems.org/gems/jquery-rails Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem Requires: ruby(release) Requires: ruby(rubygems) Requires: rubygem(railties) >= 3.0 Requires: rubygem(railties) < 5.0 Requires: rubygem(thor) => 0.14 Requires: rubygem(thor) < 2.0 BuildRequires: ruby(release) BuildRequires: rubygems-devel BuildRequires: ruby BuildArch: noarch Provides: rubygem(%{gem_name}) = %{version} %description This gem provides jQuery and the jQuery-ujs driver for your Rails 3 application. %package doc Summary: Documentation for %{name} Group: Documentation Requires: %{name} = %{version}-%{release} BuildArch: noarch %description doc Documentation for %{name} %prep %setup -q -c -T %gem_install -n %{SOURCE0} %build %install mkdir -p %{buildroot}%{gem_dir} cp -a .%{gem_dir}/* \ %{buildroot}%{gem_dir}/ %check pushd .%{gem_instdir} # no tests :( # see https://github.com/rails/jquery-rails/pull/56 # rspec spec popd %files %dir %{gem_instdir} %doc %{gem_instdir}/LICENSE # bunch of bundled JS files here %{gem_instdir}/vendor %{gem_libdir} %exclude %{gem_cache} %exclude %{gem_instdir}/.* %{gem_spec} %files doc %doc %{gem_docdir} %doc %{gem_instdir}/CHANGELOG.md %doc %{gem_instdir}/CONTRIBUTING.md %doc %{gem_instdir}/VERSIONS.md %{gem_instdir}/Gemfile %{gem_instdir}/%{gem_name}.gemspec %{gem_instdir}/Rakefile %doc %{gem_instdir}/README.md %changelog * Thu Sep 05 2013 Axilleas Pipinellis - 3.0.4-1 - Update to 3.0.4 * Sun Aug 04 2013 Fedora Release Engineering - 2.0.2-4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Thu Mar 14 2013 Bohuslav Kabrda - 2.0.2-3 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Thu Feb 14 2013 Fedora Release Engineering - 2.0.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild * Mon Jul 23 2012 Bohuslav Kabrda - 2.0.2-1 - Initial package