Blame SPECS/nodejs-chokidar.spec

1c0577
%{?scl:%scl_package nodejs-%{npm_name}}
1c0577
%{!?scl:%global pkg_name %{name}}
1c0577
1c0577
%{?nodejs_find_provides_and_requires}
1c0577
%global npm_name chokidar
1c0577
1c0577
Summary:       A neat wrapper around node.js fs.watch / fs.watchFile / fsevents
1c0577
Name:          %{?scl_prefix}nodejs-%{npm_name}
1c0577
Version:       1.4.1
1c0577
Release:       10%{?dist}
1c0577
License:       MIT
1c0577
URL:           https://github.com/paulmillr/chokidar
1c0577
Source0:       http://registry.npmjs.org/%{npm_name}/-/%{npm_name}-%{version}.tgz
1c0577
BuildRequires: %{?scl_prefix}runtime
1c0577
BuildRequires: %{?scl_prefix}nodejs-devel
1c0577
ExclusiveArch: %{nodejs_arches} noarch
1c0577
BuildArch:     noarch
1c0577
1c0577
%description
1c0577
A neat wrapper around node.js fs.watch / fs.watchFile / fsevents.
1c0577
1c0577
%prep
1c0577
%setup -q -n package
1c0577
1c0577
%nodejs_fixdep inherits
1c0577
%nodejs_fixdep async-each
1c0577
1c0577
%build
1c0577
1c0577
%install
1c0577
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
1c0577
cp -pr index.js lib package.json %{buildroot}%{nodejs_sitelib}/%{npm_name}
1c0577
1c0577
%nodejs_symlink_deps
1c0577
1c0577
%files
1c0577
%doc CHANGELOG.md README.md
1c0577
%{nodejs_sitelib}/%{npm_name}
1c0577
1c0577
%changelog
1c0577
* Wed Apr 13 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-10
1c0577
- Changed inherits fixdep
1c0577
1c0577
* Thu Mar 17 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-9
1c0577
- Add nodejs-devel dependency
1c0577
1c0577
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-8
1c0577
- Use proper macro in -runtime dependency
1c0577
1c0577
* Tue Feb 16 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-6
1c0577
- Use proper macro in -runtime dependency
1c0577
1c0577
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.4.1-5
1c0577
- rebuilt
1c0577
1c0577
* Fri Jan 29 2016 Tomas Hrcka <thrcka@redhat.com> - 1.4.1-4
1c0577
- Enable scl macros
1c0577
1c0577
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 1.4.1-2
1c0577
- Fix dependencies
1c0577
1c0577
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.4.1-1
1c0577
- Initial package