Blame SPECS/nodejs-update-notifier.spec

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