diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1977e69 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/turbolinks-2.4.0.gem diff --git a/.rh-ror41-rubygem-turbolinks.metadata b/.rh-ror41-rubygem-turbolinks.metadata new file mode 100644 index 0000000..ef4875b --- /dev/null +++ b/.rh-ror41-rubygem-turbolinks.metadata @@ -0,0 +1 @@ +e2e0bef84f56b157edd85836de40380af6e92571 SOURCES/turbolinks-2.4.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-turbolinks.spec b/SPECS/rubygem-turbolinks.spec new file mode 100644 index 0000000..ebe0588 --- /dev/null +++ b/SPECS/rubygem-turbolinks.spec @@ -0,0 +1,87 @@ +%{?scl:%scl_package rubygem-%{gem_name}} +%{!?scl:%global pkg_name %{name}} + +# Generated from turbolinks-0.5.1.gem by gem2rpm -*- rpm-spec -*- +%global gem_name turbolinks + +Summary: Turbolinks makes following links in your web application faster +Name: %{?scl_prefix}rubygem-%{gem_name} +Version: 2.4.0 +Release: 1%{?dist} +Group: Development/Languages +License: MIT +URL: http://github.com/rails/turbolinks +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(coffee-rails) +BuildRequires: %{?scl_prefix_ruby}ruby(release) +BuildRequires: %{?scl_prefix_ruby}rubygems-devel +BuildArch: noarch +Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} + +%description +Turbolinks makes following links in your web application faster. Instead of +letting the browser recompile the JavaScript and CSS between each page change, +it keeps the current page instance alive and replaces only the body and +the title in the head. Think CGI vs persistent process. (Use with Rails Asset +Pipeline.) + +%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 + +%check +# To test it: +# run `rackup "test/config.ru"` to run the server and check manually serving assets +# no idea how to make it automated in koji right now + +%install +mkdir -p %{buildroot}%{gem_dir} +cp -a .%{gem_dir}/* \ + %{buildroot}%{gem_dir}/ + +%files +%dir %{gem_instdir} +%{gem_libdir} +%exclude %{gem_cache} +%{gem_spec} +%doc %{gem_instdir}/MIT-LICENSE + +%files doc +%doc %{gem_docdir} +%doc %{gem_instdir}/README.md +%{gem_instdir}/test + +%changelog +* Tue Jan 27 2015 Josef Stribny - 2.4.0-1 +- Update to 2.4.0 + +* Thu Oct 24 2013 Josef Stribny - 1.3.0-2 +- Convert to scl + +* Wed Oct 23 2013 Josef Stribny - 1.3.0-1 +- Update to 1.3.0 + +* Sun Aug 04 2013 Fedora Release Engineering - 1.1.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Mon Apr 22 2013 Josef Stribny - 1.1.1-1 +- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 +- Update to 1.1.1 + +* Thu Nov 15 2012 Josef Stribny - 0.5.1-1 +- Initial package