Blame SPECS/nodejs-graceful-fs.spec

2a51e1
%{?scl:%scl_package nodejs-graceful-fs}
2a51e1
%{!?scl:%global pkg_name %{name}}
2a51e1
%{?nodejs_find_provides_and_requires}
2a51e1
2a51e1
Name:       %{?scl_prefix}nodejs-graceful-fs
2a51e1
Version:    4.1.2
2a51e1
Release:    4%{?dist}
2a51e1
Summary:    'fs' module with incremental back-off on EMFILE
2a51e1
License:    ISC
2a51e1
Group:      Development/Libraries
2a51e1
URL:        https://github.com/isaacs/node-graceful-fs
2a51e1
Source0:    http://registry.npmjs.org/graceful-fs/-/graceful-fs-%{version}.tgz
2a51e1
BuildRoot:  %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n)
2a51e1
# The LICENSE file has been updated upstream to reflect the actual license.
2a51e1
BuildArch:  noarch
2a51e1
ExclusiveArch: %{nodejs_arches} noarch
2a51e1
2a51e1
BuildRequires:  %{?scl_prefix}nodejs-devel
2a51e1
2a51e1
%description
2a51e1
Just like node.js' fs module, but it does an incremental back-off when EMFILE is
2a51e1
encountered.  Useful in asynchronous situations where one needs to try to open
2a51e1
lots and lots of files.
2a51e1
2a51e1
%prep
2a51e1
%setup -q -n package
2a51e1
2a51e1
%build
2a51e1
#nothing to do
2a51e1
2a51e1
%install
2a51e1
rm -rf %{buildroot}
2a51e1
2a51e1
mkdir -p %{buildroot}%{nodejs_sitelib}/graceful-fs
2a51e1
cp -p fs.js graceful-fs.js package.json polyfills.js legacy-streams.js \
2a51e1
    %{buildroot}%{nodejs_sitelib}/graceful-fs
2a51e1
2a51e1
%nodejs_symlink_deps
2a51e1
2a51e1
%clean
2a51e1
rm -rf %{buildroot}
2a51e1
2a51e1
%files
2a51e1
%defattr(-,root,root,-)
2a51e1
%{nodejs_sitelib}/graceful-fs
2a51e1
%doc README.md LICENSE
2a51e1
2a51e1
%changelog
2a51e1
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 4.1.2-4
2a51e1
- rebuilt
2a51e1
2a51e1
* Wed Dec 09 2015 Tomas Hrcka <thrcka@redhat.com> - 4.1.2-3
2a51e1
- Reflect Upstream License
2a51e1
2a51e1
* Mon Nov 30 2015 Tomas Hrcka <thrcka@redhat.com> - 4.1.2-2
2a51e1
- New upstream release
2a51e1
2a51e1
* Tue Jan 13 2015 Tomas Hrcka <thrcka@redhat.com> - 3.0.5-2
2a51e1
- Add missing source file fs.js
2a51e1
2a51e1
* Fri Jan 09 2015 Tomas Hrcka <thrcka@redhat.com> - 3.0.5-1
2a51e1
- New upstream release 3.0.5
2a51e1
2a51e1
* Fri Jul 12 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 2.0.0-2
2a51e1
- include missing polyfills.js file
2a51e1
2a51e1
* Fri Jul 12 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 2.0.0-1
2a51e1
- new upstream release 2.0.0
2a51e1
- license file now updated upstream
2a51e1
2a51e1
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.2-1
2a51e1
- new upstream release 1.2.2
2a51e1
2a51e1
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.1-3
2a51e1
- restrict to compatible arches
2a51e1
2a51e1
* Tue May 28 2013 Tomas Hrcka <thrcka@redhat.com> - 1.2.1-2.1
2a51e1
- merged latest upstream release and fix BZ#967550
2a51e1
2a51e1
* Mon May 27 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.2.1-2
2a51e1
- the LICENSE file previously contained the wrong license (MIT), but now
2a51e1
  upstream have fixed it to contain the correct license (BSD) (#967442)
2a51e1
2a51e1
* Sat May 25 2013 Jamie Nguyen <jamielinux@fedoraproject.org> - 1.2.1-1
2a51e1
- update to upstream release 1.2.1
2a51e1
2a51e1
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.0-2
2a51e1
- add macro for EPEL6 dependency generation
2a51e1
2a51e1
* Thu Apr 11 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.2.0-2
2a51e1
- Add support for software collections
2a51e1
2a51e1
* Sat Feb 09 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.2.0-1
2a51e1
- new upstream release 1.2.0
2a51e1
2a51e1
* Tue Jan 08 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.14-2
2a51e1
- add missing build section
2a51e1
2a51e1
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.14-1
2a51e1
- new upstream release 1.1.14
2a51e1
- clean up for submission
2a51e1
2a51e1
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.8-2
2a51e1
- guard Requires for F17 automatic depedency generation
2a51e1
2a51e1
* Thu Mar 22 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.8-1
2a51e1
- new upstream release 1.1.8
2a51e1
2a51e1
* Sun Jan 29 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.5-1
2a51e1
- new upstream release 1.1.5
2a51e1
2a51e1
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-2
2a51e1
- missing Group field for EL5
2a51e1
2a51e1
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.1.4-1
2a51e1
- new upstream release 1.1.4
2a51e1
2a51e1
* Thu Nov 10 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.2-0.1.20111109git33dee97
2a51e1
- new upstream release
2a51e1
- Node v0.6.0 compatibility fixes
2a51e1
2a51e1
* Tue Oct 25 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.1-1
2a51e1
- new upstream release
2a51e1
2a51e1
* Mon Aug 22 2011 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.0-1
2a51e1
- initial package