[packages/nodejs-util-extend] new, version 1.0.1
glen
glen at pld-linux.org
Fri Jan 8 16:28:30 CET 2016
commit d421781febfd03b73c90ef9861612598527a47e7
Author: Elan Ruusamäe <glen at delfi.ee>
Date: Fri Jan 8 17:28:12 2016 +0200
new, version 1.0.1
based on template spec
nodejs-util-extend.spec | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
---
diff --git a/nodejs-util-extend.spec b/nodejs-util-extend.spec
new file mode 100644
index 0000000..68d9a59
--- /dev/null
+++ b/nodejs-util-extend.spec
@@ -0,0 +1,34 @@
+%define pkg util-extend
+Summary: Node's internal object extension function
+Name: nodejs-%{pkg}
+Version: 1.0.1
+Release: 1
+License: MIT
+Group: Development/Libraries
+Source0: http://registry.npmjs.org/util-extend/-/%{pkg}-%{version}.tgz
+# Source0-md5: e14ca0f0df2bc5a1c7f06d1fb874e7a6
+URL: https://github.com/isaacs/util-extend
+BuildRequires: rpmbuild(macros) >= 1.634
+Requires: nodejs
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The Node object extending function that Node uses for Node!
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -p extend.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-util-extend.git/commitdiff/d421781febfd03b73c90ef9861612598527a47e7
More information about the pld-cvs-commit
mailing list