[packages/nodejs-ansistyles] - initial

kiesiu kiesiu at pld-linux.org
Mon Mar 10 20:51:56 CET 2014


commit 44616817bfb988500a89be818e44c3967c81852f
Author: Łukasz Kieś <kiesiu at pld-linux.org>
Date:   Mon Mar 10 20:51:33 2014 +0100

    - initial

 nodejs-ansistyles.spec | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
---
diff --git a/nodejs-ansistyles.spec b/nodejs-ansistyles.spec
new file mode 100644
index 0000000..642ea2d
--- /dev/null
+++ b/nodejs-ansistyles.spec
@@ -0,0 +1,36 @@
+%define		pkg	ansistyles
+Summary:	Functions that surround a string with ansistyle codes so it prints in style
+Name:		nodejs-%{pkg}
+Version:	0.1.3
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+URL:		https://github.com/thlorenz/ansistyles
+Source0:	http://registry.npmjs.org/%{pkg}/-/%{pkg}-%{version}.tgz
+# Source0-md5:	f0d628c13689293af7bfd7184c8f5de5
+BuildRequires:	rpmbuild(macros) >= 1.634
+Requires:	nodejs
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Functions that surround a string with ansistyle codes so it prints in
+style.
+
+%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-ansistyles.git/commitdiff/44616817bfb988500a89be818e44c3967c81852f



More information about the pld-cvs-commit mailing list