Name: nodejs-hoek Version: 0.8.1 Release: 1%{?dist} Summary: General purpose Node.js utilities License: BSD Group: Development/Libraries URL: https://github.com/spumko/hoek Source0: http://registry.npmjs.org/hoek/-/hoek-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: nodejs-devel %description This package contains some general purpose Node.js utilities, including utilities for working with objects, timers, binary encoding/decoding, escaping characters, errors, and loading files. %prep %setup -q -n package #fix perms chmod 0644 README.md LICENSE images/* lib/* index.js package.json %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/hoek cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/hoek %nodejs_symlink_deps #Yet Another Unpackaged Test Framework (lab) #%%check #make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{nodejs_sitelib}/hoek %doc README.md LICENSE images %changelog * Fri Apr 05 2013 T.C. Hollingsworth - 0.8.1-1 - initial package