[packages/nodejs-uuid] - new
kiesiu
kiesiu at pld-linux.org
Thu Mar 13 09:44:58 CET 2014
commit 4dc11c7da0549f4a7e707ba2baf158196bad7aea
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date: Thu Mar 13 09:44:22 2014 +0100
- new
nodejs-uuid.spec | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
---
diff --git a/nodejs-uuid.spec b/nodejs-uuid.spec
new file mode 100644
index 0000000..d2d8ac1
--- /dev/null
+++ b/nodejs-uuid.spec
@@ -0,0 +1,35 @@
+%define pkg uuid
+Summary: Rigorous implementation of RFC4122 (v1 and v4) UUIDs
+Name: nodejs-%{pkg}
+Version: 1.4.1
+Release: 1
+License: MIT
+Group: Development/Libraries
+Source0: http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5: 5f090614e87ffc4a728089a94eff74df
+URL: https://github.com/shtylman/node-uuid
+BuildRequires: rpmbuild(macros) >= 1.634
+Requires: nodejs
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Rigorous implementation of RFC4122 (v1 and v4) UUIDs.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr rng.js %{pkg}.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{nodejs_libdir}/%{pkg}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs-uuid.git/commitdiff/4dc11c7da0549f4a7e707ba2baf158196bad7aea
More information about the pld-cvs-commit
mailing list