Name: nodejs-amdefine Version: 0.0.4 Release: 1%{?dist} Summary: Provide AMD's define() API for declaring modules in the AMD format BuildArch: noarch Group: System Environment/Libraries # "amdefine is released under two licenses: new BSD, and MIT. You may pick the # license that best suits your development needs." License: BSD or MIT URL: https://github.com/jrburke/amdefine Source0: http://registry.npmjs.org/amdefine/-/amdefine-%{version}.tgz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: nodejs-devel %description A module that can be used to implement the Asynchronous Module Definition's define() in Node. This allows you to code to the AMD API and have the module work in node programs without requiring those other programs to use AMD. %prep %setup -q -n package %build #nothing to do %install rm -rf %buildroot mkdir -p %{buildroot}%{nodejs_sitelib}/amdefine cp -pr package.json amdefine.js %{buildroot}%{nodejs_sitelib}/amdefine %clean rm -rf %buildroot %files %defattr(-,root,root,-) %{nodejs_sitelib}/amdefine %doc LICENSE README.md %changelog * Fri Jan 18 2013 T.C. Hollingsworth - 0.0.4-1 - initial package generated by npm2rpm