2 Summary: JavaScript glob matcher
7 Group: Development/Libraries
8 Source0: http://registry.npmjs.org/minimatch/-/minimatch-%{version}.tgz
9 # Source0-md5: cb1ce5c0b763576ed9ee77a72fc95668
10 URL: https://github.com/isaacs/minimatch
11 BuildRequires: rpmbuild(macros) >= 1.634
13 Requires: nodejs-lru-cache < 3
14 Requires: nodejs-lru-cache >= 2
15 Requires: nodejs-sigmund < 1.1.0
16 Requires: nodejs-sigmund >= 1.0.0
18 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21 Converts glob expressions to JavaScript "RegExp" objects.
28 rm -rf $RPM_BUILD_ROOT
30 install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
31 cp -p %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
34 rm -rf $RPM_BUILD_ROOT
37 %defattr(644,root,root,755)
38 %doc README.md LICENSE
40 %{nodejs_libdir}/%{pkg}