From 73b15c6cab0ecc5dea3f5765cda46843052d55df Mon Sep 17 00:00:00 2001 From: T.C. Hollingsworth Date: Feb 12 2013 07:00:44 +0000 Subject: initial import --- diff --git a/.gitignore b/.gitignore index e69de29..7aae965 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/wordwrap-0.0.2.tgz diff --git a/nodejs-wordwrap.spec b/nodejs-wordwrap.spec new file mode 100644 index 0000000..09b1ac0 --- /dev/null +++ b/nodejs-wordwrap.spec @@ -0,0 +1,49 @@ +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 diff --git a/sources b/sources index e69de29..9efa0b3 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +337b01f9fc79d9fbe9981ce70ad34d6f wordwrap-0.0.2.tgz