|
|
96f030 |
%{?scl:%scl_package rubygem-%{gem_name}}
|
|
|
96f030 |
%{!?scl:%global pkg_name %{name}}
|
|
|
96f030 |
|
|
|
96f030 |
#Generated from coffee-script-source-1.2.0.gem by gem2rpm -*- rpm-spec -*-
|
|
|
96f030 |
%global gem_name coffee-script-source
|
|
|
96f030 |
|
|
|
96f030 |
%global coffee_script_version 1.10.0
|
|
|
96f030 |
%global coffee_script_require js-coffee-script = %{coffee_script_version}
|
|
|
96f030 |
|
|
|
96f030 |
Name: %{?scl_prefix}rubygem-%{gem_name}
|
|
|
96f030 |
Version: %{coffee_script_version}
|
|
|
96f030 |
Release: 3%{?dist}
|
|
|
96f030 |
Summary: The CoffeeScript Compiler
|
|
|
96f030 |
Group: Development/Languages
|
|
|
96f030 |
License: MIT
|
|
|
96f030 |
URL: http://jashkenas.github.com/coffee-script/
|
|
|
96f030 |
Source0: https://rubygems.org/gems/%{gem_name}-%{version}.gem
|
|
|
96f030 |
Requires: %{?scl_prefix_ruby}ruby(release)
|
|
|
96f030 |
Requires: %{?scl_prefix_ruby}ruby(rubygems)
|
|
|
96f030 |
BuildRequires: %{?scl_prefix_ruby}ruby(release)
|
|
|
96f030 |
BuildRequires: %{?scl_prefix_ruby}rubygems-devel
|
|
|
96f030 |
BuildRequires: %{?scl_prefix_ruby}ruby
|
|
|
96f030 |
# TODO: remove if not needed
|
|
|
96f030 |
#BuildRequires: web-assets
|
|
|
96f030 |
BuildArch: noarch
|
|
|
96f030 |
Provides: %{?scl_prefix}rubygem(%{gem_name}) = %{version}
|
|
|
96f030 |
Provides: bundled(js-coffee-script) = %{coffee_script_version}
|
|
|
96f030 |
|
|
|
96f030 |
%description
|
|
|
96f030 |
CoffeeScript is a little language that compiles into JavaScript.
|
|
|
96f030 |
Underneath all of those embarrassing braces and semicolons,
|
|
|
96f030 |
JavaScript has always had a gorgeous object model at its heart.
|
|
|
96f030 |
CoffeeScript is an attempt to expose the good parts of JavaScript
|
|
|
96f030 |
in a simple way.
|
|
|
96f030 |
|
|
|
96f030 |
%package doc
|
|
|
96f030 |
Summary: Documentation for %{pkg_name}
|
|
|
96f030 |
Group: Documentation
|
|
|
96f030 |
Requires: %{?scl_prefix}%{pkg_name} = %{version}-%{release}
|
|
|
96f030 |
BuildArch: noarch
|
|
|
96f030 |
|
|
|
96f030 |
%description doc
|
|
|
96f030 |
Documentation for %{pkg_name}.
|
|
|
96f030 |
|
|
|
96f030 |
%prep
|
|
|
96f030 |
%setup -n %{pkg_name}-%{version} -q -c -T
|
|
|
96f030 |
%{?scl:scl enable %{scl} - << \EOF}
|
|
|
96f030 |
%gem_install -n %{SOURCE0}
|
|
|
96f030 |
%{?scl:EOF}
|
|
|
96f030 |
|
|
|
96f030 |
%build
|
|
|
96f030 |
|
|
|
96f030 |
%install
|
|
|
96f030 |
mkdir -p %{buildroot}%{gem_dir}
|
|
|
96f030 |
cp -a .%{gem_dir}/* \
|
|
|
96f030 |
%{buildroot}%{gem_dir}/
|
|
|
96f030 |
|
|
|
96f030 |
# Keep bundled
|
|
|
96f030 |
#ln -sf %{_jsdir}/coffee-script/coffee-script.js \
|
|
|
96f030 |
# %{buildroot}%{gem_libdir}/coffee_script/coffee-script.js
|
|
|
96f030 |
|
|
|
96f030 |
%check
|
|
|
96f030 |
# No test suite included. Some tests are included in rubygem-coffee-script,
|
|
|
96f030 |
# which is the only consumer of this package.
|
|
|
96f030 |
|
|
|
96f030 |
%files
|
|
|
96f030 |
%dir %{gem_instdir}
|
|
|
96f030 |
%{gem_libdir}
|
|
|
96f030 |
%exclude %{gem_cache}
|
|
|
96f030 |
%{gem_spec}
|
|
|
96f030 |
|
|
|
96f030 |
%files doc
|
|
|
96f030 |
%doc %{gem_docdir}
|
|
|
96f030 |
|
|
|
96f030 |
%changelog
|
|
|
96f030 |
* Wed Feb 24 2016 Pavel Valena <pvalena@redhat.com> - 1.10.0-3
|
|
|
96f030 |
- Update to 1.10.0
|
|
|
96f030 |
|
|
|
96f030 |
* Mon Jan 26 2015 Josef Stribny <jstribny@redhat.com> - 1.6.3-1
|
|
|
96f030 |
- Update to 1.6.3
|
|
|
96f030 |
|
|
|
96f030 |
* Fri Mar 21 2014 Vít Ondruch <vondruch@redhat.com> - 1.3.3-5
|
|
|
96f030 |
- Rebuid against new scl-utils to depend on -runtime package.
|
|
|
96f030 |
Resolves: rhbz#1069109
|
|
|
96f030 |
|
|
|
96f030 |
* Wed Jun 12 2013 Josef Stribny <jstribny@redhat.com> - 1.3.3-4
|
|
|
96f030 |
- Rebuild for https://fedoraproject.org/wiki/Features/Ruby_2.0.0
|
|
|
96f030 |
|
|
|
96f030 |
* Thu Jul 26 2012 Bohuslav Kabrda <bkabrda@redhat.com> - 1.3.3-3
|
|
|
96f030 |
- Imported from Fedora again.
|
|
|
96f030 |
|
|
|
96f030 |
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.3-2
|
|
|
96f030 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
96f030 |
|
|
|
96f030 |
* Mon Jul 16 2012 Vít Ondruch <vondruch@redhat.com> - 1.3.3-1
|
|
|
96f030 |
- Updated to the coffee-script-source 1.3.3.
|
|
|
96f030 |
|
|
|
96f030 |
* Wed Feb 29 2012 Fotios Lindiakos <fotios@redhat.com> - 1.2.0-2
|
|
|
96f030 |
- Rebuilt with new gem_* macros
|
|
|
96f030 |
|
|
|
96f030 |
* Mon Feb 27 2012 Fotios Lindiakos <fotios@redhat.com> - 1.2.0-1
|
|
|
96f030 |
- Initial package
|