[packages/nodejs-osenv] Initial commit

aredridel aredridel at pld-linux.org
Sun Dec 2 20:52:27 CET 2012


commit 05c19f4bf5902a42296c00aacae4b5d843e1e8c5
Author: Aria Stewart <aredridel at nbtsc.org>
Date:   Sun Dec 2 12:52:14 2012 -0700

    Initial commit

 nodejs-osenv.spec | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
---
diff --git a/nodejs-osenv.spec b/nodejs-osenv.spec
new file mode 100644
index 0000000..8b7b804
--- /dev/null
+++ b/nodejs-osenv.spec
@@ -0,0 +1,35 @@
+%define		pkg	osenv
+Summary:	Recursively mkdir, like "mkdir -p"
+Name:		nodejs-%{pkg}
+Version:	0.0.3
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+URL:		https://github.com/isaacs/osenv
+Source0:	http://registry.npmjs.org/osenv/-/%{pkg}-%{version}.tgz
+# Source0-md5:	f42ac372960369633871ab3550cb43fb
+BuildRequires:	rpmbuild(macros) >= 1.634
+Requires:	nodejs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Recursively mkdir, like "mkdir -p".
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr *.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-osenv.git/commitdiff/05c19f4bf5902a42296c00aacae4b5d843e1e8c5



More information about the pld-cvs-commit mailing list