From 5a990a9b3da6c9a5841142b1dede91cf26ffd22d Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Jun 09 2014 08:31:07 +0000 Subject: import nodejs010-nodejs-ansistyles-0.1.3-1.el7 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d7ef9f9 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/ansistyles-0.1.3.tgz diff --git a/.nodejs010-nodejs-ansistyles.metadata b/.nodejs010-nodejs-ansistyles.metadata new file mode 100644 index 0000000..bee51ad --- /dev/null +++ b/.nodejs010-nodejs-ansistyles.metadata @@ -0,0 +1 @@ +5de60415bda071bb37127854c864f41b23254539 SOURCES/ansistyles-0.1.3.tgz diff --git a/README.md b/README.md deleted file mode 100644 index ce46a88..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -\ -The master branch has no content - -Look at the c7 branch if you are working with CentOS-7, or the c4/c5/c6 branch for CentOS-4, 5 or 6 -If you find this file in a distro specific branch, it means that no content has been checked in yet diff --git a/SPECS/nodejs-ansistyles.spec b/SPECS/nodejs-ansistyles.spec new file mode 100644 index 0000000..d31377b --- /dev/null +++ b/SPECS/nodejs-ansistyles.spec @@ -0,0 +1,51 @@ +%{?scl:%scl_package nodejs-ansistyles} +%{!?scl:%global pkg_name %{name}} + +# spec file for package nodejs-nodejs-ansistyles_0.1.3 + +%global npmname ansistyles +%{?nodejs_find_provides_and_requires} + +Name: %{?scl_prefix}nodejs-ansistyles +Version: 0.1.3 +Release: 1%{?dist} +Summary: Functions that surround a string with ansistyle codes so it prints in style. +Url: https://github.com/thlorenz/ansistyles +Source0: http://registry.npmjs.org/ansistyles/-/ansistyles-0.1.3.tgz +License: MIT + +BuildRoot: %{_tmppath}/%{pkg_name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: %{?scl_prefix}nodejs-devel + +%description +Functions that surround a string with ansistyle codes so it prints in style. + +%prep +%setup -q -n package + +%build +#nothing to do + +%install +rm -rf %buildroot + +mkdir -p %{buildroot}%{nodejs_sitelib}/ansistyles +cp -pr package.json ansistyles.js %{buildroot}%{nodejs_sitelib}/ansistyles +%nodejs_symlink_deps +%check +%{?scl:scl enable %{scl} "} +node test/ansistyles.js +%{?scl:"} +%clean +rm -rf %buildroot + +%files +%defattr(-,root,root,-) +%{nodejs_sitelib}/ansistyles + +%doc LICENSE README.md + +%changelog +* Thu Jan 30 2014 Tomas Hrcka - 0.1.3-1 +- Initial build