Blame SPECS/nodejs-expand-range.spec

020d68
%{?scl:%scl_package nodejs-%{npm_name}}
020d68
%{!?scl:%global pkg_name %{name}}
020d68
020d68
%{?nodejs_find_provides_and_requires}
020d68
%global npm_name expand-range
020d68
020d68
Summary:       Expand a range of numbers or letters, uppercase or lowercase
020d68
Name:          %{?scl_prefix}nodejs-%{npm_name}
020d68
Version:       1.8.1
020d68
Release:       2%{?dist}
020d68
License:       MIT
020d68
URL:           https://github.com/jonschlinkert/expand-range
020d68
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
020d68
BuildRequires: nodejs010-runtime
020d68
ExclusiveArch: %{nodejs_arches} noarch
020d68
BuildArch:     noarch
020d68
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
020d68
020d68
%description
020d68
Fast, bash-like range expansion. Expand a range of numbers or letters, 
020d68
uppercase or lowercase.
020d68
020d68
%prep
020d68
%setup -q -n package
020d68
chmod 644 *
020d68
020d68
%build
020d68
020d68
%install
020d68
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
020d68
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
020d68
020d68
%nodejs_symlink_deps
020d68
020d68
%files
020d68
%{!?_licensedir:%global license %doc}
020d68
%doc README.md
020d68
%license LICENSE
020d68
%{nodejs_sitelib}/%{npm_name}
020d68
020d68
%changelog
020d68
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 1.8.1-2
020d68
- Enable scl macros, fix license macro for el6
020d68
020d68
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-1
020d68
- Initial package