T.C. Hollingsworth 8a74bff
%{?nodejs_find_provides_and_requires}
T.C. Hollingsworth 1b133ec
T.C. Hollingsworth 052c43e
Name:           nodejs-async
T.C. Hollingsworth 1ef07fb
Version:        0.2.6
T.C. Hollingsworth 1b133ec
Release:        2%{?dist}
T.C. Hollingsworth 052c43e
Summary:        Higher-order functions and common patterns for asynchronous code
T.C. Hollingsworth 052c43e
BuildArch:      noarch
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
Group:          System Environment/Libraries
T.C. Hollingsworth 052c43e
License:        MIT
T.C. Hollingsworth 052c43e
URL:            http://github.com/caolan/async/
T.C. Hollingsworth 052c43e
Source0:        http://registry.npmjs.org/async/-/async-%{version}.tgz
T.C. Hollingsworth 052c43e
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
BuildRequires:  nodejs-devel
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%description
T.C. Hollingsworth 052c43e
Async is a utility module which provides straight-forward, powerful functions
T.C. Hollingsworth 052c43e
for working with asynchronous JavaScript. Although originally designed for
T.C. Hollingsworth 052c43e
use with Node.js, it can also be used directly in the browser.
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
Async provides around 20 functions that include the usual 'functional'
T.C. Hollingsworth 052c43e
suspects (map, reduce, filter, forEach…) as well as some common patterns
T.C. Hollingsworth 052c43e
for asynchronous control flow (parallel, series, waterfall…). All these
T.C. Hollingsworth 052c43e
functions assume you follow the Node.js convention of providing a single
T.C. Hollingsworth 052c43e
callback as the last argument of your async function.
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%prep
T.C. Hollingsworth 052c43e
%setup -q -n package
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%build
T.C. Hollingsworth 052c43e
#nothing to do
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%install
T.C. Hollingsworth 052c43e
rm -rf %buildroot
T.C. Hollingsworth 052c43e
mkdir -p %{buildroot}%{nodejs_sitelib}/async
T.C. Hollingsworth b2effe8
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/async
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
#has commands for testing in Makefile and package.json but no actual tests??
T.C. Hollingsworth 052c43e
#also requires nodeunit which isn't packaged yet
T.C. Hollingsworth 052c43e
#%%check
T.C. Hollingsworth 052c43e
#make test
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%clean
T.C. Hollingsworth 052c43e
rm -rf %buildroot
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%files
T.C. Hollingsworth 052c43e
%defattr(-,root,root,-)
T.C. Hollingsworth 052c43e
%{nodejs_sitelib}/async
T.C. Hollingsworth 052c43e
%doc README.md LICENSE
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
%changelog
T.C. Hollingsworth 1b133ec
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.6-2
T.C. Hollingsworth 1b133ec
- add macro for EPEL6 dependency generation
T.C. Hollingsworth 1b133ec
T.C. Hollingsworth 1ef07fb
* Wed Mar 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.6-1
T.C. Hollingsworth 1ef07fb
- new upstream release 0.2.6
T.C. Hollingsworth 1ef07fb
T.C. Hollingsworth e26e3ba
* Wed Feb 13 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.5-1
T.C. Hollingsworth e26e3ba
- new upstream release 0.2.5
T.C. Hollingsworth e26e3ba
T.C. Hollingsworth b2effe8
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.2.4-1
T.C. Hollingsworth b2effe8
- new upstream release 0.2.4
T.C. Hollingsworth b2effe8
T.C. Hollingsworth 052c43e
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.22-3
T.C. Hollingsworth 052c43e
- add missing build section
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.22-2
T.C. Hollingsworth 052c43e
- Fix URL
T.C. Hollingsworth 052c43e
- Provide a better description
T.C. Hollingsworth 052c43e
T.C. Hollingsworth 052c43e
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.1.22-1
T.C. Hollingsworth 052c43e
- initial package generated by npm2rpm