72a1a88
%{?nodejs_find_provides_and_requires}
65d823f
62f8ce4
Name:       nodejs-graceful-fs
8a95176
Version:    2.0.0
c974f49
Release:    2%{?dist}
62f8ce4
Summary:    'fs' module with incremental back-off on EMFILE
5cf33c1
License:    BSD
62f8ce4
Group:      Development/Libraries
62f8ce4
URL:        https://github.com/isaacs/node-graceful-fs
62f8ce4
Source0:    http://registry.npmjs.org/graceful-fs/-/graceful-fs-%{version}.tgz
62f8ce4
BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
62f8ce4
BuildArch:  noarch
ce0bab5
ExclusiveArch: %{ix86} x86_64 %{arm} noarch
62f8ce4
62f8ce4
BuildRequires:  nodejs-devel
62f8ce4
62f8ce4
%description
62f8ce4
Just like node.js' fs module, but it does an incremental back-off when EMFILE is
62f8ce4
encountered.  Useful in asynchronous situations where one needs to try to open
62f8ce4
lots and lots of files.
62f8ce4
62f8ce4
%prep
62f8ce4
%setup -q -n package
62f8ce4
62f8ce4
%build
62f8ce4
#nothing to do
62f8ce4
62f8ce4
%install
62f8ce4
rm -rf %{buildroot}
62f8ce4
62f8ce4
mkdir -p %{buildroot}%{nodejs_sitelib}/graceful-fs
c974f49
cp -p graceful-fs.js package.json polyfills.js \
c974f49
    %{buildroot}%{nodejs_sitelib}/graceful-fs
62f8ce4
62f8ce4
%nodejs_symlink_deps
62f8ce4
62f8ce4
%clean
62f8ce4
rm -rf %{buildroot}
62f8ce4
62f8ce4
%files
62f8ce4
%defattr(-,root,root,-)
62f8ce4
%{nodejs_sitelib}/graceful-fs
62f8ce4
%doc README.md LICENSE
62f8ce4
62f8ce4
%changelog
c974f49
* Fri Jul 12 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.0.0-2
c974f49
- include missing polyfills.js file
c974f49
8a95176
* Fri Jul 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.0.0-1
8a95176
- new upstream release 2.0.0
8a95176
- license file now updated upstream
8a95176
be63188
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.2-1
be63188
- new upstream release 1.2.2
be63188
ce0bab5
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.1-3
ce0bab5
- restrict to compatible arches
ce0bab5
5cf33c1
* Mon May 27 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.2.1-2
5cf33c1
- the LICENSE file previously contained the wrong license (MIT), but now
5cf33c1
  upstream have fixed it to contain the correct license (BSD) (#967442)
5cf33c1
a64c8dc
* Sat May 25 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.2.1-1
a64c8dc
- update to upstream release 1.2.1
a64c8dc
65d823f
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.0-2
65d823f
- add macro for EPEL6 dependency generation
65d823f
fff4fb8
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.0-1
fff4fb8
- new upstream release 1.2.0
fff4fb8
62f8ce4
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.14-2
62f8ce4
- add missing build section
62f8ce4
62f8ce4
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.14-1
62f8ce4
- new upstream release 1.1.14
62f8ce4
- clean up for submission
62f8ce4
62f8ce4
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.8-2
62f8ce4
- guard Requires for F17 automatic depedency generation
62f8ce4
62f8ce4
* Thu Mar 22 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.8-1
62f8ce4
- new upstream release 1.1.8
62f8ce4
62f8ce4
* Sun Jan 29 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.5-1
62f8ce4
- new upstream release 1.1.5
62f8ce4
62f8ce4
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-2
62f8ce4
- missing Group field for EL5
62f8ce4
62f8ce4
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-1
62f8ce4
- new upstream release 1.1.4
62f8ce4
62f8ce4
* Thu Nov 10 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.2-0.1.20111109git33dee97
62f8ce4
- new upstream release
62f8ce4
- Node v0.6.0 compatibility fixes
62f8ce4
62f8ce4
* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.1-1
62f8ce4
- new upstream release
62f8ce4
62f8ce4
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-1
62f8ce4
- initial package