Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 5b00ea508df1f731e5e07732de29b531 > files > 2

nodejs-anymatch-2.0.0-4.mga7.src.rpm

%global npm_name anymatch
%global enable_tests 1

Name: nodejs-%{npm_name}
Version: 2.0.0
Release: %mkrel 4
Summary: Matches strings against configurable strings, globs, regular expressions, and/or functions
License: ISC
Group: Development/Other
URL: https://github.com/micromatch/anymatch
Source0: https://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
BuildRequires: nodejs-packaging
Requires: npm(micromatch)
Requires: npm(normalize-path)
BuildArch: noarch

%description
%{summary}

%prep
%setup -q -n package

%nodejs_fixdep normalize-path ">=3.0.0"

%build
# Nothing to do here

%install
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr index.js %{buildroot}%{nodejs_sitelib}/%{npm_name}
cp -pfr package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}

%nodejs_symlink_deps

%if 0%{?enable_tests}
%check
%{nodejs_symlink_deps} --check
%endif

%files
%{nodejs_sitelib}/%{npm_name}
%license LICENSE
%doc README.md



%changelog
* Thu Sep 20 2018 umeabot <umeabot> 2.0.0-4.mga7
  (not released yet)
+ Revision: 1280147
- Mageia 7 Mass Rebuild

* Thu May 03 2018 kekepower <kekepower> 2.0.0-3.mga7
+ Revision: 1225760
- Fix Requires

* Thu May 03 2018 kekepower <kekepower> 2.0.0-2.mga7
+ Revision: 1225274
- Fix Requires

* Thu May 03 2018 kekepower <kekepower> 2.0.0-1.mga7
+ Revision: 1225065
- imported package nodejs-anymatch