Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > 611cb8b6080bc4f785d9a812825a647b > files > 1

ruby-sprockets-2.2.2-3.mga3.src.rpm

%define oname   sprockets

Name:       ruby-%{oname}
Epoch:      1
Version:    2.2.2
Release:    %mkrel 3
Summary:    JavaScript dependency management and concatenation
License:    MIT
Group:      Development/Ruby
URL:        http://getsprockets.org/
Source0:    http://rubygems.org/gems/%{oname}-%{version}.gem
BuildRequires: rubygems
BuildArch:  noarch

%description
Sprockets is a Ruby library that preprocesses and concatenates JavaScript
source files.

#-------------------------------------------------------------------------------
%package        doc
Summary:    Documentation for %{name}
Group:      Development/Ruby
Requires:   %{name} = %{epoch}:%{version}-%{release}

%description    doc
Documents, Rdoc & RI documentation for %{name}.

#-------------------------------------------------------------------------------

%prep
%setup -q
tar xmf data.tar.gz

%build
%gem_build

%install
%gem_install

sed -i -e 's#"!= 1.3.0", ##'  %{buildroot}%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec

%files
%{_bindir}/sprockets
%dir %{ruby_gemdir}/gems/%{oname}-%{version}/
%{ruby_gemdir}/gems/%{oname}-%{version}/bin/sprockets
%{ruby_gemdir}/gems/%{oname}-%{version}/lib
%{ruby_gemdir}/specifications/%{oname}-%{version}.gemspec

%files          doc
%defattr(-,root,root,-)
%doc %{ruby_gemdir}/doc/%{oname}-%{version}


%changelog

* Fri Feb 08 2013 umeabot <umeabot> 1:2.2.2-3.mga3
+ Revision: 396505
- Rebuild for CVE-2013-0256

* Mon Jan 14 2013 umeabot <umeabot> 1:2.2.2-2.mga3
+ Revision: 381502
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Thu Dec 20 2012 shikamaru <shikamaru> 1:2.2.2-1.mga3
+ Revision: 333490
- update for new ruby-actionpack

* Fri Nov 02 2012 fwang <fwang> 1:2.1.3-1.mga3
+ Revision: 312524
- new version 2.1.3

* Fri Nov 02 2012 fwang <fwang> 1:2.0.4-1.mga3
+ Revision: 312461
- fix version
- new version 2.0.4

* Tue Jun 12 2012 shlomif <shlomif> 2.4.3-1.mga3
+ Revision: 259899
- Got to build
- More fixes, but still fails with an error

* Sun Feb 13 2011 shikamaru <shikamaru> 1.0.2-1.mga1
+ Revision: 51456
- imported package ruby-sprockets