File nodejs-colors.spec of Package nodejs-colors
#
# spec file for package nodejs-colors
#
#SuSe specific Part
%if %{?sles_version:1}0
%endif
#RedHat specific Part
%if %{?rhel_version:1}0
%endif
#Fedora specific Part
%if %{?fedora_version:1}0
%endif
#all Distros
Name: nodejs-colors
Version: 0.6.2
Release: 0
License: MIT
Summary: bindings module for Nodejs
Url: https://github.com/TooTallNate/node-bindings
Group: nodejs/modules
Source: http://registry.npmjs.org/colors/-/colors-0.6.2.tgz
BuildRequires: nodejs-devel
Requires: nodejs
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
%prep
%build
%install
mkdir -p %{buildroot}/usr/lib
cd %{buildroot}/usr/lib
/usr/bin/npm install %{_sourcedir}/colors-0.6.2.tgz --save
%post
%postun
%files
%defattr(-,root,root)
/usr/lib/node_modules/colors
%changelog