Blob Blame History Raw
%{?nodejs_find_provides_and_requires}

Name:       nodejs-testswarm
Version:    1.1.0
Release:    1%{?dist}
Summary:    A Node.js module for interacting with TestSwarm
License:    MIT
Group:      System Environment/Libraries
URL:        https://github.com/jzaefferer/node-testswarm
Source0:    http://registry.npmjs.org/testswarm/-/testswarm-%{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

%nodejs_fixdep request '~2.25'


%build
#nothing to do


%install
mkdir -p %{buildroot}%{nodejs_sitelib}/testswarm
cp -pr package.json lib/ sample-test.js \
    %{buildroot}%{nodejs_sitelib}/testswarm

%nodejs_symlink_deps


%files
%doc History.md LICENSE-MIT README.md
%{nodejs_sitelib}/testswarm


%changelog
* Sat Mar 29 2014 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.1.0-1
- initial package