Name: nodejs-once Version: 1.1.1 Release: 2%{?dist} Summary: Run a function exactly one time BuildArch: noarch Group: System Environment/Libraries License: BSD URL: https://github.com/isaacs/once Source0: http://registry.npmjs.org/once/-/once-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nodejs-devel %description Run a function exactly one time. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/once cp -pr package.json once.js %{buildroot}%{nodejs_sitelib}/once %nodejs_symlink_deps %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/once %doc LICENSE README.md %changelog * Tue Jan 08 2013 T.C. Hollingsworth - 1.1.1-2 - add missing build section - sentences end with a period * Mon Dec 31 2012 T.C. Hollingsworth - 1.1.1-1 - initial package generated by npm2rpm