%global srcname astral Name: nodejs-%{srcname} Version: 0.1.0 Release: 2%{?dist} Summary: AST tooling framework for JavaScript License: MIT # License file requested: https://github.com/btford/astral/issues/6 URL: https://github.com/btford/astral Source0: http://registry.npmjs.org/%{srcname}/-/%{srcname}-%{version}.tgz BuildArch: noarch ExclusiveArch: %{nodejs_arches} noarch BuildRequires: nodejs-packaging %description AST tooling framework for JavaScript focused on modularity and performance. The goal is to make it easy to create, share, and combine tools that operate on ASTs. The architecture inspired by llvm. %prep %setup -q -n package rm -rf node_modules/ %build #nothing to do %install mkdir -p %{buildroot}%{nodejs_sitelib}/%{srcname} cp -pr package.json index.js %{buildroot}%{nodejs_sitelib}/%{srcname} %nodejs_symlink_deps %files %doc README.md %{nodejs_sitelib}/%{srcname} %changelog * Sat Dec 6 2014 Piotr Popieluch - 0.1.0-2 - License file requested - Added rm -rf node_modules/ - Removed Group tag * Fri Nov 21 2014 Piotr Popieluch - 0.1.0-1 - Initial package