%{?scl:%scl_package rubygem-%{gem_name}} %{!?scl:%global pkg_name %{name}} # Generated from rails-1.2.5.gem by gem2rpm -*- rpm-spec -*- %global gem_name rails Summary: Web-application framework Name: %{?scl_prefix}rubygem-%{gem_name} Epoch: 1 Version: 4.1.5 Release: 3%{?dist} Group: Development/Languages License: MIT URL: http://www.rubyonrails.org Source0: http://rubygems.org/downloads/rails-%{version}.gem Requires: %{?scl_prefix_ruby}ruby(rubygems) >= 1.3.4 Requires: %{?scl_prefix}rubygem(activesupport) = %{version} Requires: %{?scl_prefix}rubygem(activemodel) = %{version} Requires: %{?scl_prefix}rubygem(activerecord) = %{version} Requires: %{?scl_prefix}rubygem(actionpack) = %{version} Requires: %{?scl_prefix}rubygem(actionmailer) = %{version} Requires: %{?scl_prefix}rubygem(actionview) = %{version} Requires: %{?scl_prefix}rubygem(railties) = %{version} Requires: %{?scl_prefix}rubygem(sprockets-rails) >= 2.0 Requires: %{?scl_prefix}rubygem(sprockets-rails) < 3.0 Requires: %{?scl_prefix_ruby}rubygem(bundler) >= 1.3.0 Requires: %{?scl_prefix_ruby}rubygem(bundler) < 2.0.0 Requires: %{?scl_prefix_ruby}ruby(release) BuildRequires: %{?scl_prefix_ruby}rubygems-devel BuildArch: noarch Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version} %description Rails is a framework for building web-application using CGI, FCGI, mod_ruby, or WEBrick on top of either MySQL, PostgreSQL, SQLite, DB2, SQL Server, or Oracle with eRuby- or Builder-based templates. %package doc Summary: Documentation for %{pkg_name} Group: Documentation # SyntaxHighlighter is dual licensed under the MIT and GPL licenses License: MIT and (MIT or GPL+) Requires: %{?scl_prefix}%{pkg_name} = %{epoch}:%{version}-%{release} BuildArch: noarch %description doc This package contains documentation for %{pkg_name}. %prep %build %install %{?scl:scl enable %{scl} - << \EOF} %gem_install -n %{SOURCE0} %{?scl:EOF} mkdir -p %{buildroot}%{gem_dir} cp -a ./%{gem_dir}/* %{buildroot}%{gem_dir}/ %files %dir %{gem_instdir} %{gem_spec} %exclude %{gem_cache} %exclude %{gem_docdir} %files doc %doc %{gem_instdir}/README.md %doc %{gem_instdir}/guides %changelog * Thu Feb 05 2015 Vít Ondruch - 1:4.1.5-3 - Own %%{gem_instdir} * Tue Jan 27 2015 Josef Stribny - 1:4.1.5-2 - Fix bundler dependency * Mon Jan 26 2015 Josef Stribny - 1:4.1.5-1 - Update to 4.1.5 * Tue Feb 04 2014 Josef Stribny - 1:4.0.2-2 - Fix license in -doc subpackage * Wed Dec 04 2013 Josef Stribny - 1:4.0.2-1 - Update to Rails 4.0.2 - Resolves: rhbz#1037985 * Thu Nov 21 2013 Josef Stribny - 1:4.0.1-1 - Update to Rails 4.0.1 * Thu Oct 17 2013 Josef Stribny - 1:4.0.0-3 - Convert to scl * Mon Aug 12 2013 Josef Stribny - 1:4.0.0-2 - Fix: -doc subpackage requires * Thu Aug 08 2013 Josef Stribny - 1:4.0.0-1 - Update to Rails 4.0.0. * Sun Aug 04 2013 Fedora Release Engineering - 1:3.2.13-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild * Tue Mar 19 2013 Vít Ondruch - 1:3.2.13-1 - Updated to Rails 3.2.13. * Sat Mar 09 2013 Vít Ondruch - 1:3.2.12-2 - Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0 * Tue Feb 12 2013 Vít Ondruch - 1:3.2.12-1 - Updated to Rails 3.2.12. * Wed Jan 09 2013 Vít Ondruch - 1:3.2.11-1 - Updated to Rails 3.2.11. * Fri Jan 04 2013 Vít Ondruch - 1:3.2.10-1 - Updated to Rails 3.2.10. * Mon Aug 13 2012 Vít Ondruch - 1:3.2.8-1 - Updated to Rails 3.2.8. * Mon Jul 30 2012 Vít Ondruch - 1:3.2.7-1 - Updated to Rails 3.2.7. * Fri Jul 27 2012 Bohuslav Kabrda - 1:3.2.6-1 - Updated to Rails 3.2.6. * Sat Jul 21 2012 Fedora Release Engineering - 1:3.0.15-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild * Fri Jun 15 2012 Vít Ondruch - 1:3.0.15-1 - Update to Rails 3.0.15. * Fri Jun 01 2012 Vít Ondruch - 1:3.0.13-1 - Update to Rails 3.0.13. * Wed Feb 01 2012 Bohuslav Kabrda - 1:3.0.11-1 - Rebuilt for Ruby 1.9.3. * Sat Jan 14 2012 Fedora Release Engineering - 1:3.0.10-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild * Mon Aug 22 2011 Vít Ondruch - 1:3.0.10-1 - Update to Rails 3.0.10 * Thu Jul 07 2011 Vít Ondruch - 1:3.0.9-1 - Update to Rails 3.0.9 * Tue Mar 29 2011 Vít Ondruch - 1:3.0.5-2 - Cleanup * Tue Mar 29 2011 Vít Ondruch - 1:3.0.5-1 - Updated to Rails 3.0.5 * Wed Feb 09 2011 Fedora Release Engineering - 1:3.0.3-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild * Mon Jan 10 2011 Mohammed Morsi - 1:3.0.3-1 - Update to rails 3 * Mon Aug 09 2010 Mohammed Morsi - 1:2.3.8-1 - Update to 2.3.8 * Thu Jan 28 2010 Mamoru Tasaka - 1:2.3.5-1 - Update to 2.3.5 * Wed Oct 7 2009 David Lutterkort - 1:2.3.4-2 - Bump Epoch to ensure upgrade path from F-11 * Sun Sep 20 2009 Mamoru Tasaka - 2.3.4-1 - Update to 2.3.4 * Fri Jul 31 2009 Mamoru Tasaka - 2.3.3-2 - Restore some changes * Sun Jul 26 2009 Jeroen van Meeuwen - 2.3.3-1 - New upstream version * Wed Jul 24 2009 Scott Seago - 2.3.2-3 - Remove the 'delete zero length files' bit, as some of these are needed. * Wed May 6 2009 David Lutterkort - 2.3.2-2 - Fix replacement of shebang lines; broke scripts/generate (bz 496480) * Mon Mar 16 2009 Jeroen van Meeuwen - 2.3.2-1 - New upstream version * Wed Feb 25 2009 Fedora Release Engineering - 2.2.2-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild * Tue Dec 23 2008 David Lutterkort - 2.2.2-1 - New version * Tue Sep 16 2008 David Lutterkort - 2.1.1-2 - require rubygems >= 1.1.1; the rails code checks that at runtime * Tue Sep 16 2008 David Lutterkort - 2.1.1-1 - New version (fixes CVE-2008-4094) * Thu Jul 31 2008 Michael Stahnke - 2.1.0-1 - New Upstream * Tue Apr 8 2008 David Lutterkort - 2.0.2-2 - Fix dependency * Mon Apr 07 2008 David Lutterkort - 2.0.2-1 - New version * Mon Dec 10 2007 David Lutterkort - 2.0.1-1 - New version - No dependency on actionwebservce anymore, depend on activeresource instead * Thu Nov 29 2007 David Lutterkort - 1.2.6-1 - Don't copy files into _docdir, mark them as doc in the geminstdir * Tue Nov 13 2007 David Lutterkort - 1.2.5-2 - Fix buildroot * Tue Oct 30 2007 David Lutterkort - 1.2.5-1 - Initial package