# This macro is needed at the start for building on EL6 %{?nodejs_find_provides_and_requires} %global srcname grunt-util-process Name: nodejs-%{srcname} Version: 0.0.1 Release: 1%{?dist} Summary: Grunt util for processing values in an object # License merged but no new release yet # https://github.com/mikaelkaron/grunt-util-process/pull/1 License: MIT URL: https://github.com/mikaelkaron/grunt-util-process Source0: https://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz Source1: %{name}-LICENSE-MIT BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %description %{summary}. %prep %setup -q -n package rm -rf node_modules/ cp -p %{SOURCE1} LICENSE-MIT %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr package.json main.js %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %files %doc README.md %license LICENSE-MIT %{nodejs_sitelib}/%{srcname} %changelog * Fri Feb 20 2015 Piotr Popieluch - 0.0.1-1 - Initial package