Blame SPECS/nodejs-unc-path-regex.spec

14787a
%{?scl:%scl_package nodejs-%{npm_name}}
14787a
%{!?scl:%global pkg_name %{name}}
14787a
%{?nodejs_find_provides_and_requires}
14787a
14787a
%global npm_name unc-path-regex
14787a
14787a
Summary:       Test if a file path is a windows UNC file path
14787a
Name:          %{?scl_prefix}nodejs-%{npm_name}
14787a
Version:       0.1.1
14787a
Release:       2%{?dist}
14787a
License:       MIT
14787a
URL:           https://github.com/jonschlinkert/unc-path-regex
14787a
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
14787a
BuildRequires: nodejs010-runtime
14787a
ExclusiveArch: %{nodejs_arches} noarch
14787a
BuildArch:     noarch
14787a
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
14787a
14787a
%description
14787a
Regular expression for testing if a file path is a 
14787a
windows UNC file path. Can also be used as a component 
14787a
of another regexp via the .source property.
14787a
14787a
%prep
14787a
%setup -q -n package
14787a
14787a
%build
14787a
14787a
%install
14787a
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
14787a
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
14787a
14787a
%files
14787a
%doc README.md LICENSE
14787a
%{nodejs_sitelib}/%{npm_name}
14787a
14787a
%changelog
14787a
* Tue Dec 01 2015 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-2
14787a
- Enable scl macros
14787a
14787a
* Tue Nov 17 2015 Troy Dawson <tdawson@redhat.com> - 0.1.1-1
14787a
- Initial package