[nodejs-connect-livereload] Initial import (#1115664)
Ralph Bean
ralph at fedoraproject.org
Tue Jul 22 18:58:04 UTC 2014
commit c04896c0bd7b0b1ef5cd55929130cbc0501dc91d
Author: Ralph Bean <rbean at redhat.com>
Date: Tue Jul 22 14:57:54 2014 -0400
Initial import (#1115664)
.gitignore | 1 +
nodejs-connect-livereload.spec | 58 ++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..03165a5 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/connect-livereload-0.4.0.tgz
diff --git a/nodejs-connect-livereload.spec b/nodejs-connect-livereload.spec
new file mode 100644
index 0000000..9bd0010
--- /dev/null
+++ b/nodejs-connect-livereload.spec
@@ -0,0 +1,58 @@
+# This macro is needed at the start for building on EL6
+%{?nodejs_find_provides_and_requires}
+
+%global barename connect-livereload
+
+Name: nodejs-connect-livereload
+Version: 0.4.0
+Release: 2%{?dist}
+Summary: Connect middleware for adding the livereload script to the response
+
+Group: Development/Libraries
+License: MIT
+URL: https://www.npmjs.org/package/connect-livereload
+Source0: http://registry.npmjs.org/%{barename}/-/%{barename}-%{version}.tgz
+BuildArch: noarch
+
+%if 0%{?fedora} >= 19
+ExclusiveArch: %{nodejs_arches} noarch
+%else
+ExclusiveArch: %{ix86} x86_64 %{arm} noarch
+%endif
+
+
+BuildRequires: nodejs-packaging >= 6
+
+%description
+Connect middleware for adding the livereload script to the response. No
+browser plugin is needed. If you are happy with a browser plugin, then you
+don't need this middleware.
+
+%prep
+%setup -q -n package
+
+# Remove bundled node_modules if there are any..
+rm -rf node_modules/
+
+%nodejs_fixdep --caret
+
+%build
+%nodejs_symlink_deps --build
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/connect-livereload
+cp -pr package.json index.js \
+ %{buildroot}%{nodejs_sitelib}/connect-livereload
+
+%nodejs_symlink_deps
+
+%files
+%doc README.md LICENSE
+%{nodejs_sitelib}/connect-livereload/
+
+%changelog
+* Mon Jul 21 2014 Ralph Bean <rbean at redhat.com> - 0.4.0-2
+- Specify noarch.
+
+* Tue Jul 08 2014 Ralph Bean <rbean at redhat.com> - 0.4.0-1
+- Initial packaging for Fedora.
diff --git a/sources b/sources
index e69de29..e24e749 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+bca1fba698e51ade73dabe46b404f3f1 connect-livereload-0.4.0.tgz
More information about the scm-commits
mailing list