%{?nodejs_find_provides_and_requires}
%global enable_tests 1
Name: nodejs-eyes
Version: 0.1.8
Release: 5%{?dist}
Summary: A customizable value inspector for Node.js
License: MIT
Group: System Environment/Libraries
URL: https://github.com/cloudhead/eyes.js
Source0: http://registry.npmjs.org/eyes/-/eyes-%{version}.tgz
BuildArch: noarch
%if 0%{?fedora} >= 19
ExclusiveArch: %{nodejs_arches} noarch
%else
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
%endif
BuildRequires: nodejs-packaging
%description
%{summary}
%prep
%setup -q -n package
%build
#nothing to do
%install
mkdir -p %{buildroot}%{nodejs_sitelib}/eyes
cp -pr package.json lib/ \
%{buildroot}%{nodejs_sitelib}/eyes
%nodejs_symlink_deps
%if 0%{?enable_tests}
%check
%__nodejs test/*-test.js
%endif
%files
%doc LICENSE README.md
%{nodejs_sitelib}/eyes
%changelog
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.8-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Sun Jul 21 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.8-3
- restrict to compatible arches
* Wed Jun 19 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.8-2
- rebuild for missing npm(eyes) provides on EL6
* Thu Feb 14 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 0.1.8-1
- initial package