Blame SPECS/nodejs-ansi-green.spec

03482a
%{?scl:%scl_package nodejs-%{npm_name}}
03482a
%{!?scl:%global pkg_name %{name}}
03482a
03482a
%{?nodejs_find_provides_and_requires}
03482a
%global npm_name ansi-green
03482a
03482a
Summary:       The color green, in ansi
03482a
Name:          %{?scl_prefix}nodejs-%{npm_name}
03482a
Version:       0.1.1
03482a
Release:       2%{?dist}
03482a
License:       MIT
03482a
URL:           https://github.com/jonschlinkert/ansi-green
03482a
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
03482a
BuildRequires: nodejs010-runtime
03482a
ExclusiveArch: %{nodejs_arches} noarch
03482a
BuildArch:     noarch
03482a
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
03482a
03482a
%description
03482a
The color green, in ansi.
03482a
03482a
%prep
03482a
%setup -q -n package
03482a
03482a
%build
03482a
03482a
%install
03482a
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
03482a
cp -pr index.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
03482a
03482a
%nodejs_symlink_deps
03482a
03482a
%files
03482a
%{!?_licensedir:%global license %doc}
03482a
%doc readme.md
03482a
%license LICENSE
03482a
%{nodejs_sitelib}/%{npm_name}
03482a
03482a
%changelog
03482a
* Tue Jan 12 2016 Tomas Hrcka <thrcka@redhat.com> - 0.1.1-2
03482a
- Enable scl macros, fix license macro for el6
03482a
03482a
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.1.1-1
03482a
- Initial package