From ed04289a68167172c7e49077791e9cc5d4ae3d0f Mon Sep 17 00:00:00 2001 From: eabdullin Date: Wed, 14 May 2025 15:55:12 +0000 Subject: [PATCH] import UBI nodejs-nodemon-3.0.3-5.el10 --- .gitignore | 2 +- .nodejs-nodemon.metadata | 1 - SPECS/nodejs-nodemon.spec | 104 ------------------------- nodejs-nodemon.spec | 158 ++++++++++++++++++++++++++++++++++++++ sources | 1 + 5 files changed, 160 insertions(+), 106 deletions(-) delete mode 100644 .nodejs-nodemon.metadata delete mode 100644 SPECS/nodejs-nodemon.spec create mode 100644 nodejs-nodemon.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index 0e81494..8ef4a49 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1 @@ -SOURCES/nodemon-v2.0.3-bundled.tar.gz +nodemon-v3.0.3-bundled.tar.gz diff --git a/.nodejs-nodemon.metadata b/.nodejs-nodemon.metadata deleted file mode 100644 index 714f000..0000000 --- a/.nodejs-nodemon.metadata +++ /dev/null @@ -1 +0,0 @@ -a515df94af26b438ffbf4d914259f16a03cc7c15 SOURCES/nodemon-v2.0.3-bundled.tar.gz diff --git a/SPECS/nodejs-nodemon.spec b/SPECS/nodejs-nodemon.spec deleted file mode 100644 index 9db4d6d..0000000 --- a/SPECS/nodejs-nodemon.spec +++ /dev/null @@ -1,104 +0,0 @@ -%{?nodejs_find_provides_and_requires} -%global npm_name nodemon - -# Disable until dependencies are met -%global enable_tests 0 - -Name: nodejs-%{npm_name} -Version: 2.0.3 -Release: 1%{?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 - -%if 0%{?enable_tests} -BuildRequires: npm(async) -BuildRequires: npm(coffee-script) -BuildRequires: npm(husky) -BuildRequires: npm(istanbul) -BuildRequires: npm(jscs) -BuildRequires: npm(mocha) -BuildRequires: npm(proxyquire) -BuildRequires: npm(semantic-release) -BuildRequires: npm(should) -%endif - -%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 -* Wed May 06 2020 Zuzana Svetlikova - 2.0.3-1 -- Resolves: RHBZ#1920692, RHBZ#1804236, RHBZ#1803247 -- Rebase 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 diff --git a/nodejs-nodemon.spec b/nodejs-nodemon.spec new file mode 100644 index 0000000..c6b462b --- /dev/null +++ b/nodejs-nodemon.spec @@ -0,0 +1,158 @@ +## START: Set by rpmautospec +## (rpmautospec version 0.6.5) +## RPMAUTOSPEC: autorelease, autochangelog +%define autorelease(e:s:pb:n) %{?-p:0.}%{lua: + release_number = 5; + base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); + print(release_number + base_release_number - 1); +}%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} +## END: Set by rpmautospec + +%{?nodejs_find_provides_and_requires} +%global npm_name nodemon + +# Disable until dependencies are bundled +%global enable_tests 0 + +Name: nodejs-%{npm_name} +Version: 3.0.3 +Release: %autorelease +Summary: Simple monitor script for use during development of a node.js app +License: ISC AND MIT +URL: https://github.com/remy/nodemon +Source0: %{npm_name}-v%{version}-bundled.tar.gz + +BuildRequires: nodejs-devel +BuildRequires: nodejs-packaging +BuildRequires: npm + +# Let the nodemon work with any nodejs version available +%global __requires_exclude ^\/usr\/bin\/node +Requires: nodejs(engine) +Suggests: nodejs + +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 +## START: Generated by rpmautospec +* Tue Oct 29 2024 Troy Dawson - 3.0.3-5 +- Bump release for October 2024 mass rebuild: + +* Thu Aug 01 2024 Jakub Heger - 3.0.3-4 +- Setup gating for c10s + +* Mon Jun 24 2024 Troy Dawson - 3.0.3-3 +- Bump release for June 2024 mass rebuild + +* Fri Feb 09 2024 Honza Horak - 3.0.3-2 +- SPDX conversion + +* Fri Feb 09 2024 Honza Horak - 3.0.3-1 +- update to version 3.0.3 + +* Thu Jan 25 2024 Fedora Release Engineering - 3.0.1-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Sun Jan 21 2024 Fedora Release Engineering - 3.0.1-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild + +* Wed Oct 11 2023 Jan Staněk - 3.0.1-1 +- update to version 3.0.1 + +* Wed Aug 09 2023 Honza Horak - 2.0.3-9 +- Let nodemon work with any Node.js version + Resolves: #2230317 + +* Thu Jul 20 2023 Fedora Release Engineering - 2.0.3-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild + +* Thu Jan 19 2023 Fedora Release Engineering - 2.0.3-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild + +* Fri Jul 22 2022 Fedora Release Engineering - 2.0.3-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild + +* Thu Jan 20 2022 Fedora Release Engineering - 2.0.3-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild + +* Thu Jul 22 2021 Fedora Release Engineering - 2.0.3-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild + +* 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 + +## END: Generated by rpmautospec diff --git a/sources b/sources new file mode 100644 index 0000000..64ccb48 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (nodemon-v3.0.3-bundled.tar.gz) = 43d0c3ba075b34e9276688f923f2ae45e4142c1f2afc353cbb8e89f5e7824467b6838dded705303e9996c79b77854cf7662c279bad6117da0841b15d864b4f43