Blame SPECS/nodejs-fill-range.spec

6d4fa7
%{?scl:%scl_package nodejs-%{npm_name}}
6d4fa7
%{!?scl:%global pkg_name %{name}}
6d4fa7
6d4fa7
%{?nodejs_find_provides_and_requires}
6d4fa7
%global npm_name fill-range
6d4fa7
6d4fa7
Summary:       Fill in a range of numbers or letters
6d4fa7
Name:          %{?scl_prefix}nodejs-%{npm_name}
6d4fa7
Version:       2.2.3
6d4fa7
Release:       2%{?dist}
6d4fa7
License:       MIT
6d4fa7
URL:           https://github.com/jonschlinkert/fill-range
6d4fa7
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
6d4fa7
BuildRequires: nodejs010-runtime
6d4fa7
ExclusiveArch: %{nodejs_arches} noarch
6d4fa7
BuildArch:     noarch
6d4fa7
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
6d4fa7
6d4fa7
%description
6d4fa7
Fill in a range of numbers or letters, 
6d4fa7
optionally passing an increment or multiplier to use.
6d4fa7
6d4fa7
%prep
6d4fa7
%setup -q -n package
6d4fa7
chmod 644 *
6d4fa7
6d4fa7
%build
6d4fa7
6d4fa7
%install
6d4fa7
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
6d4fa7
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
6d4fa7
6d4fa7
%nodejs_symlink_deps
6d4fa7
6d4fa7
%files
6d4fa7
%{!?_licensedir:%global license %doc}
6d4fa7
%doc README.md
6d4fa7
%license LICENSE
6d4fa7
%{nodejs_sitelib}/%{npm_name}
6d4fa7
6d4fa7
%changelog
6d4fa7
* Wed Jan 13 2016 Tomas Hrcka <thrcka@redhat.com> - 2.2.3-2
6d4fa7
- Enable scl macros
6d4fa7
6d4fa7
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 2.2.3-1
6d4fa7
- Initial package