[packages/nodejs-promzard] Initial commit
aredridel
aredridel at pld-linux.org
Mon Dec 3 06:00:47 CET 2012
commit 7e6a2a549908de922b17e16a82b1c104f201640b
Author: Aria Stewart <aredridel at nbtsc.org>
Date: Sun Dec 2 22:00:35 2012 -0700
Initial commit
nodejs-promzard.spec | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
---
diff --git a/nodejs-promzard.spec b/nodejs-promzard.spec
new file mode 100644
index 0000000..161341f
--- /dev/null
+++ b/nodejs-promzard.spec
@@ -0,0 +1,39 @@
+%define pkg promzard
+Summary: prompting wizardly
+Name: nodejs-%{pkg}
+Version: 0.2.0
+Release: 1
+License: BSD
+Group: Development/Libraries
+URL: https://github.com/isaacs/promzard
+Source0: http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5: 313e53a75fc058a2735dd3d5fc28b15f
+BuildRequires: rpmbuild(macros) >= 1.634
+Requires: nodejs
+Requires: nodejs-read >= 1.0.0, nodejs-read < 2.0.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+prompting wizardly.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{nodejs_libdir}/%{pkg}}
+cp -a package.json promzard.js $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -a example $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{nodejs_libdir}/%{pkg}
+%{_examplesdir}/%{name}-%{version}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/nodejs-promzard.git/commitdiff/7e6a2a549908de922b17e16a82b1c104f201640b
More information about the pld-cvs-commit
mailing list