Blame SPECS/nodejs-is-extglob.spec

a381cb
%{?scl:%scl_package nodejs-%{npm_name}}
a381cb
%{!?scl:%global pkg_name %{name}}
a381cb
a381cb
%{?nodejs_find_provides_and_requires}
a381cb
%global npm_name is-extglob
a381cb
a381cb
Summary:       Returns true if a string has an extglob
a381cb
Name:          %{?scl_prefix}nodejs-%{npm_name}
a381cb
Version:       1.0.0
a381cb
Release:       2%{?dist}
a381cb
License:       MIT
a381cb
URL:           https://github.com/jonschlinkert/is-extglob
a381cb
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
a381cb
BuildRequires: nodejs010-runtime
a381cb
ExclusiveArch: %{nodejs_arches} noarch
a381cb
BuildArch:     noarch
a381cb
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
a381cb
a381cb
%description
a381cb
Returns true if a string has an extglob.
a381cb
a381cb
%prep
a381cb
%setup -q -n package
a381cb
a381cb
%build
a381cb
a381cb
%install
a381cb
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
a381cb
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
a381cb
a381cb
%nodejs_symlink_deps
a381cb
a381cb
%files
a381cb
%{!?_licensedir:%global license %doc}
a381cb
%doc README.md
a381cb
%license LICENSE
a381cb
%{nodejs_sitelib}/%{npm_name}
a381cb
a381cb
%changelog
a381cb
* Thu Jan 07 2016 Tomas Hrcka <thrcka@redhat.com> - 1.0.0-2
a381cb
- Enable scl macros
a381cb
a381cb
* Tue Dec 15 2015 Troy Dawson <tdawson@redhat.com> - 1.0.0-1
a381cb
- Initial package