[packages/nodejs-ansicolors] - initial

kiesiu kiesiu at pld-linux.org
Mon Mar 10 20:48:26 CET 2014


commit 4a90135ae9f89a29ce91b735a050a3601443febc
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Mon Mar 10 20:47:32 2014 +0100

    - initial

 nodejs-ansicolors.spec | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
---
diff --git a/nodejs-ansicolors.spec b/nodejs-ansicolors.spec
new file mode 100644
index 0000000..3f9f5cf
--- /dev/null
+++ b/nodejs-ansicolors.spec
@@ -0,0 +1,36 @@
+%define		pkg	ansicolors
+Summary:	Functions that surround a string with ansicolor codes so it prints in color
+Name:		nodejs-%{pkg}
+Version:	0.3.2
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+URL:		https://github.com/thlorenz/ansicolors
+Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5:	9a8ff703d6072578025a1a324c9005d1
+BuildRequires:	rpmbuild(macros) >= 1.634
+Requires:	nodejs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Functions that surround a string with ansicolor codes so it prints in
+color.
+
+%prep
+%setup -qc
+mv package/* .
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT%{nodejs_libdir}/%{pkg}
+cp -pr %{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-ansicolors.git/commitdiff/4a90135ae9f89a29ce91b735a050a3601443febc



More information about the pld-cvs-commit mailing list