Blob Blame History Raw
%{?nodejs_find_provides_and_requires}

Name:       nodejs-jsonparse
Version:    0.0.6
Release:    4%{?dist}
Summary:    Pure-js JSON streaming parser for node.js
License:    MIT
Group:      System Environment/Libraries
URL:        https://github.com/creationix/jsonparse
Source:     http://registry.npmjs.org/jsonparse/-/jsonparse-%{version}.tgz


BuildArch:  noarch

BuildRequires:  nodejs-packaging
BuildRequires:  npm(tap)
BuildRequires:  npm(tape)

ExclusiveArch: %{nodejs_arches} noarch

%description
This is a streaming JSON parser for Node.js



%prep
%setup -q -n package


%build
#nothing to do


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/jsonparse
cp -pr jsonparse.js package.json \
    %{buildroot}%{nodejs_sitelib}/jsonparse



%check
%nodejs_symlink_deps --check
/usr/bin/tap  test/*.js

%files
%doc LICENSE README.markdown examples/
%{nodejs_sitelib}/jsonparse



%changelog
* Wed Jun 4 2014 Anish Patil <apatil@redhat.com> - 0.0.6-4
- Incorporated package review comments

* Wed May 28 2014 Anish Patil <apatil@redhat.com> - 0.0.6-3
- Incorporated package review comments

* Wed May 7 2014 Anish Patil <apatil@redhat.com> - 0.0.6-2
- Incorporated package review comments

* Thu Apr 10 2014 Anish Patil <apatil@redhat.com> - 0.0.6-1
- Initial package