ec1c5d5
# Generated from actionpack-1.13.5.gem by gem2rpm -*- rpm-spec -*-
ec1c5d5
%define ruby_sitelib %(ruby -rrbconfig -e "puts Config::CONFIG['sitelibdir']")
ec1c5d5
%define gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
ec1c5d5
%define gemname actionpack
ec1c5d5
%define geminstdir %{gemdir}/gems/%{gemname}-%{version}
ec1c5d5
ec1c5d5
Summary: Web-flow and rendering framework putting the VC in MVC
ec1c5d5
Name: rubygem-%{gemname}
5db1d8a
Version: 2.0.1
ec1c5d5
Release: 1%{?dist}
ec1c5d5
Group: Development/Languages
ec1c5d5
License: MIT
ec1c5d5
URL: http://www.rubyonrails.org
ec1c5d5
Source0: http://gems.rubyforge.org/gems/%{gemname}-%{version}.gem
ec1c5d5
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
ec1c5d5
Requires: rubygems
5db1d8a
Requires: rubygem(activesupport) = 2.0.1
ec1c5d5
BuildRequires: rubygems
ec1c5d5
BuildArch: noarch
ec1c5d5
Provides: rubygem(%{gemname}) = %{version}
ec1c5d5
ec1c5d5
%description
ec1c5d5
Eases web-request routing, handling, and response as a half-way front,
ec1c5d5
half-way page controller. Implemented with specific emphasis on enabling easy
ec1c5d5
unit/integration testing that doesn't require a browser.
ec1c5d5
ec1c5d5
ec1c5d5
%prep
ec1c5d5
ec1c5d5
%build
ec1c5d5
ec1c5d5
%install
ec1c5d5
rm -rf %{buildroot}
ec1c5d5
mkdir -p %{buildroot}%{gemdir}
ec1c5d5
gem install --local --install-dir %{buildroot}%{gemdir} \
ec1c5d5
            --force --rdoc %{SOURCE0}
ec1c5d5
ec1c5d5
sed -i -e 1d %{buildroot}%{geminstdir}/lib/action_controller/session/drb_server.rb
ec1c5d5
ec1c5d5
%clean
ec1c5d5
rm -rf %{buildroot}
ec1c5d5
ec1c5d5
%files
ec1c5d5
%defattr(-, root, root, -)
ec1c5d5
%dir %{geminstdir}
5db1d8a
%doc %{geminstdir}/CHANGELOG
ec1c5d5
%{geminstdir}/install.rb
ec1c5d5
%{geminstdir}/lib
ec1c5d5
%doc %{geminstdir}/MIT-LICENSE
ec1c5d5
%{geminstdir}/Rakefile
ec1c5d5
%doc %{geminstdir}/README
ec1c5d5
%doc %{geminstdir}/RUNNING_UNIT_TESTS
ec1c5d5
%{geminstdir}/test/
ec1c5d5
%doc %{gemdir}/doc/%{gemname}-%{version}
ec1c5d5
%{gemdir}/cache/%{gemname}-%{version}.gem
ec1c5d5
%{gemdir}/specifications/%{gemname}-%{version}.gemspec
ec1c5d5
ec1c5d5
ec1c5d5
%changelog
5db1d8a
* Mon Dec 10 2007 David Lutterkort <dlutter@redhat.com> - 2.0.1-1
5db1d8a
- New version
5db1d8a
ec1c5d5
* Thu Nov 29 2007 David Lutterkort <dlutter@redhat.com> - 1.13.6-1
ec1c5d5
- New version
ec1c5d5
ec1c5d5
* Tue Nov 14 2007 David Lutterkort <dlutter@redhat.com> - 1.13.5-2
ec1c5d5
- Fix buildroot; mark docs in geminstdir cleanly
ec1c5d5
ec1c5d5
* Tue Oct 30 2007 David Lutterkort <dlutter@redhat.com> - 1.13.5-1
ec1c5d5
- Initial package