diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..b977b94 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/jquery-rails-3.1.0.gem diff --git a/.rh-ror41-rubygem-jquery-rails.metadata b/.rh-ror41-rubygem-jquery-rails.metadata new file mode 100644 index 0000000..e8ae067 --- /dev/null +++ b/.rh-ror41-rubygem-jquery-rails.metadata @@ -0,0 +1 @@ +39514d6b0d7b95d9c5fd97351e8094c1cd4dd77b SOURCES/jquery-rails-3.1.0.gem diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/rubygem-jquery-rails.spec b/SPECS/rubygem-jquery-rails.spec new file mode 100644 index 0000000..61ce91b --- /dev/null +++ b/SPECS/rubygem-jquery-rails.spec @@ -0,0 +1,106 @@ +%{?scl:%scl_package rubygem-%{gem_name}} +%{!?scl:%global pkg_name %{name}} + +# Generated from jquery-rails-2.0.2.gem by gem2rpm -*- rpm-spec -*- +%global gem_name jquery-rails + +Summary: Use jQuery with Rails 3 +Name: %{?scl_prefix}rubygem-%{gem_name} +Version: 3.1.0 +Release: 2%{?dist} +Group: Development/Languages +License: MIT +URL: http://rubygems.org/gems/jquery-rails +Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem +Requires: %{?scl_prefix_ruby}ruby(release) +Requires: %{?scl_prefix_ruby}ruby(rubygems) +Requires: %{?scl_prefix}rubygem(railties) >= 3.2.0 +Requires: %{?scl_prefix}rubygem(railties) < 5.0 +Requires: %{?scl_prefix_ruby}rubygem(thor) => 0.14 +Requires: %{?scl_prefix_ruby}rubygem(thor) < 2 +BuildRequires: %{?scl_prefix_ruby}ruby(release) +BuildRequires: %{?scl_prefix_ruby}rubygems-devel +BuildRequires: %{?scl_prefix_ruby}ruby +BuildArch: noarch +Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} + +%description +This gem provides jQuery and the jQuery-ujs driver for your Rails 3 +application. + +%package doc +Summary: Documentation for %{pkg_name} +Group: Documentation +Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release} +BuildArch: noarch + +%description doc +Documentation for %{pkg_name} + +%prep +%setup -n %{pkg_name}-%{version} -q -c -T +%{?scl:scl enable %scl - << \EOF} +%gem_install -n %{SOURCE0} +%{?scl:EOF} + +%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 +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 +* Mon Feb 02 2015 Vít Ondruch - 3.1.0-2 +- Fix thor dependency. + +* Mon May 26 2014 Josef Stribny - 3.1.0-1 +- Update to jquery-rails 3.1.0 + - This resolves: rhbz#1086262 + +* Thu Feb 06 2014 Josef Stribny - 3.0.4-3 +- Fix license to MIT + +* Wed Oct 23 2013 Josef Stribny - 3.0.4-2 +- Convert to scl + +* Wed Oct 23 2013 Josef Stribny - 3.0.4-1 +- Update to jquery-rails 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