Name: nodejs-step Version: 0.0.5 Release: 1%{?dist} Summary: A simple control-flow library for Node.js # License is at the top of lib/step.js License: MIT URL: https://github.com/creationix/step Source0: http://registry.npmjs.org/step/-/step-%{version}.tgz BuildArch: noarch BuildRequires: nodejs-devel %description A simple control-flow library for Node.js that makes parallel execution, serial execution, and error handling painless. %prep %setup -q -n package rm -rf node_modules %build %check for test in test/*Test.js do %{__nodejs} ${test} done %install mkdir -p %{buildroot}/%{nodejs_sitelib}/step cp -pr package.json %{buildroot}/%{nodejs_sitelib}/step install -p -D -m0644 lib/step.js %{buildroot}/%{nodejs_sitelib}/step/lib/step.js %nodejs_symlink_deps %files %doc README.markdown %{nodejs_sitelib}/step %changelog * Sun Feb 10 2013 Tom Hughes <tom@compton.nu> - 0.0.5-1 - Initial build of 0.0.5