[nodejs-jwt-simple] Initial import

Jamie Nguyen jamielinux at fedoraproject.org
Fri Mar 15 13:13:51 UTC 2013


commit 8c559907deaa2bd30b3fbdb5dddc68ac49fe49bc
Author: Jamie Nguyen <j at jamielinux.com>
Date:   Fri Mar 15 13:13:42 2013 +0000

    Initial import

 .gitignore             |    1 +
 nodejs-jwt-simple.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..358ec2d 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/jwt-simple-0.1.0.tgz
diff --git a/nodejs-jwt-simple.spec b/nodejs-jwt-simple.spec
new file mode 100644
index 0000000..66c0039
--- /dev/null
+++ b/nodejs-jwt-simple.spec
@@ -0,0 +1,57 @@
+%global enable_tests 0
+
+Name:       nodejs-jwt-simple
+Version:    0.1.0
+Release:    2%{?dist}
+Summary:    JWT(JSON Web Token) encode and decode module for Node.js
+License:    MIT
+Group:      System Environment/Libraries
+URL:        https://github.com/hokaccha/node-jwt-simple
+Source0:    http://registry.npmjs.org/jwt-simple/-/jwt-simple-%{version}.tgz
+BuildArch:  noarch
+
+BuildRequires:  nodejs-devel
+
+%if 0%{?enable_tests}
+BuildRequires:  npm(expect.js)
+BuildRequires:  npm(mocha)
+%endif
+
+%description
+%summary
+
+
+%prep
+%setup -q -n package
+
+
+%build
+#nothing to do
+
+
+%install
+mkdir -p %{buildroot}%{nodejs_sitelib}/jwt-simple
+cp -pr package.json index.js lib/ \
+    %{buildroot}%{nodejs_sitelib}/jwt-simple
+
+%nodejs_symlink_deps
+
+
+%if 0%{?enable_tests}
+%check
+cp -pr %{nodejs_sitelib} .
+%{nodejs_sitelib}/mocha/bin/mocha test/basic.js
+%endif
+
+
+%files
+%doc LICENSE README.md
+%{nodejs_sitelib}/jwt-simple
+
+
+%changelog
+* Sun Mar 10 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.0-2
+- remove zero-byte History.md
+
+* Mon Feb 11 2013 Jamie Nguyen <jamielinux at fedoraproject.org> - 0.1.0-1
+- initial package
diff --git a/sources b/sources
index e69de29..863f1e9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+11022104af01e1ec76ab68ccfeb40ff7  jwt-simple-0.1.0.tgz


More information about the scm-commits mailing list