|
|
ba9127c |
# Generated from uglifier-1.2.6.gem by gem2rpm -*- rpm-spec -*-
|
|
|
ba9127c |
%global gem_name uglifier
|
|
|
ba9127c |
|
|
|
ba9127c |
Summary: Ruby wrapper for UglifyJS JavaScript compressor
|
|
|
ba9127c |
Name: rubygem-%{gem_name}
|
|
Josef Stribny |
4612839 |
Version: 2.2.1
|
|
Josef Stribny |
4612839 |
Release: 1%{?dist}
|
|
|
ba9127c |
Group: Development/Languages
|
|
|
ba9127c |
# Uglifier itself is MIT
|
|
|
ba9127c |
# the bundled JavaScript from UglifyJS is BSD
|
|
|
ba9127c |
License: MIT and BSD
|
|
|
ba9127c |
URL: http://github.com/lautis/uglifier
|
|
|
ba9127c |
Source0: http://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
0121e66 |
Requires: ruby(release)
|
|
|
ba9127c |
Requires: ruby(rubygems)
|
|
|
ba9127c |
Requires: rubygem(execjs) >= 0.3.0
|
|
|
ba9127c |
Requires: rubygem(multi_json) => 1.3
|
|
|
ba9127c |
Requires: rubygem(multi_json) < 2
|
|
|
0121e66 |
BuildRequires: ruby(release)
|
|
|
ba9127c |
BuildRequires: rubygems-devel
|
|
|
ba9127c |
BuildRequires: ruby
|
|
|
ba9127c |
BuildRequires: rubygem(execjs) >= 0.3.0
|
|
|
ba9127c |
BuildRequires: rubygem(multi_json) => 1.3
|
|
|
ba9127c |
BuildRequires: rubygem(multi_json) < 2
|
|
|
ba9127c |
BuildRequires: rubygem(rspec)
|
|
|
ba9127c |
BuildRequires: rubygem(therubyracer)
|
|
|
ba9127c |
BuildArch: noarch
|
|
|
ba9127c |
Provides: rubygem(%{gem_name}) = %{version}
|
|
|
ba9127c |
|
|
|
ba9127c |
%description
|
|
|
ba9127c |
Ruby wrapper for UglifyJS JavaScript compressor.
|
|
|
ba9127c |
|
|
|
ba9127c |
|
|
|
ba9127c |
%package doc
|
|
|
ba9127c |
Summary: Documentation for %{name}
|
|
|
ba9127c |
Group: Documentation
|
|
|
ba9127c |
Requires: %{name} = %{version}-%{release}
|
|
|
ba9127c |
BuildArch: noarch
|
|
|
ba9127c |
|
|
|
ba9127c |
%description doc
|
|
|
ba9127c |
Documentation for %{name}
|
|
|
ba9127c |
|
|
|
ba9127c |
%prep
|
|
|
ba9127c |
%setup -q -c -T
|
|
|
0121e66 |
%gem_install -n %{SOURCE0}
|
|
|
ba9127c |
|
|
|
ba9127c |
%build
|
|
|
ba9127c |
|
|
|
ba9127c |
%install
|
|
|
ba9127c |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
ba9127c |
cp -a .%{gem_dir}/* \
|
|
|
ba9127c |
%{buildroot}%{gem_dir}/
|
|
|
ba9127c |
|
|
|
ba9127c |
%check
|
|
|
ba9127c |
pushd .%{gem_instdir}
|
|
Josef Stribny |
4612839 |
|
|
Josef Stribny |
4612839 |
# source_map is not part of fedora yet, ged rid of source_map in specs
|
|
Josef Stribny |
4612839 |
sed -i "s/require 'source_map'//" spec/spec_helper.rb
|
|
Josef Stribny |
4612839 |
rm spec/source_map_spec.rb
|
|
Josef Stribny |
4612839 |
|
|
|
ba9127c |
rspec spec
|
|
|
ba9127c |
popd
|
|
|
ba9127c |
|
|
|
ba9127c |
|
|
|
ba9127c |
%files
|
|
|
ba9127c |
%dir %{gem_instdir}
|
|
|
ba9127c |
%doc %{gem_instdir}/LICENSE.txt
|
|
|
ba9127c |
%{gem_libdir}
|
|
|
ba9127c |
%exclude %{gem_instdir}/.*
|
|
|
ba9127c |
%exclude %{gem_cache}
|
|
|
ba9127c |
%{gem_spec}
|
|
|
ba9127c |
|
|
|
ba9127c |
%files doc
|
|
|
ba9127c |
%doc %{gem_docdir}
|
|
|
ba9127c |
%{gem_instdir}/Gemfile
|
|
|
ba9127c |
%{gem_instdir}/Rakefile
|
|
|
ba9127c |
%doc %{gem_instdir}/README.md
|
|
|
ba9127c |
%{gem_instdir}/spec
|
|
|
ba9127c |
%doc %{gem_instdir}/VERSION
|
|
|
ba9127c |
%{gem_instdir}/%{gem_name}.gemspec
|
|
Josef Stribny |
4612839 |
%doc %{gem_instdir}/CHANGELOG.md
|
|
Josef Stribny |
4612839 |
%doc %{gem_instdir}/CONTRIBUTING.md
|
|
|
ba9127c |
|
|
|
ba9127c |
%changelog
|
|
Josef Stribny |
4612839 |
* Mon Oct 21 2013 Josef Stribny <jstribny@redhat.com> - 2.2.1-1
|
|
Josef Stribny |
4612839 |
- Update to uglifier 2.2.1
|
|
Josef Stribny |
4612839 |
|
|
|
d4f59d5 |
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-4
|
|
|
d4f59d5 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
d4f59d5 |
|
|
|
0121e66 |
* Thu Mar 07 2013 Vít Ondruch <vondruch@redhat.com> - 1.3.0-3
|
|
|
0121e66 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
0121e66 |
|
|
|
f3a3ef3 |
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.0-2
|
|
|
f3a3ef3 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
f3a3ef3 |
|
|
Josef Strzibny |
a40a015 |
* Mon Nov 5 2012 Josef Stribny <jstribny@redhat.com> - 1.3.0-1
|
|
Josef Strzibny |
a40a015 |
- Update to 1.3.0
|
|
Josef Strzibny |
a40a015 |
|
|
|
ba9127c |
* Mon Jul 16 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.2.6-1
|
|
|
ba9127c |
- Initial package
|