From 9d6954d2ff6458909e7533942fabfc3adf179761 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Nov 13 2018 08:02:34 +0000 Subject: import rh-nodejs10-nodejs-nodemon-1.18.3-3.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5115ded --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/nodemon-v1.18.3-bundled.tar.gz diff --git a/.rh-nodejs10-nodejs-nodemon.metadata b/.rh-nodejs10-nodejs-nodemon.metadata new file mode 100644 index 0000000..1e74983 --- /dev/null +++ b/.rh-nodejs10-nodejs-nodemon.metadata @@ -0,0 +1 @@ +3897fd1683babbd7df880d7e14e2d81c9239985f SOURCES/nodemon-v1.18.3-bundled.tar.gz diff --git a/README.md b/README.md deleted file mode 100644 index 98f42b4..0000000 --- a/README.md +++ /dev/null @@ -1,4 +0,0 @@ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-nodemon.spec b/SPECS/nodejs-nodemon.spec new file mode 100644 index 0000000..c3072d8 --- /dev/null +++ b/SPECS/nodejs-nodemon.spec @@ -0,0 +1,111 @@ +%{?scl:%scl_package nodejs-%{npm_name}} +%{!?scl:%global pkg_name %{name}} + +%{?nodejs_find_provides_and_requires} +%global npm_name nodemon + +# Disable until dependencies are met +%global enable_tests 0 + +Name: %{?scl_prefix}nodejs-%{npm_name} +Version: 1.18.3 +Release: 3%{?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: %{?scl_prefix}nodejs-devel +BuildRequires: %{?scl_prefix}npm + +ExclusiveArch: %{nodejs_arches} noarch +BuildArch: noarch + +%if 0%{?enable_tests} +BuildRequires: %{?scl_prefix}npm(async) +BuildRequires: %{?scl_prefix}npm(coffee-script) +BuildRequires: %{?scl_prefix}npm(husky) +BuildRequires: %{?scl_prefix}npm(istanbul) +BuildRequires: %{?scl_prefix}npm(jscs) +BuildRequires: %{?scl_prefix}npm(mocha) +BuildRequires: %{?scl_prefix}npm(proxyquire) +BuildRequires: %{?scl_prefix}npm(semantic-release) +BuildRequires: %{?scl_prefix}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 +* Thu Sep 20 2018 Zuzana Svetlikova - 1.18.3-3 +- Resolves: RHBZ#1584252 +- remove bundled provides from spec + +* Fri Sep 14 2018 Honza Horak - 1.18.3-2 +- SCL-izing the spec file + +* 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