Name: nodejs-read-package-json Version: 0.1.12 Release: 2%{?dist} Summary: npm's package.json parser BuildArch: noarch Group: System Environment/Libraries License: BSD URL: https://github.com/isaacs/read-package-json Source0: http://registry.npmjs.org/read-package-json/-/read-package-json-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nodejs-devel %description The thing npm uses to read package.json files, with semantics, defaults and validation. %prep %setup -q -n package %nodejs_fixdep lru-cache %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/read-package-json cp -pr package.json read-json.js %{buildroot}%{nodejs_sitelib}/read-package-json %nodejs_symlink_deps %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/read-package-json %doc LICENSE README.md %changelog * Tue Jan 08 2013 T.C. Hollingsworth - 0.1.12-2 - add missing build section * Mon Dec 31 2012 T.C. Hollingsworth - 0.1.12-1 - initial package generated by npm2rpm