Blame SPECS/nodejs-lodash.restparam.spec

5581fd
%{?scl:%scl_package nodejs-%{npm_name}}
5581fd
%{!?scl:%global pkg_name %{name}}
5581fd
5581fd
%{?nodejs_find_provides_and_requires}
5581fd
%global npm_name lodash.restparam
5581fd
5581fd
Summary:       The modern build of lodash’s _.restParam as a module
5581fd
Name:          %{?scl_prefix}nodejs-%{npm_name}
5581fd
Version:       3.6.1
5581fd
Release:       2%{?dist}
5581fd
License:       MIT
5581fd
URL:           https://github.com/lodash/lodash
5581fd
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
5581fd
BuildRequires: nodejs010-runtime
5581fd
ExclusiveArch: %{nodejs_arches} noarch
5581fd
BuildArch:     noarch
5581fd
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
5581fd
5581fd
%description
5581fd
The modern build of lodash’s _.restParam as a module.
5581fd
5581fd
%prep
5581fd
%setup -q -n package
5581fd
5581fd
%build
5581fd
5581fd
%install
5581fd
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
5581fd
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
5581fd
5581fd
%nodejs_symlink_deps
5581fd
5581fd
%files
5581fd
%{!?_licensedir:%global license %doc}
5581fd
%doc README.md
5581fd
%license LICENSE.txt
5581fd
%{nodejs_sitelib}/%{npm_name}
5581fd
5581fd
%changelog
5581fd
* Thu Jan 07 2016 Tomas Hrcka <thrcka@redhat.com> - 3.6.1-2
5581fd
- Enable scl macros
5581fd
5581fd
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 3.6.1-1
5581fd
- Initial package