From a96133cffcf4b4bd3c81fb010f79e9deb45a093e Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Aug 18 2013 19:57:07 +0000 Subject: Initial import of nodejs-uid2 --- diff --git a/.gitignore b/.gitignore index e69de29..ebd5016 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/uid2-0.0.3.tgz diff --git a/nodejs-uid2.spec b/nodejs-uid2.spec new file mode 100644 index 0000000..cc4022d --- /dev/null +++ b/nodejs-uid2.spec @@ -0,0 +1,39 @@ +Name: nodejs-uid2 +Version: 0.0.3 +Release: 1%{?dist} +Summary: Node.js module to generate strong unique IDs + +License: MIT +URL: https://github.com/Coreh/uid2 +Source0: http://registry.npmjs.org/uid2/-/uid2-%{version}.tgz +BuildArch: noarch +ExclusiveArch: %{nodejs_arches} noarch + +BuildRequires: nodejs-packaging + +%description +%{summary}. + + +%prep +%setup -q -n package +rm -rf node_modules + + +%build + + +%install +mkdir -p %{buildroot}/%{nodejs_sitelib}/uid2 +cp -r package.json index.js %{buildroot}/%{nodejs_sitelib}/uid2 +%nodejs_symlink_deps + + +%files +%doc LICENSE +%{nodejs_sitelib}/uid2 + + +%changelog +* Sat Aug 17 2013 Tom Hughes - 0.0.3-1 +- Initial build of 0.0.3 diff --git a/sources b/sources index e69de29..7ab2c4e 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +15e11bd138ceda74b889be16765c8d31 uid2-0.0.3.tgz