Name: nodejs-cryptiles Version: 0.2.0 Release: 1%{?dist} Summary: General purpose cryptography utilities for Node.js License: BSD Group: Development/Libraries URL: https://github.com/hueniverse/cryptiles Source0: http://registry.npmjs.org/cryptiles/-/cryptiles-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildArch: noarch BuildRequires: nodejs-devel %description %{summary}. %prep %setup -q -n package #fix perms chmod 0644 README.md LICENSE lib/* index.js package.json %build #nothing to do %install rm -rf %{buildroot} mkdir -p %{buildroot}%{nodejs_sitelib}/cryptiles cp -pr lib index.js package.json %{buildroot}%{nodejs_sitelib}/cryptiles %nodejs_symlink_deps #Yet Another Unpackaged Test Framework (lab) #%%check #make test %clean rm -rf %{buildroot} %files %defattr(-,root,root,-) %{nodejs_sitelib}/cryptiles %doc README.md LICENSE %changelog * Mon Apr 08 2013 T.C. Hollingsworth - 0.2.0-1 - initial package