Blame SPECS/nodejs-update-notifier.spec

a2b988
%{?scl:%scl_package nodejs-%{npm_name}}
a2b988
%{!?scl:%global pkg_name %{name}}
a2b988
a2b988
%{?nodejs_find_provides_and_requires}
a2b988
%global npm_name update-notifier
a2b988
a2b988
Summary:       Update notifications for your CLI app
a2b988
Name:          %{?scl_prefix}nodejs-%{npm_name}
a2b988
Version:       0.6.0
a2b988
Release:       2%{?dist}
a2b988
License:       BSD
a2b988
URL:           https://github.com/yeoman/update-notifier
a2b988
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
a2b988
BuildRequires: nodejs010-runtime
a2b988
ExclusiveArch: %{nodejs_arches} noarch
a2b988
BuildArch:     noarch
a2b988
Provides:      %{?scl_prefix}nodejs-%{npm_name} = %{version}
a2b988
a2b988
%description
a2b988
Update notifications for your CLI app.
a2b988
Inform users of your package of updates in a non-intrusive way.
a2b988
a2b988
%prep
a2b988
%setup -q -n package
a2b988
a2b988
%build
a2b988
a2b988
%install
a2b988
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
a2b988
cp -pr *.js package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
a2b988
a2b988
%nodejs_symlink_deps
a2b988
a2b988
%files
a2b988
%doc readme.md
a2b988
%{nodejs_sitelib}/%{npm_name}
a2b988
a2b988
%changelog
a2b988
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 0.6.0-2
a2b988
- Enable scl macros
a2b988
a2b988
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 0.6.0-1
a2b988
- Initial package