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