Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > d85612178149fb92596a237c03a80342 > files > 2

nodejs-eyes-0.1.8-3.fc18.src.rpm

%{?nodejs_find_provides_and_requires}

%global enable_tests 1

Name:       nodejs-eyes
Version:    0.1.8
Release:    3%{?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
* 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