Name: nodejs-config-chain Version: 1.1.3 Release: 3%{?dist} Summary: Handle configuration once and for all BuildArch: noarch Group: System Environment/Libraries License: MIT URL: https://github.com/dominictarr/config-chain Source0: http://registry.npmjs.org/config-chain/-/config-chain-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nodejs-devel %description Use this module to load all your configurations. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/config-chain cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/config-chain #fix permissions on non-executable main javascript code file chmod 0644 %{buildroot}%{nodejs_sitelib}/config-chain/index.js %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/config-chain %doc LICENCE readme.markdown %changelog * Thu Jan 17 2013 T.C. Hollingsworth - 1.1.3-3 - fix permissions * Tue Jan 08 2013 T.C. Hollingsworth - 1.1.3-2 - add missing build section * Mon Dec 31 2012 T.C. Hollingsworth - 1.1.3-1 - initial package generated by npm2rpm