[packages/nodejs-editor] - new

kiesiu kiesiu at pld-linux.org
Tue Mar 11 21:38:23 CET 2014


commit 9728d64cc2c7f8bb9035db85f7e5b602ed25e121
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Tue Mar 11 21:37:53 2014 +0100

    - new

 nodejs-editor.spec | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)
---
diff --git a/nodejs-editor.spec b/nodejs-editor.spec
new file mode 100644
index 0000000..f6e35bf
--- /dev/null
+++ b/nodejs-editor.spec
@@ -0,0 +1,35 @@
+%define		pkg	editor
+Summary:	Launch $EDITOR in your program
+Name:		nodejs-%{pkg}
+Version:	0.0.5
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+URL:		https://github.com/substack/node-editor
+Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5:	69cde0a48685690052af4e2578ccf255
+BuildRequires:	rpmbuild(macros) >= 1.634
+Requires:	nodejs >= 0.6
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Launch $EDITOR in your program.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr index.js package.json $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.markdown
+%{nodejs_libdir}/%{pkg}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/nodejs-editor.git/commitdiff/9728d64cc2c7f8bb9035db85f7e5b602ed25e121



More information about the pld-cvs-commit mailing list