T.C. Hollingsworth c01309e
%{?nodejs_find_provides_and_requires}
T.C. Hollingsworth 82312ce
d422ac7
Name:           nodejs-read
d422ac7
Version:        1.0.7
1e2cccf
Release:        6%{?dist}
d422ac7
Summary:        An implementation of read(1) for node programs
d422ac7
License:        BSD
d422ac7
URL:            https://github.com/isaacs/read
d422ac7
Source0:        https://github.com/isaacs/read/archive/v%{version}/read-%{version}.tar.gz
d422ac7
BuildArch:      noarch
d422ac7
ExclusiveArch:  %{nodejs_arches} noarch
d422ac7
d422ac7
BuildRequires:  nodejs-packaging
d422ac7
d422ac7
BuildRequires:  npm(tap)
d422ac7
BuildRequires:  npm(mute-stream)
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
%description
T.C. Hollingsworth 304a11f
A method for reading user input from stdin in node.js.  Similar to readline's
T.C. Hollingsworth 304a11f
"question()" method, but with a few more features.
T.C. Hollingsworth 304a11f
d422ac7
T.C. Hollingsworth 304a11f
%prep
d422ac7
%autosetup -p 1 -n read-%{version}
d422ac7
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
%build
T.C. Hollingsworth 304a11f
#nothing to do
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
d422ac7
%install
T.C. Hollingsworth 304a11f
mkdir -p %{buildroot}%{nodejs_sitelib}/read
d422ac7
cp -pr package.json lib %{buildroot}%{nodejs_sitelib}/read
T.C. Hollingsworth 304a11f
%nodejs_symlink_deps
T.C. Hollingsworth 304a11f
d422ac7
d422ac7
%check
d422ac7
%nodejs_symlink_deps --check
d422ac7
%tap test/*.js
d422ac7
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
%files
d422ac7
%doc README.md example
d422ac7
%license LICENSE
T.C. Hollingsworth 304a11f
%{nodejs_sitelib}/read
d422ac7
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
%changelog
1e2cccf
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-6
1e2cccf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
1e2cccf
17ad5b7
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-5
17ad5b7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
17ad5b7
e1dc260
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-4
e1dc260
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
e1dc260
c0a1cd7
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-3
c0a1cd7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c0a1cd7
56948a5
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.7-2
56948a5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
56948a5
d422ac7
* Sun Jan 17 2016 Tom Hughes <tom@compton.nu> - 1.0.7-1
d422ac7
- Update to 1.0.7 upstream release
d422ac7
- Enable tests
d422ac7
a32c521
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-3
a32c521
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
a32c521
0220156
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.5-2
0220156
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
0220156
T.C. Hollingsworth 2545835
* Tue Jul 30 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.5-1
T.C. Hollingsworth 2545835
- new upstream release 1.0.5
T.C. Hollingsworth 2545835
T.C. Hollingsworth 61a71bb
* Sat Jun 22 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-8
T.C. Hollingsworth 61a71bb
- restrict to compatible arches
T.C. Hollingsworth 61a71bb
Stanislav Ochotnicky 95e3341
* Fri May 03 2013 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.0.4-7
Stanislav Ochotnicky 95e3341
- Fix dist macro usage
Stanislav Ochotnicky 95e3341
T.C. Hollingsworth 82312ce
* Mon Apr 15 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-6
T.C. Hollingsworth 82312ce
- add macro for EPEL6 dependency generation
T.C. Hollingsworth 82312ce
d9c1fa8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.4-5
d9c1fa8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
d9c1fa8
T.C. Hollingsworth 304a11f
* Thu Jan 10 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-4
T.C. Hollingsworth 304a11f
- add missing build section
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
* Mon Jan 07 2013 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-2
T.C. Hollingsworth 304a11f
- fix description
T.C. Hollingsworth 304a11f
- add no-op build section
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
* Mon Dec 31 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 1.0.4-1
T.C. Hollingsworth 304a11f
- new upstream release 1.0.4
T.C. Hollingsworth 304a11f
- clean up for submission
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
* Fri Apr 27 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-2
T.C. Hollingsworth 304a11f
- guard Requires for F17 automatic depedency generation
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
* Mon Apr 02 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.2-1
T.C. Hollingsworth 304a11f
- New upstream release 0.0.2
T.C. Hollingsworth 304a11f
T.C. Hollingsworth 304a11f
* Sat Jan 21 2012 T.C. Hollingsworth <tchollingsworth@gmail.com> - 0.0.1-1
T.C. Hollingsworth 304a11f
- initial package