Name: nodejs-wordwrap Version: 0.0.2 Release: 2%{?dist} Summary: Word wrapping library for node BuildArch: noarch Group: System Environment/Libraries #no license file included; "MIT/X11" indicated in package.json License: MIT URL: https://github.com/substack/node-wordwrap Source0: http://registry.npmjs.org/wordwrap/-/wordwrap-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nodejs-devel #BuildRequires: npm(expresso) %description Wrap those words. Show them at what columns to start and stop. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/wordwrap cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/wordwrap # Tests are currently disabled since this uses the expresso test framework, # which is not currently packaged for Fedora #%%check #expresso %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/wordwrap %doc README.markdown example %changelog * Fri Feb 08 2013 T.C. Hollingsworth - 0.0.2-2 - fix License tag * Fri Jan 18 2013 T.C. Hollingsworth - 0.0.2-1 - initial package generated by npm2rpm