Blame SPECS/nodejs-anymatch.spec

a180fe
%{?scl:%scl_package nodejs-%{npm_name}}
a180fe
%{!?scl:%global pkg_name %{name}}
a180fe
a180fe
%{?nodejs_find_provides_and_requires}
a180fe
%global npm_name anymatch
a180fe
a180fe
Summary:       Matches strings against anything
a180fe
Name:          %{?scl_prefix}nodejs-%{npm_name}
a180fe
Version:       1.3.0
a180fe
Release:       4%{?dist}
a180fe
License:       ISC
a180fe
URL:           https://github.com/es128/anymatch
a180fe
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
a180fe
BuildRequires: %{?scl_prefix}runtime
a180fe
ExclusiveArch: %{nodejs_arches} noarch
a180fe
BuildArch:     noarch
a180fe
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
a180fe
a180fe
%description
a180fe
Matches strings against configurable strings, globs, 
a180fe
regular expressions, and/or functions
a180fe
a180fe
Javascript module to match a string against a regular expression, 
a180fe
glob, string, or function that takes the string as an argument 
a180fe
and returns a truthy or falsy value. The matcher can also be 
a180fe
an array of any or all of these. Useful for allowing a very 
a180fe
flexible user-defined config to define things like file paths.
a180fe
a180fe
%prep
a180fe
%setup -q -n package
a180fe
a180fe
%build
a180fe
a180fe
%install
a180fe
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
a180fe
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
a180fe
a180fe
%nodejs_symlink_deps
a180fe
a180fe
%files
a180fe
%doc README.md
a180fe
%license LICENSE
a180fe
%{nodejs_sitelib}/%{npm_name}
a180fe
a180fe
%changelog
a180fe
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.0-4
a180fe
- Use macro in -runtime dependency
a180fe
a180fe
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.3.0-3
a180fe
- Rebuilt with updated metapackage
a180fe
a180fe
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.3.0-2
a180fe
- Enable scl macros
a180fe
a180fe
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.3.0-1
a180fe
- Initial package