765766
%{?nodejs_find_provides_and_requires}
765766
%global npm_name nodemon
765766
765766
# Disable until dependencies are bundled
765766
%global enable_tests 0
765766
765766
Name:          nodejs-%{npm_name}
765766
Version:       2.0.3
765766
Release:       6%{?dist}
765766
Summary:       Simple monitor script for use during development of a node.js app
765766
License:       MIT
765766
URL:           https://github.com/remy/nodemon
765766
Source0:       %{npm_name}-v%{version}-bundled.tar.gz
765766
765766
BuildRequires: nodejs-devel
765766
BuildRequires: nodejs-packaging
765766
BuildRequires: npm
765766
765766
ExclusiveArch: %{nodejs_arches} noarch
765766
BuildArch:     noarch
765766
765766
%description
765766
Simple monitor script for use during development of a node.js app.
765766
765766
For use during development of a node.js based application.
765766
765766
nodemon will watch the files in the directory in which nodemon 
765766
was started, and if any files change, nodemon will automatically 
765766
restart your node application.
765766
765766
nodemon does not require any changes to your code or method of 
765766
development. nodemon simply wraps your node application and keeps 
765766
an eye on any files that have changed. Remember that nodemon is a 
765766
replacement wrapper for node, think of it as replacing the word "node" 
765766
on the command line when you run your script.
765766
765766
%prep
765766
%setup -q -n %{npm_name}-%{version}
765766
765766
%build
765766
765766
# nothing to do
765766
# tarball is bundled in --production mode, so no need to prune
765766
765766
%install
765766
mkdir -p %{buildroot}%{nodejs_sitelib}/%{npm_name}
765766
cp -pr doc bin lib package.json website node_modules %{buildroot}%{nodejs_sitelib}/%{npm_name}
765766
765766
mkdir -p %{buildroot}%{_bindir}
765766
ln -sf %{nodejs_sitelib}/%{npm_name}/bin/nodemon.js %{buildroot}%{_bindir}/nodemon
765766
765766
765766
#%%nodejs_symlink_deps
765766
765766
%if 0%{?enable_tests}
765766
%check
765766
%nodejs_symlink_deps --check
765766
npm run test
765766
%endif
765766
765766
%files
765766
%doc CODE_OF_CONDUCT.md doc faq.md README.md
765766
%{nodejs_sitelib}/%{npm_name}
765766
%{_bindir}/nodemon
765766
765766
%changelog
765766
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-6
765766
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
765766
  Related: rhbz#1991688
765766
765766
* Tue Jun 22 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-5
765766
- Rebuilt for RHEL 9 BETA for openssl 3.0
765766
  Related: rhbz#1971065
765766
765766
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 2.0.3-4
765766
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
765766
765766
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-3
765766
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
765766
765766
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 2.0.3-2
765766
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
765766
765766
* Fri May 01 2020 Honza Horak <hhorak@redhat.com> - 2.0.3-1
765766
- Update to 2.0.3
765766
765766
* Mon Aug 13 2018 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.18.3-1
765766
- Resolves: #1615413
765766
- Updated
765766
- bundled
765766
765766
* Mon Jul 03 2017 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.11.0-2
765766
- rh-nodejs8 rebuild
765766
765766
* Mon Oct 31 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.11.0-1
765766
- Updated with script
765766
765766
* Sun Feb 14 2016 Zuzana Svetlikova <zsvetlik@redhat.com> - 1.8.1-6
765766
- rebuilt
765766
765766
* Wed Jan 06 2016 Tomas Hrcka <thrcka@redhat.com> - 1.8.1-5
765766
- Enable scl macros
765766
765766
* Thu Dec 17 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-2
765766
- Fix dependencies
765766
765766
* Wed Dec 16 2015 Troy Dawson <tdawson@redhat.com> - 1.8.1-1
765766
- Initial package