[nodejs-through] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Thu May 30 14:16:05 UTC 2013


commit 02433986d7f3953f48c496c6f03172a0d0918581
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Thu May 30 15:15:48 2013 +0100

    Initial import

 .gitignore          |    1 +
 nodejs-through.spec |   58 +++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 60 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..0c56192 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/through-2.3.4.tgz
diff --git a/nodejs-through.spec b/nodejs-through.spec
new file mode 100644
index 0000000..bc525f7
--- /dev/null
+++ b/nodejs-through.spec
@@ -0,0 +1,58 @@
+%{?nodejs_find_provides_and_requires}
+
+%global enable_tests 0
+
+Name:       nodejs-through
+Version:    2.3.4
+Release:    1%{?dist}
+Summary:    Simplified stream construction for Node.js
+License:    MIT or ASL 2.0
+Group:      System Environment/Libraries
+URL:        https://github.com/dominictarr/through
+Source0:    http://registry.npmjs.org/through/-/through-%{version}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(stream-spec)
+BuildRequires:  npm(tape)
+%endif
+
+%description
+%{summary}.
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/through
+cp -pr package.json index.js \
+    %{buildroot}%{nodejs_sitelib}/through
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+ln -sf %{nodejs_sitelib} .
+for t in test/*.js; do
+    %__nodejs "${t}"
+done
+%endif
+
+
+%files
+%doc LICENSE.APACHE2 LICENSE.MIT readme.markdown
+%{nodejs_sitelib}/through
+
+
+%changelog
+* Mon May 27 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 2.3.4-1
+- initial package
diff --git a/sources b/sources
index e69de29..a510308 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9d4428a6d7fc63b3b127c5462aaeee22  through-2.3.4.tgz


More information about the scm-commits mailing list