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