Blame SPECS/nodejs-configstore.spec

97d656
%{?scl:%scl_package nodejs-%{npm_name}}
97d656
%{!?scl:%global pkg_name %{name}}
97d656
97d656
%{?nodejs_find_provides_and_requires}
97d656
%global npm_name configstore
97d656
97d656
Summary:       Easily load and save config
97d656
Name:          %{?scl_prefix}nodejs-%{npm_name}
97d656
Version:       1.4.0
97d656
Release:       2%{?dist}
97d656
License:       BSD
97d656
URL:           https://github.com/yeoman/configstore
97d656
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
97d656
BuildRequires: nodejs010-runtime
97d656
ExclusiveArch: %{nodejs_arches} noarch
97d656
BuildArch:     noarch
97d656
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
97d656
97d656
%description
97d656
Easily load and save config without having to think about where and how
97d656
97d656
%prep
97d656
%setup -q -n package
97d656
97d656
%build
97d656
97d656
%install
97d656
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
97d656
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
97d656
97d656
%nodejs_symlink_deps
97d656
97d656
%files
97d656
%doc readme.md
97d656
%{nodejs_sitelib}/%{npm_name}
97d656
97d656
%changelog
97d656
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.4.0-2
97d656
- Enable scl macros
97d656
97d656
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.4.0-1
97d656
- Initial package